Out-of-bounds ReadWeakness · CWE-125

CVE-2026-23180

HIGH · 7.0 CVSS v3.1 Published 2026-02-14
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
72/100
Remediation priority · Elevated
Zero-click

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 · unedited
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().

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 confidence

In 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.

MitigationApply 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify if the system uses NXP DPAA2 networking hardware
    Check 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
  2. Determine the running kernel version
    Run '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
  3. Verify the driver configuration
    Check /boot/config-$(uname -r) or /proc/config.gz for CONFIG_FSL_DPAA2_ETHSW or CONFIG_FSL_DPAA2_SWITCH enabled
    Affected if The dpaa2-switch driver (CONFIG_FSL_DPAA2_SWITCH) is compiled as a module or built-in
  4. Inspect the driver source code if accessible
    If 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 access
    Affected 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Apply 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.

Have this fixed Scoped from the published advisory
  • Consultation1.0 h
  • Implementation1.0 h
  • Testing2.0 h
  • Review / QA1.0 h
5.0 hours of engineering $860
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-23180 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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