Linux kernelのSMB Direct処理に無限待ちにつながる脆弱性
Summary
Linux kernelのSMB Direct(smbdirect)処理で、切断時に終了イベントを待ち続けてしまい、処理が長く止まる脆弱性です。影響を受けるのは7.1.0以上7.2.15未満と7.3.0以上7.3.2未満で、7.2.15と7.3.2で修正されています。修正版への更新をおすすめします。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux kernelのSMB Direct(smbdirect)処理で、切断時に終了イベントを待ち続けてしまい、処理が長く止まる脆弱性です。影響を受けるのは7.1.0以上7.2.15未満と7.3.0以上7.3.2未満で、7.2.15と7.3.2で修正されています。修正版への更新をおすすめします。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| 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 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99564
- Debian DEBIAN-CVE-2026-99564 linux Fix available
- Ubuntu UBUNTU-CVE-2026-99564 linux-starfive-6.5, linux-starfive-6.2, linux-starfive-5.19 +105 more No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- 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