Debian Patches

Status for lxc/1:7.0.0-3

Patch Description Author Forwarded Bugs Origin Last update
0003-cherry-pick-cap-to-text-memory-cleanup.patch lxc/caps: fix cap_to_text() memory cleanup Li Lu <1487442471@qq.com> yes upstream upstream, https://github.com/lxc/lxc/pull/4685/changes/e4e1fa469228db6d54c4945bbcdbd5abe52bb1ca 2026-05-19
0004-cherry-pick-CVE-2026-100395.patch [PATCH 1/2] lxc-copy: open hostname in a safer way
lxc-copy without -K updates the hostname in the container. It does
this by opening /etc/hostname in the container and writing the new
hostname to it. If /etc/hostname is a symbolic link, we can end up
ovewriting a host path.

lxc-copy is not setuid-root, so unprivileged users can't exploit this
without help. More likely would be unprivileged users shooting
themselves in the foot and accidentally changing the hostname of the
original container.

Fix it by using openat2(RESOLVE_IN_ROOT) to make sure that if
/etc or /etc/hostname is a symlink, it is resolved inside the
container's fs.
Serge Hallyn <serge@hallyn.com> no 2026-07-14
0005-cherry-pick-GHSA-4xwm-pr6h-55r8.patch commands: validate string in lxc_cmd_get_config_item_callback Kartik Kenchi <netliomax25@gmail.com> no 2026-06-09
0001-apparmor-4x-userns.patch update apparmor profile for userns permission and new abidiff --git a/config/apparmor/abstractions/container-base.in b/config/apparmor/abstractions/container-base.in
index 87982fd..eb6b8ee 100644
Mathias Gibbens <gibmat@debian.org> yes
0002-Add-lxc-net-as-dependency-in-sysvinit-script.patch Add lxc-net as dependency in sysvinit script
Otherwise containers don't start during boot, but come up fine later.
Frost <frost@brightfur.net> no 2025-12-07

All known versions for source package 'lxc'

Links