Skip to content
FlawDB
Sign in

CVE-2026-99505

UNSCOREDEPSS 7%

apparmor: fix a use-after-free in aa_lookupn_ns()

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 87124024b0a7c46e04f5588808fd2c0e95ce567a; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < df8685e4f9da816927395c456a62c1043ecdd99a; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < ba45d73f8782e3e9d521ec2bd4c4b4b4dc548f2b; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 1f09cc23d1cdf440ff03d4a0cf3ed8100134d9d3; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 2588c5693f4535e856841976cb1e1532bae77109; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 174b4b90ec6731934cf84eb267a86ad7152267fa; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 8db1a8614b4f8f3da11c568e2b5af4fe56eef360; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < f292873ceb4bd3a1a0f75f884361cd556e457692
  • Anyone running Linux 4.13

Vulnerability facts

Affected
Linux >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 87124024b0a7c46e04f5588808fd2c0e95ce567a; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < df8685e4f9da816927395c456a62c1043ecdd99a; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < ba45d73f8782e3e9d521ec2bd4c4b4b4dc548f2b; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 1f09cc23d1cdf440ff03d4a0cf3ed8100134d9d3; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 2588c5693f4535e856841976cb1e1532bae77109; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 174b4b90ec6731934cf84eb267a86ad7152267fa; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 8db1a8614b4f8f3da11c568e2b5af4fe56eef360; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < f292873ceb4bd3a1a0f75f884361cd556e457692; Linux 4.13
Fixed in
Linux 87124024b0a7c46e04f5588808fd2c0e95ce567a, Linux 1f09cc23d1cdf440ff03d4a0cf3ed8100134d9d3, Linux 2588c5693f4535e856841976cb1e1532bae77109, Linux 174b4b90ec6731934cf84eb267a86ad7152267fa, Linux 8db1a8614b4f8f3da11c568e2b5af4fe56eef360
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.22% chance of exploitation in 30 days (percentile 7, 2026-11-28)
Published
Modified

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 profile_remove+0x2ee/0x4a0 vfs_write+0x21e/0xcf0 ? rcu_core+0x29c/0x1740 ? timerqueue_linked_add+0x1f4/0x3d0 ? __pfx_vfs_write+0x10/0x10 ? mutex_lock+0x81/0xe0 ? __pfx_mutex_lock+0x10/0x10 ? __pfx_rcu_core+0x10/0x10 ? __pfx_hrtimer_update_next_event+0x10/0x10 ? mutex_unlock+0x7b/0xd0 ? fdget_pos+0x24d/0x4b0 ksys_write+0xf7/0x1c0 ? __pfx_ksys_write+0x10/0x10 ? restore_fpregs_from_fpstate+0x37/0xc0 do_syscall_64+0xf9/0x540 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK> Fix by rejecting a namespace whose reference count is zero.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 87124024b0a7c46e04f5588808fd2c0e95ce567a; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < df8685e4f9da816927395c456a62c1043ecdd99a; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < ba45d73f8782e3e9d521ec2bd4c4b4b4dc548f2b; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 1f09cc23d1cdf440ff03d4a0cf3ed8100134d9d3; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 2588c5693f4535e856841976cb1e1532bae77109; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 174b4b90ec6731934cf84eb267a86ad7152267fa; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 8db1a8614b4f8f3da11c568e2b5af4fe56eef360; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < f292873ceb4bd3a1a0f75f884361cd556e457692—cvelist
Linux4.13—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-99505. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99505.md
Affected: Linux >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 87124024b0a7c46e04f5588808fd2c0e95ce567a; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < df8685e4f9da816927395c456a62c1043ecdd99a; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < ba45d73f8782e3e9d521ec2bd4c4b4b4dc548f2b; >= 3664268f19ea07bec55df92…
Fixed in: Linux 87124024b0a7c46e04f5588808fd2c0e95ce567a, Linux 1f09cc23d1cdf440ff03d4a0cf3ed8100134d9d3, Linux 2588c5693f4535e856841976cb1e1532bae77109, Linux 174b4b90ec6731934cf84eb267a86ad7152267fa, Linux 8db1a8614b4f8f3da11c568e2b5af4fe56eef360

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-99505 being exploited?

There is no confirmed exploitation: CVE-2026-99505 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).

How serious is CVE-2026-99505?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-99505?

Linux >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 87124024b0a7c46e04f5588808fd2c0e95ce567a; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < df8685e4f9da816927395c456a62c1043ecdd99a; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < ba45d73f8782e3e9d521ec2bd4c4b4b4dc548f2b; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 1f09cc23d1cdf440ff03d4a0cf3ed8100134d9d3; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 2588c5693f4535e856841976cb1e1532bae77109; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 174b4b90ec6731934cf84eb267a86ad7152267fa; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < 8db1a8614b4f8f3da11c568e2b5af4fe56eef360; >= 3664268f19ea07bec55df92fe53ff9ed28968bcc, < f292873ceb4bd3a1a0f75f884361cd556e457692; Linux 4.13.

Is there a fix for CVE-2026-99505?

Yes. Fixed in Linux 87124024b0a7c46e04f5588808fd2c0e95ce567a, Linux 1f09cc23d1cdf440ff03d4a0cf3ed8100134d9d3, Linux 2588c5693f4535e856841976cb1e1532bae77109, Linux 174b4b90ec6731934cf84eb267a86ad7152267fa, Linux 8db1a8614b4f8f3da11c568e2b5af4fe56eef360. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-99505?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
HIGH 7.0CVE-2026-137974

Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile

Linux kernel+1
EPSS 31%
HIGH 7.8CVE-2026-137941

Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property

Linux kernel+1
EPSS 11%
HIGH 7.3CVE-2026-137898

Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling

Linux kernel+1
EPSS 11%
MEDIUM 6.5CVE-2026-102963

Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled

Linux kernel+1
EPSS 24%
MEDIUM 5.3CVE-2026-115841

Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa

Linux kernel+4
EPSS 3%
Sponsors