CVE-2026-39402

NameCVE-2026-39402
Descriptionlxc is a Linux container runtime. In the setuid helper lxc-user-nic, the delete path contains a logic flaw in the find_line() function that allows an unprivileged user to delete OVS-attached network interfaces belonging to other users. When lxc-user-nic delete scans its NIC database to authorize a deletion request, the interface name comparison can set the authorization flag based on a name match alone, even when the ownership, type, and link fields in that database entry belong to a different user. The vulnerable check sits after the goto next label handling, meaning it is reachable on lines where earlier ownership checks failed or were skipped. Because nothing downstream of this authorization signal re-verifies that the matched database line actually belongs to the caller, an unprivileged attacker with a valid lxc-usernet policy entry can trigger deletion of another user's OVS port on the same bridge. This is limited to multi-tenant environments using lxc-user-nic with OpenVSwitch bridges. The impact is denial of service - one tenant can repeatedly disconnect networking from containers run by another tenant on shared infrastructure. This is patched in version 7.0.0.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
lxc (PTS)bullseye1:4.0.6-2+deb11u2vulnerable
bookworm1:5.0.2-1+deb12u3vulnerable
trixie1:6.0.4-4+deb13u2vulnerable
forky1:6.0.6-3vulnerable
sid1:7.0.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
lxcsource(unstable)1:7.0.0-1

Notes

[trixie] - lxc <no-dsa> (Minor issue)
[bookworm] - lxc <no-dsa> (Minor issue)
[bullseye] - lxc <postponed> (Minor issue; can be fixed in next update)
https://github.com/lxc/lxc/security/advisories/GHSA-3m9j-g9gc-vcvq
https://github.com/lxc/lxc/pull/4678

Search for package or bug name: Reporting problems