CVE-2026-99564: smb: smbdirect: don't wait for RDMA_CM_EVENT_DISCONNECTED in smbdirect_socket_destroy_sync()

Published Nov 19, 2026
·
Updated

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

smb: smbdirect: don't wait for RDMACMEVENTDISCONNECTED in smbdirectsocketdestroysync()

smbdirectsocketdestroysync() waited for RDMACMEVENTDISCONNECTED after smbdirectsocketcleanupwork() called rdmadisconnect(). 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: smbdirectsocketdestroy() drains the qp under rdmalockhandler(), destroys it and calls rdmadestroyid(), 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 rdmadisconnect() and ibdrainqp() before rdmadestroyid().

So smbdirectsocketdestroy() now also accepts SMBDIRECTSOCKETDISCONNECTING and changes the status to SMBDIRECTSOCKETDISCONNECTED itself under rdmalockhandler().

We could still get RDMACMEVENTDISCONNECTED in the small windows between rdmaunlockhandler() and rdmadestroyid(), but in that case smbdirectconnectionrdmaeventhandler() is basically a no-op.

Affected Software

4 affected componentsFixes available
linux/kernel>=7.1.0<7.2.15
7.2.15
linux/kernel>=7.3.0<7.3.2
7.3.2
debian/linux<7.2.15-1
7.2.15-1
debian/linux
6.1.176-16.1.192-26.12.107-16.12.117-17.3.4-17.3.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.2.15
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.2
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.2.15-1
  4. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 6.12.107-1Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1

Event History

Nov 19, 2026
CVE Published
via MITRE·02:45 PM
Data Sourced
via MITRE·02:45 PM
Description
Data Sourced
via OSV·02:45 PM
DescriptionAffected Software
Data Sourced
via NVD·03:18 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203