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 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().
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.200, 6.1.163, 6.12.70, 6.18.10, 6.6.124
- CVEs
- CVE-2026-23180
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 22:34 UTC · Revision 1
Source evidence
dpaa2-switch: add bounds check for if_id in IRQ handler
core-osv · Original sourcePublished 14 Feb 2026, 16:27 UTC
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().
osv:CVE-2026-23180
Kernel
Fixed versions: 5.15.200, 6.1.163, 6.6.124, 6.12.70, 6.18.10
Complete source record
{
"id": "dfe876abfa3754d7c41788899e6ab00a794bc6e8a9436d2905e7a060d0e091dc",
"url": "https://osv.dev/vulnerability/CVE-2026-23180",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "dpaa2-switch: add bounds check for if_id in IRQ handler",
"summary": "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().",
"evidence": "osv:CVE-2026-23180",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.200",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.163",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.124",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.70",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-23180",
"aliases": [
"CVE-2026-23180"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23180.json"
}
}
],
"modified": "2026-10-28T02:30:23.897640205Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1b381a638e1851d8cfdfe08ed9cdbec5295b18c9",
"https://git.kernel.org/stable/c/2447edc367800ba914acf7ddd5d250416b45fb31",
"https://git.kernel.org/stable/c/31a7a0bbeb006bac2d9c81a2874825025214b6d8",
"https://git.kernel.org/stable/c/34b56c16efd61325d80bf1d780d0e176be662f59",
"https://git.kernel.org/stable/c/77611cab5bdfff7a070ae574bbfba20a1de99d1b",
"https://git.kernel.org/stable/c/f89e33c9c37f0001b730e23b3b05ab7b1ecface2",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23180.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-23180",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23180.json"
}
},
"related_cves": [
{
"value": "CVE-2026-23180",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490586,
"published_at": "2026-02-14T16:27:11.463+00:00"
}