5.5

CVE-2025-38513: wifi: zd1211rw: Fix potential NULL pointer dereference in zd_mac_tx_to_dev()

Analyzed
AliasesUBUNTU-CVE-2025-38513DEBIAN-CVE-2025-38513
Published 16-08-2025Last modified 11-05-2026

Vulnerability summary

CVE-2025-38513 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in debian debian_linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 10.2% of scored vulnerabilities.

Priority
Routine

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

CIRCL last checked 06-12-2026

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.20%
0%100%
Low · +0.03 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 50 · Related 48

Timeline

  1. 16-08-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

10%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.17% on 05-11-2026

05-11-202605-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.

Ubuntu148 products
  • linuxAll versions (No fix recorded) | < 5.15.0-156.166 | < 6.8.0-100.100
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1092.99 | < 6.8.0-1046.49
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
  • linux< 6.1.147-1 | < 6.12.41-1 | < 6.16.3-1
  • debian_linuxEOL11.0
Linux2 products
  • linux≥ 459c51ad6e1fc19e91a53798358433d3c08cd09d, < c1958270de947604cc6de05fc96dbba256b49cf0 | ≥ 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 014c34dc132015c4f918ada4982e952947ac1047 | ≥ 459c51ad6e1fc19e91a53798358433d3c08cd09d, < b24f65c184540dfb967479320ecf7e8c2e9220dc | ≥ 459c51ad6e1fc19e91a53798358433d3c08cd09d, < adf08c96b963c7cd7ec1ee1c0c556228d9bedaae | ≥ 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 5420de65efbeb6503bcf1d43451c9df67ad60298 | ≥ 459c51ad6e1fc19e91a53798358433d3c08cd09d, < fcd9c923b58e86501450b9b442ccc7ce4a8d0fda | ≥ 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 602b4eb2f25668de15de69860ec99caf65b3684d | ≥ 459c51ad6e1fc19e91a53798358433d3c08cd09d, < 74b1ec9f5d627d2bdd5e5b6f3f81c23317657023 | 2.6.25
  • linux_kernel≥ 2.6.25, < 5.4.296 | ≥ 5.5, < 5.10.240 | ≥ 5.11, < 5.15.189 | ≥ 5.16, < 6.1.146 | ≥ 6.2, < 6.6.99 | ≥ 6.7, < 6.12.39 | ≥ 6.13, < 6.15.7 | 6.16:rc1 | 6.16:rc2 | 6.16:rc3 | 6.16:rc4 | 6.16:rc5

3 vendors · 152 products

References

46 links
Show all 46 references