← VULNERABILITIES

DEBIAN-CVE-2026-99505

UnscoredFix available
CVSS
—
EPSS
—
Published
2026-11-19
Age
15d old
Modified
2026-11-20
Product
Debian:13 linux

Description

In the Linux kernel, the following vulnerability has been resolved: apparmor: fix a use-after-free in aa_lookupn_ns() aa_lookupn_ns() takes a reference on the namespace it finds with aa_get_ns(), which is kref_get() on the reference count that the namespace is released through, without checking whether the namespace is still in use. A concurrent removal of a ":"-prefixed namespace looks the same namespace up and only then takes the parent lock to remove it, so the last reference can be dropped between the lookup and the aa_get_ns() call: the reference count then reports the increment on a zero count and the kernel classifies the following use of the object as a use-after-free. A user with CAP_MAC_ADMIN can trigger this by writing a ":<name>" removal and a ":<name>/<profile>" removal to /sys/kernel/security/apparmor/.remove concurrently. refcount_t: addition on 0; use-after-free. WARNING: lib/refcount.c:25 at refcount_warn_saturate+0xc0/0xe0, CPU#6 Call Trace: <TASK> aa_lookupn_ns+0xa9/0xc0 aa_remove_profiles+0x4fb/0x730 ? __kvmalloc_node_noprof+0x219/0x5c0 ? __pfx_aa_remove_profiles+0x10/0x10 ? aa_loaddata_alloc+0x65/0x1f0 ? _copy_from_user+0x2d/0x80 ? aa_loaddata_alloc+0x111/0x1f0

Fixed in

6.12.117-1 · 7.3.3-1

Affected packages

EcosystemPackageRangeFixed
Debian:13linux>=0, <6.12.117-16.12.117-1
Debian:14linux>=0, <7.3.3-17.3.3-1

Sources

  • OSV · first seen 15d ago · CC-BY 4.0

References

JSON