Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

EPSS 0.03% · P7
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-23206

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
dpaa2-switch: prevent ZERO_SIZE_PTR dereference when num_ifs is zero
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于dpaa2-switch驱动在num_ifs为零时未做检查,可能导致空指针取消引用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 0b1b71370458860579831e77485883fcf2e8fbbe ~ 2fcccca88456b592bd668db13aa1d29ed257ca2b -
LinuxLinux 5.13 -

II. Public POCs for CVE-2026-23206

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-23206

登录查看更多情报信息。

Same Patch Batch · Linux · 2026-02-14 · 108 CVEs total

CVE-2026-231938.8 HIGHscsi: target: iscsi: Fix use-after-free in iscsit_dec_session_usage_count()
CVE-2026-231728.4 HIGHnet: wwan: t7xx: fix potential skb->frags overflow in RX path
CVE-2026-232097.8 HIGHmacvlan: fix error recovery in macvlan_common_newlink()
CVE-2026-231697.8 HIGHmptcp: fix race in mptcp_pm_nl_flush_addrs_doit()
CVE-2026-231717.8 HIGHbonding: fix use-after-free due to enslave fail after slave array update
CVE-2026-231787.8 HIGHHID: i2c-hid: fix potential buffer overflow in i2c_hid_get_report()
CVE-2026-231847.8 HIGHbinder: fix UAF in binder_netlink_report()
CVE-2026-231857.8 HIGHwifi: iwlwifi: mld: cancel mlo_scan_start_wk
CVE-2026-231917.8 HIGHALSA: aloop: Fix racy access at PCM trigger
CVE-2026-231927.8 HIGHlinkwatch: use __dev_put() in callers to prevent UAF
CVE-2026-231987.8 HIGHKVM: Don't clobber irqfd routing type when deassigning irqfd
CVE-2026-231367.5 HIGHlibceph: reset sparse-read state in osd_fault()
CVE-2026-231487.5 HIGHnvmet: fix race in nvmet_bio_done() leading to NULL pointer dereference
CVE-2026-231397.5 HIGHnetfilter: nf_conncount: update last_gc only when GC has been performed
CVE-2026-231617.3 HIGHmm/shmem, swap: fix race of truncate and swap entry split
CVE-2026-232047.1 HIGHnet/sched: cls_u32: use skb_header_pointer_careful()
CVE-2026-231757.0 HIGHnet: cpsw: Execute ndo_set_rx_mode callback in a work queue
CVE-2026-231807.0 HIGHdpaa2-switch: add bounds check for if_id in IRQ handler
CVE-2026-231957.0 HIGHcgroup/dmem: avoid pool UAF
CVE-2026-23210ice: Fix PTP NULL pointer dereference during VSI rebuild

Showing top 20 of 108 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2026-23206

No comments yet


Leave a comment