PT-2026-163272

CVE-2026-139231

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
In the Linux kernel, the following vulnerability has been resolved:
smb: smbdirect: don't WARN on an unexpected receive opcode
The receive completion handlers smbdirect connection recv io done(), smbdirect accept negotiate recv done() and smbdirect connect negotiate recv done() verify that the completion is a regular receive with WARN ON ONCE(wc->opcode != IB WC RECV).
But wc->opcode is controlled by the remote peer: a posted receive work request is consumed not only by an incoming SEND, but also by an RDMA Write with Immediate, which completes as IB WC RECV RDMA WITH IMM. An unauthenticated peer can transmit such a message, even before the negotiate completes, so it reaches the accept/connect negotiate handlers as well. With panic on warn set this is a remote denial of service, and otherwise it still taints the kernel and spams the log for something a peer can trigger at will.
The opcode check itself was inherited from the original client and server recv done() handlers (fs/smb/client/smbdirect.c and fs/smb/server/transport rdma.c), where an unexpected opcode was simply logged and the connection was torn down. Only the WARN ON ONCE() was added on top during the socketization rework. Drop the WARN ON ONCE() and keep the existing graceful error path, which logs the unexpected opcode (unless the status is IB WC WR FLUSH ERR) and tears the connection down.
Exploitability
Fix
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾