Public bug reported:
Ubuntu: Ubuntu 24.04.5 LTS
LXC: 1:5.0.3-2ubuntu7.3
Since runc 1.2.8/1.3.3 (hardening for CVE-2025-52881), every container
start under Docker inside an unprivileged, nesting-enabled LXC container
fails during init with:
open sysctl net.ipv4.ip_unprivileged_port_start file: reopen fd 8:
permission denied
runc now writes sysctls through detached procfs mounts. When AppArmor
evaluates the fd re-open, the kernel renders the path without a mount
prefix, so /proc/sys/net/... is matched as /sys/net/... and hits the
"deny /sys/[^fdck]*{,/**} wklx," rule embedded in liblxc's generated
profile. Explicit deny rules are quiet, so nothing is logged, and the
deny cannot be overridden via lxc.apparmor.raw. This affects e.g. any
Docker (docker-ce with containerd.io >= 2.x) installation inside an LXC
container.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146472
See https://github.com/lxc/lxc/issues/4606
** Affects: lxc (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2178381
Title:
Docker inside nesting-enabled containers broken with runc >= 1.2.8
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/2178381/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs