製品・ソフトウェアに関する情報
LinuxのLinux Kernelにおける無限ループに関する脆弱性
Title LinuxのLinux Kernelにおける無限ループに関する脆弱性
Summary

Linuxカーネルにおいて、以下の脆弱性が修正されました。wifi: wlcoreにおいて、十分なヘッドルームがない場合に-EAGAINではなく-ENOMEMを返すように変更されました。アップストリームのコミットe75665dd0968("wifi: wlcore: ensure skb headroom before skb_push")以来、wl1271_tx_allocate()およびそれに伴うwl1271_prepare_tx_frame()は、pskb_expand_head()が失敗した場合に-EAGAINを返します。しかし、wlcore_tx_work_locked()では、wl1271_prepare_tx_frame()からの-EAGAINの戻り値を集約バッファがいっぱいであると解釈しています。これによりコードはバッファをフラッシュし、skbをキューの先頭に戻し、同じskbをタイトなwhileループ内で即座に再試行します。wlcore_tx_work_locked()はwl-mutexを保持しており、再試行はGFP_ATOMICで即座に行われるため、無限ループによるCPUのソフトロックアップが発生します。パケットを破棄してループを終了させるため、代わりに-ENOMEMを返します。この問題はv6.18.yへのバックポートをレビュー中に、gemini-3.1-proに基づく実験的コードレビューエージェントによって発見されました。

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

リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date April 24, 2026, midnight
Registration Date April 30, 2026, 12:09 p.m.
Last Update April 30, 2026, 12:09 p.m.
CVSS3.0 : 重要
Score 7.5
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected System
Linux
Linux Kernel 5.10.250 以上 5.10.253 未満
Linux Kernel 5.15.200 以上 5.15.203 未満
Linux Kernel 6.1.163 以上 6.1.167 未満
Linux Kernel 6.12.70 以上 6.12.78 未満
Linux Kernel 6.18.10 以上 6.18.20 未満
Linux Kernel 6.19
Linux Kernel 6.19.1 以上 6.19.10 未満
Linux Kernel 6.6.124 以上 6.6.130 未満
Linux Kernel 7.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2026年04月30日]
  掲載
April 30, 2026, 12:09 p.m.

NVD Vulnerability Information
CVE-2026-31552
Summary

In the Linux kernel, the following vulnerability has been resolved:

wifi: wlcore: Return -ENOMEM instead of -EAGAIN if there is not enough headroom

Since upstream commit e75665dd0968 ("wifi: wlcore: ensure skb headroom
before skb_push"), wl1271_tx_allocate() and with it
wl1271_prepare_tx_frame() returns -EAGAIN if pskb_expand_head() fails.
However, in wlcore_tx_work_locked(), a return value of -EAGAIN from
wl1271_prepare_tx_frame() is interpreted as the aggregation buffer being
full. This causes the code to flush the buffer, put the skb back at the
head of the queue, and immediately retry the same skb in a tight while
loop.

Because wlcore_tx_work_locked() holds wl->mutex, and the retry happens
immediately with GFP_ATOMIC, this will result in an infinite loop and a
CPU soft lockup. Return -ENOMEM instead so the packet is dropped and
the loop terminates.

The problem was found by an experimental code review agent based on
gemini-3.1-pro while reviewing backports into v6.18.y.

Publication Date April 25, 2026, 12:16 a.m.
Registration Date April 25, 2026, 4:07 a.m.
Last Update April 28, 2026, 12:16 a.m.
Related information, measures and tools
Common Vulnerabilities List