CVE-2026-23180

dpaa2-switch: add bounds check for if_id in IRQ handler

State
Published
Severity
7.0 High
Published
Feb 14, 2026
Updated
Oct 19, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

dpaa2-switch: add bounds check for if_id in IRQ handler

The IRQ handler extracts if_id from the upper 16 bits of the hardware status register and uses it to index into ethsw->ports[] without validation. Since if_id can be any 16-bit value (0-65535) but the ports array is only allocated with sw_attr.num_ifs 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 dpaa2_switch_rx().

Scores

CVSSScoreVectorSource
3.17.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 24ab724f8a4661b2dc8e696b41df93bdc108f7a1 to before 77611cab5bdfff7a070ae574bbfba20a1de99d1bAffected
  • 24ab724f8a4661b2dc8e696b41df93bdc108f7a1 to before 34b56c16efd61325d80bf1d780d0e176be662f59Affected
  • 24ab724f8a4661b2dc8e696b41df93bdc108f7a1 to before f89e33c9c37f0001b730e23b3b05ab7b1ecface2Affected
  • 24ab724f8a4661b2dc8e696b41df93bdc108f7a1 to before 2447edc367800ba914acf7ddd5d250416b45fb31Affected
  • 24ab724f8a4661b2dc8e696b41df93bdc108f7a1 to before 1b381a638e1851d8cfdfe08ed9cdbec5295b18c9Affected
  • 24ab724f8a4661b2dc8e696b41df93bdc108f7a1 to before 31a7a0bbeb006bac2d9c81a2874825025214b6d8Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.200 through 5.15.*Not affected
  • 6.1.163 through 6.1.*Not affected
  • 6.6.124 through 6.6.*Not affected
  • 6.12.70 through 6.12.*Not affected
  • 6.18.10 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.