Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-38513

MEDIUM 5.5EPSS 14%

wifi: zd1211rw: Fix potential NULL pointer dereference in zd_mac_tx_to_dev()

Mitigation

  • Upgrade Linux to 74b1ec9f5d627d2bdd5e5b6f3f81c23317657023 or later.

Who should check

  • Anyone running Linux >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < c1958270de947604cc6de05fc96dbba256b49cf0; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 014c34dc132015c4f918ada4982e952947ac1047; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < b24f65c184540dfb967479320ecf7e8c2e9220dc; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < adf08c96b963c7cd7ec1ee1c0c556228d9bedaae; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 5420de65efbeb6503bcf1d43451c9df67ad60298; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < fcd9c923b58e86501450b9b442ccc7ce4a8d0fda; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 602b4eb2f25668de15de69860ec99caf65b3684d; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 74b1ec9f5d627d2bdd5e5b6f3f81c23317657023
  • Anyone running Linux 2.6.25

Vulnerability facts

Affected
Linux >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < c1958270de947604cc6de05fc96dbba256b49cf0; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 014c34dc132015c4f918ada4982e952947ac1047; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < b24f65c184540dfb967479320ecf7e8c2e9220dc; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < adf08c96b963c7cd7ec1ee1c0c556228d9bedaae; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 5420de65efbeb6503bcf1d43451c9df67ad60298; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < fcd9c923b58e86501450b9b442ccc7ce4a8d0fda; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 602b4eb2f25668de15de69860ec99caf65b3684d; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 74b1ec9f5d627d2bdd5e5b6f3f81c23317657023; Linux 2.6.25
Fixed in
Linux 014c34dc132015c4f918ada4982e952947ac1047, Linux 5420de65efbeb6503bcf1d43451c9df67ad60298, Linux 602b4eb2f25668de15de69860ec99caf65b3684d, Linux 74b1ec9f5d627d2bdd5e5b6f3f81c23317657023
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: zd1211rw: Fix potential NULL pointer dereference in zd_mac_tx_to_dev() There is a potential NULL pointer dereference in zd_mac_tx_to_dev(). For example, the following is possible: T0 T1 zd_mac_tx_to_dev() /* len == skb_queue_len(q) */ while (len > ZD_MAC_MAX_ACK_WAITERS) { filter_ack() spin_lock_irqsave(&q->lock, flags); /* position == skb_queue_len(q) */ for (i=1; i<position; i++) skb = __skb_dequeue(q) if (mac->type == NL80211_IFTYPE_AP) skb = __skb_dequeue(q); spin_unlock_irqrestore(&q->lock, flags); skb_dequeue() -> NULL Since there is a small gap between checking skb queue length and skb being unconditionally dequeued in zd_mac_tx_to_dev(), skb_dequeue() can return NULL. Then the pointer is passed to zd_mac_tx_status() where it is dereferenced. In order to avoid potential NULL pointer dereference due to situations like above, check if skb is not NULL before passing it to zd_mac_tx_status(). Found by Linux Verification Center (linuxtesting.org) with SVACE.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < c1958270de947604cc6de05fc96dbba256b49cf0; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 014c34dc132015c4f918ada4982e952947ac1047; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < b24f65c184540dfb967479320ecf7e8c2e9220dc; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < adf08c96b963c7cd7ec1ee1c0c556228d9bedaae; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 5420de65efbeb6503bcf1d43451c9df67ad60298; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < fcd9c923b58e86501450b9b442ccc7ce4a8d0fda; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 602b4eb2f25668de15de69860ec99caf65b3684d; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 74b1ec9f5d627d2bdd5e5b6f3f81c23317657023—cvelist
Linux2.6.25—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-38513. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38513.md
Affected: Linux >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < c1958270de947604cc6de05fc96dbba256b49cf0; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 014c34dc132015c4f918ada4982e952947ac1047; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < b24f65c184540dfb967479320ecf7e8c2e9220dc; >= 459c51ad6e1fc19e91a5379…
Fixed in: Linux 014c34dc132015c4f918ada4982e952947ac1047, Linux 5420de65efbeb6503bcf1d43451c9df67ad60298, Linux 602b4eb2f25668de15de69860ec99caf65b3684d, Linux 74b1ec9f5d627d2bdd5e5b6f3f81c23317657023

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-38513 being exploited?

There is no confirmed exploitation: CVE-2025-38513 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-38513?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-38513?

Linux >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < c1958270de947604cc6de05fc96dbba256b49cf0; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 014c34dc132015c4f918ada4982e952947ac1047; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < b24f65c184540dfb967479320ecf7e8c2e9220dc; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < adf08c96b963c7cd7ec1ee1c0c556228d9bedaae; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 5420de65efbeb6503bcf1d43451c9df67ad60298; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < fcd9c923b58e86501450b9b442ccc7ce4a8d0fda; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 602b4eb2f25668de15de69860ec99caf65b3684d; >= 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 74b1ec9f5d627d2bdd5e5b6f3f81c23317657023; Linux 2.6.25.

Is there a fix for CVE-2025-38513?

Yes. Fixed in Linux 014c34dc132015c4f918ada4982e952947ac1047, Linux 5420de65efbeb6503bcf1d43451c9df67ad60298, Linux 602b4eb2f25668de15de69860ec99caf65b3684d, Linux 74b1ec9f5d627d2bdd5e5b6f3f81c23317657023. Upgrade Linux to 74b1ec9f5d627d2bdd5e5b6f3f81c23317657023 or later.

How do I check if I'm affected by CVE-2025-38513?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors