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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 6f442d42c0d89876994a4a135eadf82b0e6ff6e4 <afe5d5a747393cb3d00795db31d7fce5108a766a | — |
| Linux | Linux | 6f442d42c0d89876994a4a135eadf82b0e6ff6e4 <e5b1fefc2dcd8951874be43f409c8a61f574f6d9 | — |
| Linux | Linux | patch: 7.3.4 | — |
| Linux | Linux | patch: 7.4-rc1 | — |
| Linux | Linux | 6f442d42c0d89876994a4a135eadf82b0e6ff6e4 <92ab39831d6931bdd1a669c513baafdb9cf1c22d | — |
| Linux | Linux | patch: 0 | — |
| Linux | Linux | 6.5 | — |
| Linux | Linux | 346b1ac789fa8e666d1b564d9b9fa8880644faa0 | — |
| Linux | Linux | 6.4.4 <6.5 | — |
| Linux | Linux | patch: 6.12.118 | — |
| Linux | Linux | patch: 6.18.63 | — |
| Linux | Linux | patch: 6.6.163 | — |
| Linux | Linux | 6f442d42c0d89876994a4a135eadf82b0e6ff6e4 <b816ebeb649ce7fc36921fab226dd58bb12b520d | — |
| Linux | Linux | 6f442d42c0d89876994a4a135eadf82b0e6ff6e4 <1ef71b9b07010096a410dbab7953a0104d5c450b | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 7.3.4-1 | — |
| Debian 13 | linux | 6.12.118-1 | — |
| Debian 12 | linux-6.12 | 6.12.118-1~deb12u1 | DLA-4961-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 24.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu 26.10 | linux +8 | No fix yet | — |
| Ubuntu 26.04 LTS | linux +14 | No fix yet | — |
| Ubuntu 24.04 LTS | linux +52 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +42 | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime +3 | No fix yet | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime-6.8 | No fix yet | — |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-fips +3 | No fix yet | — |
Advisories 2
- DLA-4961-1 linux-6.12 - security update Debian Security (DSA / DLA) · Dec 2, 2026
- WID-SEC-2026-4889 Linux Kernel: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Nov 30, 2026
References
- https://git.kernel.org/stable/c/b816ebeb649ce7fc36921fab226dd58bb12b520d
- https://git.kernel.org/stable/c/1ef71b9b07010096a410dbab7953a0104d5c450b
- https://git.kernel.org/stable/c/e5b1fefc2dcd8951874be43f409c8a61f574f6d9
- https://git.kernel.org/stable/c/92ab39831d6931bdd1a669c513baafdb9cf1c22d
- https://git.kernel.org/stable/c/afe5d5a747393cb3d00795db31d7fce5108a766a