CVE-2026-31536: smb: server: let send_done handle a completion without IB_SEND_SIGNALED
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
smb: server: let send_done handle a completion without IB_SEND_SIGNALED
With smbdirect_send_batch processing we likely have requests without IB_SEND_SIGNALED, which will be destroyed in the final request that has IB_SEND_SIGNALED set.
If the connection is broken all requests are signaled even without explicit IB_SEND_SIGNALED.
The Linux kernel CVE team has assigned CVE-2026-31536 to this issue.
Affected and fixed versions
===========================
Fixed in 6.18.11 with commit 24082642654f3e5149913946e89c00a297a8868f Fixed in 6.19.1 with commit e38b415c024bc3b6321bf8650dbf3f4aab8e74b3 Fixed in 7.0 with commit 9da82dc73cb03e85d716a2609364572367a5ff47
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-31536
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/smb/server/transport_rdma.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/24082642654f3e5149913946e89c00a297a8868f https://git.kernel.org/stable/c/e38b415c024bc3b6321bf8650dbf3f4aab8e74b3 https://git.kernel.org/stable/c/9da82dc73cb03e85d716a2609364572367a5ff47