CVE-2026-74345: RDMA/siw: Fix endpoint/socket association handling
In the Linux kernel, the following vulnerability has been resolved:
RDMA/siw: Fix endpoint/socket association handling
Disassociating a socket from an endpoint via siwsocketdisassoc() may release the last reference on that endpoint and free it. Therefore, don't clear the endpoints socket pointer after calling that function, but within.
This fixes a:
BUG: KASAN: slab-use-after-free in siwcmworkhandler (drivers/infiniband/sw/siw/siwcm.c:1053 drivers/infiniband/sw/siw/siwcm.c:1075)
which occurred after processing a malformed MPA request during connection establishment, causing the new endpoint to be closed.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Mitigate by ensuring the system is protected against malformed MPA requests that could trigger the siw_cm_work_handler bug; for example, restrict or filter RDMA/MPA traffic at the network boundary until the kernel fix is applied.