{"id":"AZL-114989","aliases":[],"title":"CVE-2026-99505 affecting package kernel 6.6.161.1-1","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":[],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99505","type":"web"}],"sources":[{"name":"osv","at":"2026-11-20T14:46:47.417Z","url":"https://osv.dev/vulnerability/AZL-114989","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T14:46:47.417Z"}],"firstSeenAt":"2026-11-20T14:46:47.417Z","publishedAt":"2026-11-19T15:18:05.000Z","modifiedAt":"2026-11-20T14:17:30.844Z"}