LinuxのLinux Kernelにおける無限ループに関する脆弱性
タイトル LinuxのLinux Kernelにおける無限ループに関する脆弱性
概要

Linuxカーネルにおいて、以下の脆弱性が修正されました。BluetoothのL2CAPにおいて、ERTMの再初期化処理とpdu_lenがゼロの場合に発生する無限ループを修正しました。l2cap_config_req()はBT_CONNECTED状態のチャネルに対するCONFIG_REQを処理し、L2CAPの再構成(例えばMTU変更)をサポートします。しかし、CONF_INPUT_DONEとCONF_OUTPUT_DONEの両方が初期設定から既に有効となっているため、再構成の処理はl2cap_ertm_init()に進み、ここでtx_q、srej_q、srej_list、retrans_listを以前の割り当てを解放せずに再初期化し、chan-sduを既存のskbを解放せずにNULLに設定してしまいます。このため、以前に割り当てられたすべてのERTMリソースがリークする問題がありました。さらに、l2cap_parse_conf_req()はRFCのmax_pdu_sizeオプションから派生したremote_mpsの最小値を検証していませんでした。ゼロの値がl2cap_segment_sdu()に渡され、pdu_lenがゼロになることでlenが減少せず、whileループが終了しない問題が発生し、利用可能なメモリを使い果たしてしまいました。チャネルがすでにBT_CONNECTED状態である場合には、l2cap_ertm_init()とl2cap_chan_ready()の二重初期化を防止してスキップしつつ、l2cap_parse_conf_req()を通じて再構成パラメータの更新を許可します。また、安全策としてl2cap_segment_sdu()内にpdu_lenがゼロかどうかのチェックも追加しました。

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

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

公表日 2026年4月22日0:00
登録日 2026年4月30日12:15
最終更新日 2026年4月30日12:15
CVSS3.0 : 警告
スコア 5.5
ベクター CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
影響を受けるシステム
Linux
Linux Kernel 4.14.200 以上 4.15 未満
Linux Kernel 4.19.149 以上 4.20 未満
Linux Kernel 4.4.238 以上 4.5 未満
Linux Kernel 4.9.238 以上 4.10 未満
Linux Kernel 5.11 以上 5.15.203 未満
Linux Kernel 5.16 以上 6.1.168 未満
Linux Kernel 5.4.69 以上 5.5 未満
Linux Kernel 5.7
Linux Kernel 5.7.1 以上 5.10.253 未満
Linux Kernel 6.13 以上 6.18.21 未満
Linux Kernel 6.19 以上 6.19.11 未満
Linux Kernel 6.2 以上 6.6.131 未満
Linux Kernel 6.7 以上 6.12.80 未満
Linux Kernel 7.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2026年04月30日]
  掲載
2026年4月30日12:15

NVD脆弱性情報
CVE-2026-31498
概要

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

Bluetooth: L2CAP: Fix ERTM re-init and zero pdu_len infinite loop

l2cap_config_req() processes CONFIG_REQ for channels in BT_CONNECTED
state to support L2CAP reconfiguration (e.g. MTU changes). However,
since both CONF_INPUT_DONE and CONF_OUTPUT_DONE are already set from
the initial configuration, the reconfiguration path falls through to
l2cap_ertm_init(), which re-initializes tx_q, srej_q, srej_list, and
retrans_list without freeing the previous allocations and sets
chan->sdu to NULL without freeing the existing skb. This leaks all
previously allocated ERTM resources.

Additionally, l2cap_parse_conf_req() does not validate the minimum
value of remote_mps derived from the RFC max_pdu_size option. A zero
value propagates to l2cap_segment_sdu() where pdu_len becomes zero,
causing the while loop to never terminate since len is never
decremented, exhausting all available memory.

Fix the double-init by skipping l2cap_ertm_init() and
l2cap_chan_ready() when the channel is already in BT_CONNECTED state,
while still allowing the reconfiguration parameters to be updated
through l2cap_parse_conf_req(). Also add a pdu_len zero check in
l2cap_segment_sdu() as a safeguard.

公表日 2026年4月22日23:16
登録日 2026年4月25日4:05
最終更新日 2026年4月28日23:41
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.4.238 4.5
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.9.238 4.10
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.14.200 4.15
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.19.149 4.20
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.4.69 5.5
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.7.1 5.10.253
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 5.15.203
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 6.1.168
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 6.6.131
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 6.12.80
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 6.18.21
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 6.19.11
cpe:2.3:o:linux:linux_kernel:5.7:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧