Re: [PATCH rdma-rc] RDMA/siw: Reject an MPA reply too short for the IRD/ORD block
From: Leon Romanovsky
Date: Tue Dec 01 2026 - 14:11:42 EST
On Sat, 28 Nov 2026 09:08:38 -0500, Andrew Stellman wrote:
> When a siw initiator uses enhanced connection setup (MPA v2),
> siw_proc_mpareply() reads the IRD/ORD block from the reply's private
> data without checking that the responder sent one. The responder
> chooses the PD_Length of its reply.
>
> With a PD_Length of 0 there is no private data buffer and siw
> dereferences NULL:
>
> [...]
Applied, thanks!
[1/1] RDMA/siw: Reject an MPA reply too short for the IRD/ORD block
https://git.kernel.org/rdma/rdma/c/d0249cf2185a0c
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>