Skip to content
High 7.5

Linux Kernelのksmbdで認証前の攻撃者によりSMB-Direct接続が受け付けられなくなる脆弱性

CVE-2026-99563 First seen on SecPulse

Summary

認証されていない攻撃者が、失敗した接続を大量に残してバックログを埋めることで、ksmbdがSMB-Directの新しい接続を受け付けられなくなるおそれがあります。影響するのはLinux Kernel 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.

認証されていない攻撃者が、失敗した接続を大量に残してバックログを埋めることで、ksmbdがSMB-Directの新しい接続を受け付けられなくなるおそれがあります。影響するのはLinux Kernel 7.1.0以降7.2.15未満と、7.3.0以降7.3.2未満です。修正版は7.2.15と7.3.2で、該当する版を使っている場合は修正版への更新を優先してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 7.1.0, < 7.2.15→ 7.2.15
≥ 7.3.0, < 7.3.2→ 7.3.2

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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

smb: smbdirect: release failed pending sockets of a listener

A child of a listener only left the listen.pending or listen.ready
list via smbdirect_socket_accept() or when the listener was
destroyed. So every connection that failed before it was accepted
(negotiate timeout, peer disconnect, invalid negotiate request, ...)
stayed on the list and counted against the backlog until the listener
was destroyed. After about backlog (10 for ksmbd) such connections
smbdirect_listen_connect_request() rejected every new connection with
-EBUSY, so an unauthenticated peer was able to permanently stop
ksmbd from accepting SMB-Direct connections.

Now a failed child moves itself to a new listen.orphaned list at the
end of smbdirect_socket_cleanup_work(), after the disconnect was
started, and queues listen.purge_orphaned_work, which releases it
with smbdirect_socket_release(), without holding the listener's
rdma_lock_handler() lock, in the same way smbdirect_socket_destroy()
does for the remaining children. Orphaned sockets still count against
the backlog until they are released.

sc->accept.listener is now only changed under listener->listen.lock
and whoever clears it is responsible for releasing the socket:
smbdirect_socket_accept(), purge_orphaned_work or the destroy of the
listener.

In order to make that work:

  • a struct smbdirect_socket that is a listener is now freed via
    kfree_rcu(), so that a child can dereferenc…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details