CVE-2026-99836

Source
https://cve.org/CVERecord?id=CVE-2026-99836
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99836.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99836
Downstream
Published
2026-11-30T13:17:30Z
Modified
2026-11-30T15:02:31Z
Summary
apparmor: check accept index + 1 is in bounds
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99836.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6f442d42c0d89876994a4a135eadf82b0e6ff6e4
Fixed
b816ebeb649ce7fc36921fab226dd58bb12b520d
Fixed
1ef71b9b07010096a410dbab7953a0104d5c450b
Fixed
e5b1fefc2dcd8951874be43f409c8a61f574f6d9
Fixed
92ab39831d6931bdd1a669c513baafdb9cf1c22d
Fixed
afe5d5a747393cb3d00795db31d7fce5108a766a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
346b1ac789fa8e666d1b564d9b9fa8880644faa0

Affected versions

v6.*
v6.4.10
v6.4.11
v6.4.12
v6.4.13
v6.4.14
v6.4.15
v6.4.16
v6.4.4
v6.4.5
v6.4.6
v6.4.7
v6.4.8
v6.4.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99836.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.4.4
Fixed
6.5
Type
ECOSYSTEM
Events
Introduced
6.5.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.118
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99836.json"