[Bug 1977870] Re: SRU fix for LP#1807628

Sergio Durigan Junior 1977870 at bugs.launchpad.net
Thu Aug 4 00:37:32 UTC 2022


I've uploaded the package, so I'm closing this bug as Invalid.  Let's
continue the discussion on bug #1807628.

** Changed in: lxcfs (Ubuntu Bionic)
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1977870

Title:
  SRU fix for LP#1807628

Status in lxcfs package in Ubuntu:
  Fix Released
Status in lxcfs source package in Bionic:
  Invalid

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://bugs.launchpad.net/ubuntu/+source/lxcfs/+bug/1807628) for details on the impact.

  [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/cgroup/systemd/test ; rmdir /sys/fs/cgroup/systemd/test ; done
   * In terminal 2, execute:
     lxcfs -p /tmp/lxcfs.pid /mnt/lxcfs
   * In terminal 3, execute:
     while true; do ls /mnt/lxcfs/cgroup/name\=systemd/test > /dev/null ;done
   * 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxcfs/+bug/1977870/+subscriptions




More information about the Ubuntu-sponsors mailing list