Re: [PATCH v2] IB/iser: reject a remote invalidation of an unregistered direction

From: Leon Romanovsky

Date: Wed Sep 02 2026 - 09:15:34 EST



On Wed, 19 Aug 2026 10:08:04 +0900, Yehyeong Lee wrote:
> A write command whose data is sent entirely as immediate data is not
> registered. iser_reg_mem_fastreg() takes the DMA key path and leaves
> rdma_reg[ISER_DIR_OUT].desc at NULL, while iser_dma_map_task_data() has
> already set dir[ISER_DIR_OUT].
>
> iser_check_remote_inv() looks at dir[] alone and hands the descriptor to
> iser_inv_desc(), which reads desc->sig_protected. A target that answers
> such a command with IB_WR_SEND_WITH_INV faults the initiator.
> Leaving those commands unregistered is deliberate.
>
> [...]

Applied, thanks!

[1/1] IB/iser: reject a remote invalidation of an unregistered direction
https://git.kernel.org/rdma/rdma/c/d85f0f0a7c8575

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>