Debian等の複数ベンダの製品におけるNULL ポインタデリファレンスに関する脆弱性
タイトル Debian等の複数ベンダの製品におけるNULL ポインタデリファレンスに関する脆弱性
概要

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

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

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

公表日 2025年8月16日0:00
登録日 2026年1月9日16:23
最終更新日 2026年1月9日16:23
CVSS3.0 : 警告
スコア 5.5
ベクター CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
影響を受けるシステム
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 (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2026年01月09日]
  掲載
2026年1月9日16:23

NVD脆弱性情報
CVE-2025-38513
概要

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.

公表日 2025年8月16日20:15
登録日 2025年8月17日4:00
最終更新日 2025年8月16日20:15
関連情報、対策とツール
共通脆弱性一覧