aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorDavid Disseldorp <[email protected]>2020-11-03 01:21:58 +0000
committerMartin K. Petersen <[email protected]>2021-01-11 22:06:48 +0000
commit2896c93811e39d63a4d9b63ccf12a8fbc226e5e4 (patch)
treecd8db4e327c6d581eada6b15661345939bc654bf /tools/perf/builtin-script.c
parentLinux 5.11-rc2 (diff)
downloadkernel-2896c93811e39d63a4d9b63ccf12a8fbc226e5e4.tar.gz
kernel-2896c93811e39d63a4d9b63ccf12a8fbc226e5e4.zip
scsi: target: Fix XCOPY NAA identifier lookup
When attempting to match EXTENDED COPY CSCD descriptors with corresponding se_devices, target_xcopy_locate_se_dev_e4() currently iterates over LIO's global devices list which includes all configured backstores. This change ensures that only initiator-accessible backstores are considered during CSCD descriptor lookup, according to the session's se_node_acl LUN list. To avoid LUN removal race conditions, device pinning is changed from being configfs based to instead using the se_node_acl lun_ref. Reference: CVE-2020-28374 Fixes: cbf031f425fd ("target: Add support for EXTENDED_COPY copy offload emulation") Reviewed-by: Lee Duncan <[email protected]> Signed-off-by: David Disseldorp <[email protected]> Signed-off-by: Mike Christie <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions