Linux kernelのSMB Direct処理に無限待ちにつながる脆弱性
概要
Linux kernelのSMB Direct(smbdirect)処理で、切断時に終了イベントを待ち続けてしまい、処理が長く止まる脆弱性です。影響を受けるのは7.1.0以上7.2.15未満と7.3.0以上7.3.2未満で、7.2.15と7.3.2で修正されています。修正版への更新をおすすめします。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Linux kernelのSMB Direct(smbdirect)処理で、切断時に終了イベントを待ち続けてしまい、処理が長く止まる脆弱性です。影響を受けるのは7.1.0以上7.2.15未満と7.3.0以上7.3.2未満で、7.2.15と7.3.2で修正されています。修正版への更新をおすすめします。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxLinux | — | 記載なし |
| LinuxKernel |
7.1.0 以上 7.2.15 未満→ 7.2.15 7.3.0 以上 7.3.2 未満→ 7.3.2 |
7.2.15 7.3.2 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-99564
- Debian DEBIAN-CVE-2026-99564 linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-99564 linux-starfive-6.5, linux-starfive-6.2, linux-starfive-5.19 ほか 105 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
smb: smbdirect: don't wait for RDMA_CM_EVENT_DISCONNECTED in smbdirect_socket_destroy_sync()
smbdirect_socket_destroy_sync() waited for RDMA_CM_EVENT_DISCONNECTED
after smbdirect_socket_cleanup_work() called rdma_disconnect(). That
can take very long, e.g. if the peer just disappeared, until the
rdma cm gives up, or forever if the event already happened, but the
status was overwritten afterwards.
This is not needed: smbdirect_socket_destroy() drains the qp under
rdma_lock_handler(), destroys it and calls rdma_destroy_id(), which
only waits for a currently running event handler and makes sure no
further events are delivered. The rest of the disconnect protocol
(DREQ/DREP and timewait for IB, abrupt close for iWarp) is handled
by the rdma core asynchronously. drivers/nvme/host/rdma.c also just
calls rdma_disconnect() and ib_drain_qp() before rdma_destroy_id().
So smbdirect_socket_destroy() now also accepts
SMBDIRECT_SOCKET_DISCONNECTING and changes the status to
SMBDIRECT_SOCKET_DISCONNECTED itself under rdma_lock_handler().
We could still get RDMA_CM_EVENT_DISCONNECTED in the small
windows between rdma_unlock_handler() and rdma_destroy_id(),
but in that case smbdirect_connection_rdma_event_handler()
is basically a no-op.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web nvd.nist.gov
- web github.com