Description
lxc 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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lxc | lxc | < 7.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | lxc | 1:7.0.0-1 | — |
| Debian 13 | lxc | 1:6.0.4-4+deb13u3 | — |
| Debian 12 | lxc | 1:5.0.2-1+deb12u4 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | lxc | No fix yet | — |
| Ubuntu 14.04 LTS | lxc | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | lxc | 1:6.0.6-1ubuntu1+esm1 | USN-8826-1 |
| Ubuntu Pro 24.04 LTS | lxc | 1:5.0.3-2ubuntu7.3+esm1 | USN-8826-1 |
| Ubuntu Pro 22.04 LTS | lxc | 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1 | USN-8826-1 |
| Ubuntu Pro 20.04 LTS | lxc | 1:4.0.12-0ubuntu1~20.04.1+esm1 | USN-8826-1 |
| Ubuntu Pro 18.04 LTS | lxc | 3.0.3-0ubuntu1~18.04.3+esm1 | USN-8826-1 |
| Ubuntu Pro 16.04 LTS | lxc | 2.0.11-0ubuntu1~16.04.3+esm1 | USN-8826-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | incus | 7.4-1.1 | openSUSE-SU-2026:11651-1 |
| openSUSE Tumbleweed | lxc | 7.0.0-1.1 | openSUSE-SU-2026:10678-1 |
Advisories 3
- USN-8826-1 lxc vulnerabilities Ubuntu Security Notices (USN) · Sep 28, 2026
- openSUSE-SU-2026:11651-1 incus-7.4-1.1 on GA media SUSE / openSUSE Security Updates · Sep 1, 2026
- openSUSE-SU-2026:10678-1 liblxc-devel-7.0.0-1.1 on GA media SUSE / openSUSE Security Updates · May 5, 2026