diff options
| author | Linfeng Sun <linfeng.sun.dev@gmail.com> | 2026-08-11 20:48:43 +0800 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-10-13 23:08:43 -0400 |
| commit | e15b81f602edbdee39c335546f25486a1747f3f0 (patch) | |
| tree | 44a0e6f22696ba66c0fe39b8d6e2ec86c5bf66c0 /tools/lib/python | |
| parent | 04a67a8b1a4460345d22fe75d93430cbf7e651d7 (diff) | |
| download | linux-next-e15b81f602edbdee39c335546f25486a1747f3f0.tar.gz linux-next-e15b81f602edbdee39c335546f25486a1747f3f0.zip | |
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 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
