# CVE-2026-99836: apparmor: check accept index + 1 is in bounds

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:17:30.319Z
- Modified: 2026-11-30T14:20:16.573Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

apparmor: check accept index + 1 is in bounds

aa_lookup_condperms() returns perms[index + 1] when an accept entry has
ACCEPT_FLAG_OWNER set and the subject uid does not match the file uid,
so such an entry consumes two slots in the perms table.  But
verify_dfa_accept_index() only checks that index is within the perms
table, so a policy that sets the owner flag on the last entry is
accepted, and the runtime lookup then reads perms[index + 1] one entry
past the end of the table.

The perms table is allocated by unpack_perms_table() with a u16 size
read from the policy blob, so a crafted policy can place the owner flag
at index size - 1 to reach the out-of-bounds read.

Check that index + 1 is also in bounds when the owner flag is set.

(As written by CVE List.)

## Affected

- Linux Linux: from 6f442d42c0d89876994a4a135eadf82b0e6ff6e4 before b816ebeb649ce7fc36921fab226dd58bb12b520d; from 6f442d42c0d89876994a4a135eadf82b0e6ff6e4 before 1ef71b9b07010096a410dbab7953a0104d5c450b; from 6f442d42c0d89876994a4a135eadf82b0e6ff6e4 before e5b1fefc2dcd8951874be43f409c8a61f574f6d9; from 6f442d42c0d89876994a4a135eadf82b0e6ff6e4 before 92ab39831d6931bdd1a669c513baafdb9cf1c22d; from 6f442d42c0d89876994a4a135eadf82b0e6ff6e4 before afe5d5a747393cb3d00795db31d7fce5108a766a; 346b1ac789fa8e666d1b564d9b9fa8880644faa0; from 6.4.4 before 6.5; 6.5 (not affected: before 6.5; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/b816ebeb649ce7fc36921fab226dd58bb12b520d>
- <https://git.kernel.org/stable/c/1ef71b9b07010096a410dbab7953a0104d5c450b>
- <https://git.kernel.org/stable/c/e5b1fefc2dcd8951874be43f409c8a61f574f6d9>
- <https://git.kernel.org/stable/c/92ab39831d6931bdd1a669c513baafdb9cf1c22d>
- <https://git.kernel.org/stable/c/afe5d5a747393cb3d00795db31d7fce5108a766a>

## Sources

- CVE List: [CVE-2026-99836](https://www.cve.org/CVERecord?id=CVE-2026-99836), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-99836](https://nvd.nist.gov/vuln/detail/CVE-2026-99836), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-99836 · Whole record: https://cve.day/CVE-2026-99836.json · Rebuilt by cve.day 2026-11-30T14:33:13.831Z
