bpf: Keep dynamic inner array lookups nullable
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0b92ad64d6e4bde85e6b9888404f9a7a2b65d269, Kernel 53040a81ae57cdca8af8ac36fe4e661730cf7c6b, Kernel d57db0d975053e01410c54e708a85b6d32ef2ebd and 2 more.
In the Linux kernel, the following vulnerability has been resolved: bpf: Keep dynamic inner array lookups nullable An ARRAY_OF_MAPS can use an array created with BPF_F_INNER_MAP as its inner map template. A concrete inner array with a different max_entries value can then replace the template. After a successful outer map lookup, the verifier represents the resulting map pointer using the inner map template. Const-key lookup nullness elision consequently uses the template max_entries even though the runtime helper uses the concrete inner map max_entries. Do not elide lookup result nullness for maps marked with BPF_F_INNER_MAP, because the template max_entries does not prove that the key is in bounds for the concrete runtime map.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.14, >=d2102f2f5d75a84dbab6ff890359f0bd4a18ca22 <0b92ad64d6e4bde85e6b9888404f9a7a2b65d269, >=d2102f2f5d75a84dbab6ff890359f0bd4a18ca22 <53040a81ae57cdca8af8ac36fe4e661730cf7c6b, >=d2102f2f5d75a84dbab6ff890359f0bd4a18ca22 <d57db0d975053e01410c54e708a85b6d32ef2ebd | 0b92ad64d6e4bde85e6b9888404f9a7a2b65d269, 53040a81ae57cdca8af8ac36fe4e661730cf7c6b, d57db0d975053e01410c54e708a85b6d32ef2ebd |
| linux-kernel: Kernel | >=6.14.0 <6.18.40, >=6.19.0 <7.1.4 | 6.18.40, 7.1.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket