{"id":"CVE-2026-99836","aliases":["CVE-2026-99836"],"related":[],"kind":"vulnerability","state":"published","title":"apparmor: check accept index + 1 is in bounds","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: check accept index + 1 is in bounds\n\naa_lookup_condperms() returns perms[index + 1] when an accept entry has\nACCEPT_FLAG_OWNER set and the subject uid does not match the file uid,\nso such an entry consumes two slots in the perms table.  But\nverify_dfa_accept_index() only checks that index is within the perms\ntable, so a policy that sets the owner flag on the last entry is\naccepted, and the runtime lookup then reads perms[index + 1] one entry\npast the end of the table.\n\nThe perms table is allocated by unpack_perms_table() with a u16 size\nread from the policy blob, so a crafted policy can place the owner flag\nat index size - 1 to reach the out-of-bounds read.\n\nCheck that index + 1 is also in bounds when the owner flag is set.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: check accept index + 1 is in bounds\n\naa_lookup_condperms() returns perms[index + 1] when an accept entry has\nACCEPT_FLAG_OWNER set and the subject uid does not match the file uid,\nso such an entry consumes two slots in the perms table.  But\nverify_dfa_accept_index() only checks that index is within the perms\ntable, so a policy that sets the owner flag on the last entry is\naccepted, and the runtime lookup then reads perms[index + 1] one entry\npast the end of the table.\n\nThe perms table is allocated by unpack_perms_table() with a u16 size\nread from the policy blob, so a crafted policy can place the owner flag\nat index size - 1 to reach the out-of-bounds read.\n\nCheck that index + 1 is also in bounds when the owner flag is set.","source":"cvelist"}],"published":"2026-11-30T13:17:30.319Z","modified":"2026-11-30T14:20:16.573Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6f442d42c0d89876994a4a135eadf82b0e6ff6e4","fixed":"b816ebeb649ce7fc36921fab226dd58bb12b520d","status":"affected"},{"type":"git","introduced":"6f442d42c0d89876994a4a135eadf82b0e6ff6e4","fixed":"1ef71b9b07010096a410dbab7953a0104d5c450b","status":"affected"},{"type":"git","introduced":"6f442d42c0d89876994a4a135eadf82b0e6ff6e4","fixed":"e5b1fefc2dcd8951874be43f409c8a61f574f6d9","status":"affected"},{"type":"git","introduced":"6f442d42c0d89876994a4a135eadf82b0e6ff6e4","fixed":"92ab39831d6931bdd1a669c513baafdb9cf1c22d","status":"affected"},{"type":"git","introduced":"6f442d42c0d89876994a4a135eadf82b0e6ff6e4","fixed":"afe5d5a747393cb3d00795db31d7fce5108a766a","status":"affected"},{"type":"git","version":"346b1ac789fa8e666d1b564d9b9fa8880644faa0","status":"affected"},{"type":"semver","introduced":"6.4.4","fixed":"6.5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.5","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b816ebeb649ce7fc36921fab226dd58bb12b520d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1ef71b9b07010096a410dbab7953a0104d5c450b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e5b1fefc2dcd8951874be43f409c8a61f574f6d9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/92ab39831d6931bdd1a669c513baafdb9cf1c22d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/afe5d5a747393cb3d00795db31d7fce5108a766a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99836","url":"https://www.cve.org/CVERecord?id=CVE-2026-99836","licence":"CVE Terms of Use","modified":"2026-11-30T13:17:30.319Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99836","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99836","licence":"Public domain","modified":"2026-11-30T14:20:16.573Z"}],"updatedAt":"2026-11-30T14:33:13.831Z","epss":{"score":0.00209,"percentile":0.11664,"date":"2026-12-01T12:00:22.000Z"}}