apparmor: validate DFA start states are in bounds in unpack_pdb
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 07cf6320f40ea2ccfad63728cff34ecb309d03da, Kernel 0baadb0eece2c4d939db10d3c323b4652ac79a58, Kernel 15c3eb8916e7db01cb246d04a1fe6f0fdc065b0c and 5 more.
In the Linux kernel, the following vulnerability has been resolved: apparmor: validate DFA start states are in bounds in unpack_pdb Start states are read from untrusted data and used as indexes into the DFA state tables. The aa_dfa_next() function call in unpack_pdb() will access dfa->tables[YYTD_ID_BASE][start], and if the start state exceeds the number of states in the DFA, this results in an out-of-bound read. ================================================================== BUG: KASAN: slab-out-of-bounds in aa_dfa_next+0x2a1/0x360 Read of size 4 at addr ffff88811956fb90 by task su/1097 ... Reject policies with out-of-bounds start states during unpacking to prevent the issue.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =3.4, >=ad5ff3db53c68c2f12936bc74ea5dfe0af943592 <07cf6320f40ea2ccfad63728cff34ecb309d03da, >=ad5ff3db53c68c2f12936bc74ea5dfe0af943592 <0baadb0eece2c4d939db10d3c323b4652ac79a58, >=ad5ff3db53c68c2f12936bc74ea5dfe0af943592 <15c3eb8916e7db01cb246d04a1fe6f0fdc065b0c, >=ad5ff3db53c68c2f12936bc74ea5dfe0af943592 <3bb7db43e32190c973d4019037cedb7895920184, >=ad5ff3db53c68c2f12936bc74ea5dfe0af943592 <5443c027ec16afa55b1b8a3e7a1ab2ea3c77767a, >=ad5ff3db53c68c2f12936bc74ea5dfe0af943592 <5487871b2b56c19d26936ed6fdc62652b30941df, >=ad5ff3db53c68c2f12936bc74ea5dfe0af943592 <9063d7e2615f4a7ab321de6b520e23d370e58816, >=ad5ff3db53c68c2f12936bc74ea5dfe0af943592 <f43eea8ae0102ea198da211ef7f5ce83725ecf19 | 07cf6320f40ea2ccfad63728cff34ecb309d03da, 0baadb0eece2c4d939db10d3c323b4652ac79a58, 15c3eb8916e7db01cb246d04a1fe6f0fdc065b0c, 3bb7db43e32190c973d4019037cedb7895920184, 5443c027ec16afa55b1b8a3e7a1ab2ea3c77767a, 5487871b2b56c19d26936ed6fdc62652b30941df, 9063d7e2615f4a7ab321de6b520e23d370e58816, f43eea8ae0102ea198da211ef7f5ce83725ecf19 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket