製品・ソフトウェアに関する情報
Debian等の複数ベンダの製品におけるNULL ポインタデリファレンスに関する脆弱性
Title Debian等の複数ベンダの製品におけるNULL ポインタデリファレンスに関する脆弱性
Summary

Linuxカーネルのwifiドライバーzd1211rwにおいて、zd_mac_tx_to_dev関数でNULLポインタが参照される可能性がありましたが、この問題は修正されました。skbキューの長さを確認した後、タイミングのギャップが発生することで、skb_dequeueがNULLを返し、結果としてNULLポインタが参照されることがありました。この問題を防ぐため、skbがNULLでないことを確認してから処理を行うように修正されました。この脆弱性はLinux Verification CenterおよびSVACEによって発見されました。

Possible impacts 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Aug. 16, 2025, midnight
Registration Date Jan. 9, 2026, 4:23 p.m.
Last Update Jan. 9, 2026, 4:23 p.m.
CVSS3.0 : 警告
Score 5.5
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected System
Debian
Debian GNU/Linux 11.0
Linux
Linux Kernel 2.6.25 以上 5.4.296 未満
Linux Kernel 5.11 以上 5.15.189 未満
Linux Kernel 5.16 以上 6.1.146 未満
Linux Kernel 5.5 以上 5.10.240 未満
Linux Kernel 6.13 以上 6.15.7 未満
Linux Kernel 6.16
Linux Kernel 6.2 以上 6.6.99 未満
Linux Kernel 6.7 以上 6.12.39 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年01月09日]
  掲載
Jan. 9, 2026, 4:23 p.m.

NVD Vulnerability Information
CVE-2025-38513
Summary

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.

Publication Date Aug. 16, 2025, 8:15 p.m.
Registration Date Aug. 17, 2025, 4 a.m.
Last Update Aug. 16, 2025, 8:15 p.m.
Related information, measures and tools
Common Vulnerabilities List