[PATCH nvme] nvmet-rdma: reject short connection requests

Keith Busch kbusch at kernel.org
Wed Oct 28 08:37:04 PDT 2026


On Fri, Oct 16, 2026 at 10:23:38AM -0700, bestswngs at gmail.com wrote:
> From: Weiming Shi <bestswngs at gmail.com>
> 
> nvmet_rdma_parse_cm_connect_req() treats RDMA-CM private data as a
> struct nvme_rdma_cm_req but accepts any nonzero private_data_len.  The
> iWARP path allocates exactly the peer-provided length, so a six-byte MPA
> request reaches the parser and the hsqsize load reads two bytes past the
> allocation.

Thanks, applied to nvme-7.4.

The sashiko complaint does not look related to this patch and can be
addressed separately.



More information about the Linux-nvme mailing list