unified cgroup incorrectly used in container on host with legacy/hybrid cgroup
Bug #1950508 reported by
Dan Streetman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Medium
|
Dan Streetman | ||
Impish |
Won't Fix
|
Medium
|
Unassigned | ||
Jammy |
Fix Released
|
Medium
|
Dan Streetman |
Bug Description
[impact]
after systemd was changed to default to cgroupv2, any container started on a host that still uses legacy or hybrid cgroup mounts will result in a container that attempts to use unified cgroup but can't due to all the controllers being used as v1 in the host kernel.
[test case]
TBD
[regression potential]
container, or vm or bare metal, that incorrectly uses cgroupv1, or incorrect use of cgroupv2.
[scope]
needed only for i and later
f and earlier default to cgroupv1
CVE References
Changed in systemd (Ubuntu Jammy): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Impish): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Jammy): | |
importance: | Undecided → Medium |
Changed in systemd (Ubuntu Impish): | |
importance: | Undecided → Medium |
Changed in systemd (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in systemd (Ubuntu Impish): | |
status: | New → In Progress |
Changed in systemd (Ubuntu Impish): | |
assignee: | Dan Streetman (ddstreet) → nobody |
status: | In Progress → New |
To post a comment you must log in.
This bug was fixed in the package systemd - 249.5-2ubuntu1
---------------
systemd (249.5-2ubuntu1) jammy; urgency=medium
* Merge to Ubuntu from Debian unstable units-disable- journald- watchdog. patch running- only-a- subset- of-integration- tests-by- .patch ProBook- to-use- micmute- hotkey. patch *.patch (ActivationPolicy=) hwdb-Add- mic-mute- key-mapping- for-HP- Elite-Dragonfly .patch *.patch (tzdata.zi) network- enable- DHCP-broadcast- flag-if- required- by-in.patch correct- suspend- then-sleep- string. patch 13529.patch 33910.patch request- 20199-from- ddstreet- unit_cgroup_ catchu. patch slot-based- network- names-on- s390.patch missing- initialization- to-fix- freeing- invalid- ad.patch onboard- index-up- to-65535. patch /git.launchpad. net/~ubuntu- core-dev/ ubuntu/ +source/ systemd/ commit/ ?id=f35b4d6c065 3c3125b2e0e5d96 2f84543733c3c0 UseDomains- by-default. patch patches/ debian/ Ubuntu- UseDomains- by-default. patch /git.launchpad. net/~ubuntu- core-dev/ ubuntu/ +source/ systemd/ commit/ ?id=6e3b2ffb1c2 c2bf2223f91b350 c1fd06b8903346 test-test- functions- launch- qemu-with- vga-none. patch patches/ debian/ UBUNTU- test-test- functions- launch- qemu-with- vga-none. patch /git.launchpad. net/~ubuntu- core-dev/ ubuntu/ +source/ systemd/ commit/ ?id=7142fb9381a b98d750a7c24730 87ea7264be860d Revert- cgroup- Continue- unit-reset- if-cgroup- is-busy. patch patches/ debian/ UBUNTU- Revert- cgroup- Continue- unit-reset- if-cgroup- is-busy. patch /git.launchpad. net/~ubuntu- core-dev/ ubuntu/ +source/ systemd/ commit/ ?id=3de0f444bfc 0cf3b601c4a1ad8 939d2cd69cdad6 resolved- default- no-negative- caching. patch patches/ debian/ UBUNTU- resolved- default- no-negative- caching. patch /git.launchpad. net/~ubuntu- core-dev/ ubuntu/ +source/ systemd/ commit/ ?id=d7b25651ea7 ceae2ebfeafb84d 9d65fb8284367a network- if-sys- is-rw-then- udev-should- be-around. patch patches/ Revert- network- if-sys- is-rw-then- udev-should- be-around. patch /git.launchpad. net/~ubuntu- core-dev/ ubuntu/ +source/ systemd/ commit/ ?id=61b004d7710 b305d9996b3ad9b b47dc372fcbbac src-test- testmount- util.c- Skip-parts- of-test- mount-util- in-LXC. patch patches/ debian/ UBUNTU- src-test- testmount- util.c- Skip-parts- of-test- mount-util- in-LXC. patch /git.launchpad. net/~ubuntu- core-dev/ ubuntu/ +source/ systemd/ commit/ ?id=5fe343a0fc8 9771820f997c2d6 621ac517d9070f request- 20705-from- yuwata- test-oomd- util.patch patches/ Merge-pull- request- 20705-from- yuwata- test-oomd- util.patch /git.launchpad. net/~ubuntu- core-dev/ ubuntu/ +source/ systemd/ commit/ ?id=e88125...
- Dropped changes (applied upstream):
+ UBUNTU-
+ test-Allow-
+ hwdb-Add-
+ d/p/lp1931578/
+ lp1932352-
+ d/p/lp1858210/
+ lp1914740-
+ lp1934981-
+ CVE-2020-
+ CVE-2021-
+ Merge-pull-
+ udev-fix-
+ udev-add-
+ udev-allow-
+ lp1940635.patch (networkd failed to acquire a DHCP6 lease, v249.5)
* debian/gbp.conf: Update debian-branch to ubuntu-jammy
File: debian/gbp.conf
https:/
* Refresh Ubuntu-
File: debian/
https:/
* Refresh UBUNTU-
File: debian/
https:/
* Refresh UBUNTU-
File: debian/
https:/
* Refresh UBUNTU-
File: debian/
https:/
* Refresh Revert-
File: debian/
https:/
* Refresh UBUNTU-
File: debian/
https:/
* Refresh Merge-pull-
File: debian/
https:/