# CVE-2026-99836

- Bağlantı: https://www.allsafe.com.tr/cve-2026-99836/
- Yayımlanma: 2026-11-30T17:20:16+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-99836)
