5.5

CVE-2026-23206: dpaa2-switch: prevent ZERO_SIZE_PTR dereference when num_ifs is zero

Analyzed
AliasesUBUNTU-CVE-2026-23206DEBIAN-CVE-2026-23206
Published 14-02-2026Last modified 05-11-2026

Vulnerability summary

CVE-2026-23206 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.14%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 20 · Related 15

Timeline

  1. 14-02-2026
    PublishedVulnerability first disclosed.
  2. 05-11-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: dpaa2-switch: prevent ZERO_SIZE_PTR dereference when num_ifs is zero The driver allocates arrays for ports, FDBs, and filter blocks using kcalloc() with ethsw->sw_attr.num_ifs as the element count. When the device reports zero interfaces (either due to hardware configuration or firmware issues), kcalloc(0, ...) returns ZERO_SIZE_PTR (0x10) instead of NULL. Later in dpaa2_switch_probe(), the NAPI initialization unconditionally accesses ethsw->ports[0]->netdev, which attempts to dereference ZERO_SIZE_PTR (address 0x10), resulting in a kernel panic. Add a check to ensure num_ifs is greater than zero after retrieving device attributes. This prevents the zero-sized allocations and subsequent invalid pointer dereference.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.14%

Chance of exploitation in the next 30 days

Percentile

3%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.13% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu146 products
  • linux< 5.15.0-185.195 | < 6.8.0-117.117 | All versions (No fix recorded)
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.15.0-1111.118 | < 6.8.0-1055.58 | All versions (No fix recorded)
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 0b1b71370458860579831e77485883fcf2e8fbbe, < 2fcccca88456b592bd668db13aa1d29ed257ca2b | ≥ 0b1b71370458860579831e77485883fcf2e8fbbe, < 80165ff16051448d6f840585ebe13f2400415df3 | ≥ 0b1b71370458860579831e77485883fcf2e8fbbe, < b97415c4362f739e25ec6f71012277086fabdf6f | ≥ 0b1b71370458860579831e77485883fcf2e8fbbe, < 4acc40db06ffd0fd92683505342b00c8a7394c60 | ≥ 0b1b71370458860579831e77485883fcf2e8fbbe, < 155eb99aff2920153bf21217ae29565fff81e6af | ≥ 0b1b71370458860579831e77485883fcf2e8fbbe, < ed48a84a72fefb20a82dd90a7caa7807e90c6f66 | 5.13
  • linux_kernel≥ 5.13, < 5.15.200 | ≥ 5.16, < 6.1.163 | ≥ 6.2, < 6.6.124 | ≥ 6.7, < 6.12.70 | ≥ 6.13, < 6.18.10 | 6.19:rc1 | 6.19:rc2 | 6.19:rc3 | 6.19:rc4 | 6.19:rc5 | 6.19:rc6 | 6.19:rc7 | 6.19:rc8
Debian1 product
  • linux< 6.1.164-1 | < 6.12.73-1 | < 6.18.10-1

3 vendors · 149 products

References

26 links
Show all 26 references