{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99836","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.437Z","datePublished":"2026-11-30T13:17:30.319Z","dateUpdated":"2026-11-30T13:17:30.319Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:17:30.319Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/apparmor/policy_unpack.c"],"versions":[{"version":"6f442d42c0d89876994a4a135eadf82b0e6ff6e4","lessThan":"b816ebeb649ce7fc36921fab226dd58bb12b520d","status":"affected","versionType":"git"},{"version":"6f442d42c0d89876994a4a135eadf82b0e6ff6e4","lessThan":"1ef71b9b07010096a410dbab7953a0104d5c450b","status":"affected","versionType":"git"},{"version":"6f442d42c0d89876994a4a135eadf82b0e6ff6e4","lessThan":"e5b1fefc2dcd8951874be43f409c8a61f574f6d9","status":"affected","versionType":"git"},{"version":"6f442d42c0d89876994a4a135eadf82b0e6ff6e4","lessThan":"92ab39831d6931bdd1a669c513baafdb9cf1c22d","status":"affected","versionType":"git"},{"version":"6f442d42c0d89876994a4a135eadf82b0e6ff6e4","lessThan":"afe5d5a747393cb3d00795db31d7fce5108a766a","status":"affected","versionType":"git"},{"version":"346b1ac789fa8e666d1b564d9b9fa8880644faa0","status":"affected","versionType":"git"},{"version":"6.4.4","lessThan":"6.5","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/apparmor/policy_unpack.c"],"versions":[{"version":"6.5","status":"affected"},{"version":"0","lessThan":"6.5","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4.4"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/b816ebeb649ce7fc36921fab226dd58bb12b520d"},{"url":"https://git.kernel.org/stable/c/1ef71b9b07010096a410dbab7953a0104d5c450b"},{"url":"https://git.kernel.org/stable/c/e5b1fefc2dcd8951874be43f409c8a61f574f6d9"},{"url":"https://git.kernel.org/stable/c/92ab39831d6931bdd1a669c513baafdb9cf1c22d"},{"url":"https://git.kernel.org/stable/c/afe5d5a747393cb3d00795db31d7fce5108a766a"}],"title":"apparmor: check accept index + 1 is in bounds","x_generator":{"engine":"bippy-1.2.0"}}}}