CVE-2026-99836

Unknown

Last modified

CVE-2026-99836 is a vulnerability of currently unknown severity. 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..

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.

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 6f442d42c0d89876994a4a135eadf82b0e6ff6e4, < b816ebeb649ce7fc36921fab226dd58bb12b520d; >= 6f442d42c0d89876994a4a135eadf82b0e6ff6e4, < 1ef71b9b07010096a410dbab7953a0104d5c450b; >= 6f442d42c0d89876994a4a135eadf82b0e6ff6e4, < e5b1fefc2dcd8951874be43f409c8a61f574f6d9; >= 6f442d42c0d89876994a4a135eadf82b0e6ff6e4, < 92ab39831d6931bdd1a669c513baafdb9cf1c22d; >= 6f442d42c0d89876994a4a135eadf82b0e6ff6e4, < afe5d5a747393cb3d00795db31d7fce5108a766a; 346b1ac789fa8e666d1b564d9b9fa8880644faa0; >= 6.4.4, < 6.5
LinuxLinux6.5

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-99836?
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.
How severe is CVE-2026-99836?
Severity scoring for CVE-2026-99836 is pending analysis.
How do I fix CVE-2026-99836?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-99836?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST