Linux カーネルのSMBクライアントに解放済みメモリ参照の脆弱性、修正版で対応
概要
Linux カーネルのSMBクライアント(smb: client)で、受信エラーのあとも読み取り応答の処理を続けてしまい、解放済みのメモリを参照する脆弱性です。影響を受けるのは6.3以降の一部版で、修正版は6.12.117、6.18.61、7.3.2です。CVSSは7.5で、利用中のカーネルの版を確かめ、修正版へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Linux カーネルのSMBクライアント(smb: client)で、受信エラーのあとも読み取り応答の処理を続けてしまい、解放済みのメモリを参照する脆弱性です。影響を受けるのは6.3以降の一部版で、修正版は6.12.117、6.18.61、7.3.2です。CVSSは7.5で、利用中のカーネルの版を確かめ、修正版へ更新してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxLinux | — | 記載なし |
| LinuxKernel |
6.3.0 以上 6.6.163 未満→ 6.6.163 6.7.0 以上 6.12.117 未満→ 6.12.117 6.13.0 以上 6.18.61 未満→ 6.18.61 6.19.0 以上 7.3.2 未満→ 7.3.2 |
6.6.163 6.12.117 6.18.61 7.3.2 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-99295 linux-lts 修正版あり
- Debian DEBIAN-CVE-2026-99295 linux-6.12, linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-99295 linux-xilinx-zynqmp, linux-xilinx, linux-vmware ほか 166 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
smb: client: stop processing a read response after a receive error
cifs_read_iter_from_socket() may call cifs_reconnect() before returning an
error. The reconnect path aborts pending mids and invokes their callbacks.
The callback can then release the cifs_io_subrequest containing rdata.
cifs_readv_receive() nevertheless continues after a negative return and may
dereference rdata in cifs_readv_discard(). KASAN reports the resulting
UAF:
BUG: KASAN: slab-use-after-free in cifs_readv_receive
Read of size 4 by task cifsd
cifs_readv_receive (fs/smb/client/transport.c:1284)
cifs_demultiplex_thread (fs/smb/client/connect.c:1355)
kthread (kernel/kthread.c:436)
ret_from_fork (arch/x86/kernel/process.c:158)
Freed by task 148:
netfs_put_subrequest (fs/netfs/objects.c:267)
netfs_read_collection (fs/netfs/read_collect.c:460)
netfs_wait_for_in_progress (fs/netfs/misc.c:462)
Return the socket error immediately, as this path did before the iterator
conversion. This also avoids adding a negative length to total_read.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory nvd.nist.gov
- advisory github.com
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com
- web git.kernel.org