SRU fix for LP#1807628
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxcfs (Ubuntu) |
Fix Released
|
Undecided
|
Kellen Renshaw | ||
Bionic |
Invalid
|
Undecided
|
Kellen Renshaw |
Bug Description
[Impact]
* lxcfs on Bionic will segfault if there are no non-directory files in a cgroup. This necessitates restarting running containers.
* See LP#1807628 (https:/
[Test Plan]
* Install lxcfs on an Ubuntu Bionic machine. "sudo apt install lxcfs"
* Open 3 terminals to the machine, each with a root prompt.
* Prepare a mount directory in terminal 1:
mkdir /mnt/lxcfs
* In terminal 1, execute:
while true ; do mkdir /sys/fs/
* In terminal 2, execute:
lxcfs -p /tmp/lxcfs.pid /mnt/lxcfs
* In terminal 3, execute:
while true; do ls /mnt/lxcfs/
* Segfault should not occur with patched version.
[Where problems could occur]
* Correcting the null pointer dereference could allow previously undetected bugs masked by the segfault to be encountered.
[Other Info]
* Proposed fix is upstream since version 3.0.4 with no negative impacts.
* Proposed fix is a minimal cherry-pick of the fix, without other functional changes.
summary: |
- Backport fix for LP#1807628 + SRU fix for LP#1807628 |
Changed in lxcfs (Ubuntu): | |
assignee: | nobody → Kellen Renshaw (krenshaw) |
tags: | added: sts |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Debdiff attached