{"id":"CVE-2026-23180","aliases":["CVE-2026-23180"],"related":[],"kind":"vulnerability","state":"published","title":"dpaa2-switch: add bounds check for if_id in IRQ handler","summary":"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->ports[] 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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->ports[] 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().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndpaa2-switch: añadir comprobación de límites para if_id en el manejador IRQ\n\nEl manejador IRQ extrae if_id de los 16 bits superiores del registro de estado del hardware y lo utiliza para indexar en ethsw-&gt;ports[] sin validación. Dado que if_id puede ser cualquier valor de 16 bits (0-65535) pero el array de puertos solo se asigna con elementos sw_attr.num_ifs, esto puede llevar a una posible lectura fuera de límites.\n\nAñadir una comprobación de límites antes de acceder al array, consistente con la validación existente en dpaa2_switch_rx().","source":"nvd"}],"published":"2026-02-14T16:27:11.463Z","modified":"2026-10-19T19:17:40.570Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"24ab724f8a4661b2dc8e696b41df93bdc108f7a1","fixed":"77611cab5bdfff7a070ae574bbfba20a1de99d1b","status":"affected"},{"type":"git","introduced":"24ab724f8a4661b2dc8e696b41df93bdc108f7a1","fixed":"34b56c16efd61325d80bf1d780d0e176be662f59","status":"affected"},{"type":"git","introduced":"24ab724f8a4661b2dc8e696b41df93bdc108f7a1","fixed":"f89e33c9c37f0001b730e23b3b05ab7b1ecface2","status":"affected"},{"type":"git","introduced":"24ab724f8a4661b2dc8e696b41df93bdc108f7a1","fixed":"2447edc367800ba914acf7ddd5d250416b45fb31","status":"affected"},{"type":"git","introduced":"24ab724f8a4661b2dc8e696b41df93bdc108f7a1","fixed":"1b381a638e1851d8cfdfe08ed9cdbec5295b18c9","status":"affected"},{"type":"git","introduced":"24ab724f8a4661b2dc8e696b41df93bdc108f7a1","fixed":"31a7a0bbeb006bac2d9c81a2874825025214b6d8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.200","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.163","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.124","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.70","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.10","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/77611cab5bdfff7a070ae574bbfba20a1de99d1b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34b56c16efd61325d80bf1d780d0e176be662f59","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f89e33c9c37f0001b730e23b3b05ab7b1ecface2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2447edc367800ba914acf7ddd5d250416b45fb31","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b381a638e1851d8cfdfe08ed9cdbec5295b18c9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/31a7a0bbeb006bac2d9c81a2874825025214b6d8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:06:42.474Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23180","url":"https://www.cve.org/CVERecord?id=CVE-2026-23180","licence":"CVE Terms of Use","modified":"2026-10-19T18:25:34.438Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23180","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23180","licence":"Public domain","modified":"2026-10-19T19:17:40.570Z"}],"updatedAt":"2026-11-25T22:59:13.907Z","epss":{"score":0.00146,"percentile":0.04054,"date":"2026-12-01T12:00:22.000Z"}}