Re: [PATCH] scsi: target: iscsi: Fix race in discovery auth updates
From: Martin K. Petersen (Oracle)
Date: Tue Oct 13 2026 - 23:57:41 EST
On Tue, 11 Aug 2026 20:48:43 +0800, Linfeng Sun wrote:
> Separate configfs opens can concurrently update the discovery AuthMethod
> parameter. Both callers may free the same value in
> iscsi_update_param_value(), causing a double-free.
>
> Protect the lookup and replacement with the discovery TPG access lock, as
> used by the other TPG configfs parameter updates.
>
> [...]
Applied to 7.3/scsi-fixes, thanks!
[1/1] scsi: target: iscsi: Fix race in discovery auth updates
https://git.kernel.org/mkp/scsi/c/e15b81f602ed
--
Martin K. Petersen