CVE-2026-23180: dpaa2-switch: add bounds check for if_id in IRQ handler
In the Linux kernel, the following vulnerability has been resolved:
dpaa2-switch: add bounds check for ifid in IRQ handler
The IRQ handler extracts ifid from the upper 16 bits of the hardware status register and uses it to index into ethsw->ports[] without validation. Since ifid can be any 16-bit value (0-65535) but the ports array is only allocated with swattr.numifs elements, this can lead to an out-of-bounds read potentially.
Add a bounds check before accessing the array, consistent with the existing validation in dpaa2switchrx().
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-23180?
CVE-2026-23180 is classified as a medium severity vulnerability in the Linux kernel.
How do I fix CVE-2026-23180?
To mitigate CVE-2026-23180, update the Linux kernel to the latest version where this vulnerability has been patched.
What impact does CVE-2026-23180 have on system security?
CVE-2026-23180 may allow unauthorized access or system manipulation if exploited.
Which versions of the Linux kernel are affected by CVE-2026-23180?
CVE-2026-23180 affects specific versions of the Linux kernel that include the dpaa2-switch component.
What component does CVE-2026-23180 affect?
CVE-2026-23180 specifically affects the IRQ handler within the dpaa2-switch in the Linux kernel.