Re: [PATCH] scsi: target: Fix NULL se_tpg dereference in target_complete()
From: Yehyeong Lee
Date: Fri Nov 20 2026 - 09:58:57 EST
On Sat, Jul 25, 2026 at 05:49:39PM +0900, Yehyeong Lee wrote:
> Commit a47fa41381a0 ("scsi: target: Fix NULL dereference on XCOPY
> completion") guarded target_complete() against a NULL se_tpg_wwn, which the
> EXTENDED COPY worker hits because its global xcopy_pt_tpg carries no
> se_tpg_wwn. target_complete() dereferences
> cmd->se_sess->se_tpg->se_tpg_wwn; that fix handled the innermost pointer.
This is superseded by v2:
https://lore.kernel.org/all/20260725165818.769963-1-yhlee@xxxxxxxxxxxxxxxxxx/
Best regards,
Yehyeong Lee