This patchset fixes a race condition due to incorrect usage of RCU for se_dev_entry.se_lun variable when ACL is being removed. Based on 5.20/scsi-queue. v2: add more details in commit message fix misformatting Dmitry Bogdanov (2): target: core: fix race during ACL removal target: core: de-RCU of se_lun and se_lun acl drivers/target/target_core_alua.c | 3 +-- drivers/target/target_core_device.c | 32 ++++++++++------------------- drivers/target/target_core_pr.c | 28 ++++++++----------------- drivers/target/target_core_stat.c | 10 ++++----- drivers/target/target_core_xcopy.c | 2 +- include/target/target_core_base.h | 4 ++-- 6 files changed, 27 insertions(+), 52 deletions(-) -- 2.25.1