{"id":"DEBIAN-CVE-2026-99505","aliases":[],"title":null,"originalDescription":"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","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"Debian:13","name":"linux","range":">=0, <6.12.117-1","fixed":"6.12.117-1"},{"ecosystem":"Debian:14","name":"linux","range":">=0, <7.3.3-1","fixed":"7.3.3-1"}],"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2026-99505","type":"advisory"}],"sources":[{"name":"osv","at":"2026-11-22T01:25:42.610Z","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-99505","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T19:35:36.214Z"}],"firstSeenAt":"2026-11-19T19:35:36.214Z","publishedAt":"2026-11-19T15:18:05.737Z","modifiedAt":"2026-11-20T05:00:28.735Z"}