CVE-2026-23206
publisheddpaa2-switch: prevent ZERO_SIZE_PTR dereference when num_ifs is zero
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0b1b71370458860579831e77485883fcf2e8fbbe to < 2fcccca88456b592bd668db13aa1d29ed257ca2b · 0b1b71370458860579831e77485883fcf2e8fbbe to < 80165ff16051448d6f840585ebe13f2400415df3 · 0b1b71370458860579831e77485883fcf2e8fbbe to < b97415c4362f739e25ec6f71012277086fabdf6f · 0b1b71370458860579831e77485883fcf2e8fbbe to < 4acc40db06ffd0fd92683505342b00c8a7394c60 · 0b1b71370458860579831e77485883fcf2e8fbbe to < 155eb99aff2920153bf21217ae29565fff81e6af · 0b1b71370458860579831e77485883fcf2e8fbbe to < ed48a84a72fefb20a82dd90a7caa7807e90c6f66 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.13 (affected) · 0 to < 5.13 (unaffected · semver) · 5.15.200 through 5.15.* (unaffected · semver) · 6.1.163 through 6.1.* (unaffected · semver) · 6.6.124 through 6.6.* (unaffected · semver) · 6.12.70 through 6.12.* (unaffected · semver) · 6.18.10 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.164-1 | DSA-6163-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.164-1~deb11u1 | DLA-4499-1 |
| Debian | trixie | linux | Advisory build | 6.12.73-1 | DSA-6141-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0b1b71370458860579831e77485883fcf2e8fbbe to < 2fcccca88456b592bd668db13aa1d29ed257ca2b (affected · git)0b1b71370458860579831e77485883fcf2e8fbbe to < 80165ff16051448d6f840585ebe13f2400415df3 (affected · git)0b1b71370458860579831e77485883fcf2e8fbbe to < b97415c4362f739e25ec6f71012277086fabdf6f (affected · git)0b1b71370458860579831e77485883fcf2e8fbbe to < 4acc40db06ffd0fd92683505342b00c8a7394c60 (affected · git)0b1b71370458860579831e77485883fcf2e8fbbe to < 155eb99aff2920153bf21217ae29565fff81e6af (affected · git)0b1b71370458860579831e77485883fcf2e8fbbe to < ed48a84a72fefb20a82dd90a7caa7807e90c6f66 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.13 (affected)0 to < 5.13 (unaffected · semver)5.15.200 through 5.15.* (unaffected · semver)6.1.163 through 6.1.* (unaffected · semver)6.6.124 through 6.6.* (unaffected · semver)6.12.70 through 6.12.* (unaffected · semver)6.18.10 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/155eb99aff2920153bf21217ae29565fff81e6af
- https://git.kernel.org/stable/c/2fcccca88456b592bd668db13aa1d29ed257ca2b
- https://git.kernel.org/stable/c/4acc40db06ffd0fd92683505342b00c8a7394c60
- https://git.kernel.org/stable/c/80165ff16051448d6f840585ebe13f2400415df3
- https://git.kernel.org/stable/c/b97415c4362f739e25ec6f71012277086fabdf6f
- https://git.kernel.org/stable/c/ed48a84a72fefb20a82dd90a7caa7807e90c6f66
Provider assertions
2Linux · cna
dpaa2-switch: prevent ZERO_SIZE_PTR dereference when num_ifs is zero
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 05116df6c1e06aa9c0c7dade25aa59009d8cd9feb6b2a644e8e3258181dedc25
- Ingested
- 07 Nov 2026, 23:42:08 UTC
- Source record
- Official CVE record