octeontx2-af: fix out-of-bounds read setting MSI-X irq affinity
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2f460aa0211e97c011ef0cfe5016f8f2a2ed059b and Kernel 4d5df98369c5f45710b786499f8bd7ffc3196433.
In the Linux kernel, the following vulnerability has been resolved: octeontx2-af: fix out-of-bounds read setting MSI-X irq affinity rvu_register_interrupts() walks every MSI-X vector and uses strstr() to match "Mbox" or "FLR" in irq_name before pinning those interrupts to CPU 0. irq_name is a per-vector NAME_SIZE buffer, but not every slot is populated before this loop runs. strstr() keeps scanning until it finds a NUL terminator, so an uninitialized slot can trigger a KASAN slab-out-of-bounds read at boot when debug options are enabled. Use strnstr() with NAME_SIZE to bound the search within each vector's name buffer.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.1, >=4e527f1e5c155ce28164ba34cad47b635d16f827 <2f460aa0211e97c011ef0cfe5016f8f2a2ed059b, >=4e527f1e5c155ce28164ba34cad47b635d16f827 <4d5df98369c5f45710b786499f8bd7ffc3196433 | 2f460aa0211e97c011ef0cfe5016f8f2a2ed059b, 4d5df98369c5f45710b786499f8bd7ffc3196433 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket