CVE-2026-99836: apparmor: check accept index + 1 is in bounds
apparmor: check accept index + 1 is in bounds
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.5 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.118 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.118-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.118-1Fixed in 7.3.4-1 - Compensating control
When the owner flag is set, check that index + 1 is within the perms table bounds before reading perms[index + 1].
Event History
Frequently Asked Questions
What conditions are required to trigger the out-of-bounds read?
A crafted AppArmor policy must contain an accept entry with ACCEPT_FLAG_OWNER set at the final entry in its permissions table. During runtime lookup, the subject UID must differ from the file UID, causing the kernel to access the next permissions-table slot.
Who is realistically exposed to this issue?
Systems that load crafted AppArmor policy blobs are exposed. The vulnerable condition depends on policy-controlled permissions-table contents rather than an ordinary file access alone.
How can I determine whether a policy is affected?
Inspect the policy's permissions table and accept entries for ACCEPT_FLAG_OWNER. A policy is affected if an owner-flagged accept entry uses index size - 1, where size is the u16 permissions-table size from the policy blob.