PT-2026-163272

CVE-2026-139231

·

تاريخ النشر

2026-11-30

·

تاريخ التحديث

2026-11-30

الوصف من

CVSS 3.1
7.5
عالية
المقاييسAV: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.
قابلية الاستغلال
إصلاح
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾