bpf: Fix stackmap overflow check in __bpf_get_stackid()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d6028caa0ee39dccd005468adfa3223b92bd3ad3, Kernel 5.11, Kernel 5.16 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix stackmap overflow check in __bpf_get_stackid() Syzkaller reported a KASAN slab-out-of-bounds write in __bpf_get_stackid() when copying stack trace data. The issue occurs when the perf trace contains more stack entries than the stack map bucket can hold, leading to an out-of-bounds write in the bucket's data array.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=ee2a098851bfbe8bcdd964c0121f4246f00ff41e <d6028caa0ee39dccd005468adfa3223b92bd3ad3, >=5.10.110 <5.11, >=5.15.33 <5.16, >=5.16.19 <5.17, >=5.17.2 <5.18, >=ee2a098851bfbe8bcdd964c0121f4246f00ff41e <03fe4c886667b3a09b9d6afc03bbc68afb35c82b, >=ee2a098851bfbe8bcdd964c0121f4246f00ff41e <23f852daa4bab4d579110e034e4d513f7d490846, >=ee2a098851bfbe8bcdd964c0121f4246f00ff41e <2a008f6de163279deffd488c1deab081bce5667c, >=ee2a098851bfbe8bcdd964c0121f4246f00ff41e <4669a8db976c8cbd5427fe9945f12c5fa5168ff3, >=ee2a098851bfbe8bcdd964c0121f4246f00ff41e <d1f424a77b6bd27b361737ed73df49a0158f1590, =398ac11f4425d1e52aaf0d05d4fc90524e1a5b5e, =5.18, =6c4f243b58f5362e983386488b2d563764c567af, =90805175a206f784b6a77f16f07b07f6803e286b, =e750f78c4ed7cefbcefb9769b3b9e08033db39da | d6028caa0ee39dccd005468adfa3223b92bd3ad3, 5.11, 5.16, 5.17, 5.18, 03fe4c886667b3a09b9d6afc03bbc68afb35c82b, 23f852daa4bab4d579110e034e4d513f7d490846, 2a008f6de163279deffd488c1deab081bce5667c, 4669a8db976c8cbd5427fe9945f12c5fa5168ff3, d1f424a77b6bd27b361737ed73df49a0158f1590 |
| linux-kernel: Kernel | >=5.15.33 <5.16, >=5.16.19 <5.17, >=5.17.2 <5.18, >=5.18.0 <6.1.191, >=6.13.0 <6.17.13, >=6.18.0 <6.18.2, >=6.2.0 <6.6.160, >=6.7.0 <6.12.63, >=5.10.110 <5.11 | 5.16, 5.17, 5.18, 6.1.191, 6.17.13, 6.18.2, 6.6.160, 6.12.63, 5.11 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket