CVE-2026-23422: dpaa2-switch: Fix interrupt storm after receiving bad if_id in IRQ handler
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
dpaa2-switch: Fix interrupt storm after receiving bad if_id in IRQ handler
Commit 31a7a0bbeb00 ("dpaa2-switch: add bounds check for if_id in IRQ handler") introduces a range check for if_id to avoid an out-of-bounds access. If an out-of-bounds if_id is detected, the interrupt status is not cleared. This may result in an interrupt storm.
Clear the interrupt status after detecting an out-of-bounds if_id to avoid the problem.
Found by an experimental AI code review agent at Google.
The Linux kernel CVE team has assigned CVE-2026-23422 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.1.163 with commit 34b56c16efd61325d80bf1d780d0e176be662f59 and fixed in 6.1.167 with commit b5bababe7703a7322bc59b803ab1587887a2a5e4 Issue introduced in 6.6.124 with commit f89e33c9c37f0001b730e23b3b05ab7b1ecface2 and fixed in 6.6.130 with commit c7becfe3e604d138bd53b8ac3111b2b3e8ec6b0e Issue introduced in 6.12.70 with commit 2447edc367800ba914acf7ddd5d250416b45fb31 and fixed in 6.12.77 with commit fa4412cdc5178a48799bafcb8af28fd2fbf3d703 Issue introduced in 6.18.10 with commit 1b381a638e1851d8cfdfe08ed9cdbec5295b18c9 and fixed in 6.18.17 with commit 00f42ace446f1e4bf84988f2281131f52cd32796 Issue introduced in 6.19 with commit 31a7a0bbeb006bac2d9c81a2874825025214b6d8 and fixed in 6.19.7 with commit 28fd8ac1d49389cb230d712116f54e27ebec11b8 Issue introduced in 6.19 with commit 31a7a0bbeb006bac2d9c81a2874825025214b6d8 and fixed in 7.0-rc3 with commit 74badb9c20b1a9c02a95c735c6d3cd6121679c93 Issue introduced in 5.15.200 with commit 77611cab5bdfff7a070ae574bbfba20a1de99d1b
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-23422
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/freescale/dpaa2/dpaa2-switch.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/b5bababe7703a7322bc59b803ab1587887a2a5e4 https://git.kernel.org/stable/c/c7becfe3e604d138bd53b8ac3111b2b3e8ec6b0e https://git.kernel.org/stable/c/fa4412cdc5178a48799bafcb8af28fd2fbf3d703 https://git.kernel.org/stable/c/00f42ace446f1e4bf84988f2281131f52cd32796 https://git.kernel.org/stable/c/28fd8ac1d49389cb230d712116f54e27ebec11b8 https://git.kernel.org/stable/c/74badb9c20b1a9c02a95c735c6d3cd6121679c93