CVE-2026-93246: octeontx2-af: fix out-of-bounds read setting MSI-X irq affinity
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-93246 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.1 with commit 4e527f1e5c155ce28164ba34cad47b635d16f827 and fixed in 7.2.6 with commit 2f460aa0211e97c011ef0cfe5016f8f2a2ed059b Issue introduced in 7.1 with commit 4e527f1e5c155ce28164ba34cad47b635d16f827 and fixed in 7.3-rc1 with commit 4d5df98369c5f45710b786499f8bd7ffc3196433
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-93246
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/2f460aa0211e97c011ef0cfe5016f8f2a2ed059b https://git.kernel.org/stable/c/4d5df98369c5f45710b786499f8bd7ffc3196433