{"id":"CVE-2026-23180","summary":"dpaa2-switch: add bounds check for if_id in IRQ handler","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndpaa2-switch: add bounds check for if_id in IRQ handler\n\nThe IRQ handler extracts if_id from the upper 16 bits of the hardware\nstatus register and uses it to index into ethsw-\u003eports[] without\nvalidation. Since if_id can be any 16-bit value (0-65535) but the ports\narray is only allocated with sw_attr.num_ifs elements, this can lead to\nan out-of-bounds read potentially.\n\nAdd a bounds check before accessing the array, consistent with the\nexisting validation in dpaa2_switch_rx().","modified":"2026-04-02T13:12:13.026220Z","published":"2026-02-14T16:27:11.463Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23180.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1b381a638e1851d8cfdfe08ed9cdbec5295b18c9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2447edc367800ba914acf7ddd5d250416b45fb31"},{"type":"WEB","url":"https://git.kernel.org/stable/c/31a7a0bbeb006bac2d9c81a2874825025214b6d8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/34b56c16efd61325d80bf1d780d0e176be662f59"},{"type":"WEB","url":"https://git.kernel.org/stable/c/77611cab5bdfff7a070ae574bbfba20a1de99d1b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f89e33c9c37f0001b730e23b3b05ab7b1ecface2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23180.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23180"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"24ab724f8a4661b2dc8e696b41df93bdc108f7a1"},{"fixed":"77611cab5bdfff7a070ae574bbfba20a1de99d1b"},{"fixed":"34b56c16efd61325d80bf1d780d0e176be662f59"},{"fixed":"f89e33c9c37f0001b730e23b3b05ab7b1ecface2"},{"fixed":"2447edc367800ba914acf7ddd5d250416b45fb31"},{"fixed":"1b381a638e1851d8cfdfe08ed9cdbec5295b18c9"},{"fixed":"31a7a0bbeb006bac2d9c81a2874825025214b6d8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23180.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.200"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.124"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.70"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23180.json"}}],"schema_version":"1.7.5"}