diff options
| author | 2026-08-11 20:48:43 +0800 | |
|---|---|---|
| committer | 2026-10-13 23:08:43 -0400 | |
| commit | e15b81f602edbdee39c335546f25486a1747f3f0 (patch) | |
| tree | 44a0e6f22696ba66c0fe39b8d6e2ec86c5bf66c0 /scripts/Makefile.thinlto | |
| parent | scsi: target: Disable interrupts while holding delayed_cmd_lock (diff) | |
scsi: target: iscsi: Fix race in discovery auth updates
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.
Fixes: e48354ce078c ("iscsi-target: Add iSCSI fabric support for target v4.1")
Signed-off-by: Linfeng Sun <linfeng.sun.dev@gmail.com>
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Link: https://patch.msgid.link/20260811124843.6817-1-linfeng.sun.dev@gmail.com
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
