Re: [PATCH v4 1/2] IB/isert: delay the final Login Response until the session is registered
From: Leon Romanovsky
Date: Thu Aug 06 2026 - 06:27:07 EST
On Fri, 31 Jul 2026 13:12:11 +0900, Yehyeong Lee wrote:
> isert_put_login_tx() puts the final Login Response on the wire before
> __transport_register_session(), which iscsi_post_login_handler() reaches
> only after iscsi_target_do_login() returns. An initiator that issues a
> SCSI command as soon as it sees that response can have it executed against
> an se_session whose se_tpg is still NULL, and the ib-comp-wq worker oopses
> on the NULL dereference.
>
> [...]
Applied, thanks!
[1/2] IB/isert: delay the final Login Response until the session is registered
https://git.kernel.org/rdma/rdma/c/464f5afa92d071
[2/2] IB/isert: post the full-feature receive buffers after session registration
https://git.kernel.org/rdma/rdma/c/5247dde9daac7e
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>