Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 4e527f1e5c155ce28164ba34cad47b635d16f827 before 2f460aa0211e97c011ef0cfe5016f8f2a2ed059b; affected 4e527f1e5c155ce28164ba34cad47b635d16f827 before 4d5df98369c5f45710b786499f8bd7ffc3196433 |
| Linux / Linux | affected 7.1; unaffected 0 before 7.1; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.