CVE-2026-23180
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn 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().
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceIn the Linux kernel's dpaa2-switch driver, the IRQ handler extracts an interface ID (if_id) from the upper 16 bits of a hardware status register and uses it to index into an array (ethsw->ports[]) without validating that the value falls within the allocated array bounds. Since if_id can be any 16-bit value (0-65535) but the ports array is only allocated based on sw_attr.num_ifs, an out-of-bounds array read can occur, potentially leading to information disclosure or undefined behavior.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- High
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if the system uses NXP DPAA2 networking hardwareCheck for dpaa2-switch driver or DPAA2 hardware presence by examining kernel modules (lsmod | grep dpaa2) or hardware inventory (lspci for NXP/DPAA2 devices)Affected if The dpaa2-switch driver is loaded or the system contains DPAA2-capable network hardware
-
Determine the running kernel versionRun 'uname -r' to get the kernel version and compare it to when the fix was released (kernel mainline timeline)Affected if The kernel version predates the patch that adds bounds validation for if_id in the dpaa2-switch IRQ handler
-
Verify the driver configurationCheck /boot/config-$(uname -r) or /proc/config.gz for CONFIG_FSL_DPAA2_ETHSW or CONFIG_FSL_DPAA2_SWITCH enabledAffected if The dpaa2-switch driver (CONFIG_FSL_DPAA2_SWITCH) is compiled as a module or built-in
-
Inspect the driver source code if accessibleIf kernel source is available, examine drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c for the IRQ handler (dpaa2_switch_irq_handler or similar) and verify if bounds checking exists before ports[] array accessAffected if The code lacks validation that if_id is less than ethsw->num_ifs before indexing ethsw->ports[if_id]
A system is affected if it runs a vulnerable kernel version with the dpaa2-switch driver enabled on DPAA2 hardware, where the IRQ handler can read out-of-bounds due to unchecked if_id values from the hardware status register.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataApply the upstream kernel patch that adds bounds validation for if_id before accessing the ports array, consistent with the existing check in dpaa2_switch_rx(). This is a code-level fix requiring a kernel update.
- Consultation1.0 h
- Implementation1.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,376.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-23180 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-23180 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data