================================================================== BUG: KCSAN: data-race in sg_common_write / sg_finish_rem_req write to 0xffff888126e1131d of 1 bytes by task 8251 on cpu 1: sg_unlink_reserve drivers/scsi/sg.c:2069 [inline] sg_finish_rem_req+0x117/0x270 drivers/scsi/sg.c:1851 sg_rq_end_io_usercontext+0x36/0x1c0 drivers/scsi/sg.c:1309 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3310 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3391 kthread+0x1d1/0x210 kernel/kthread.c:389 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read to 0xffff888126e1131d of 1 bytes by task 8997 on cpu 0: sg_start_req drivers/scsi/sg.c:1791 [inline] sg_common_write+0x659/0x8d0 drivers/scsi/sg.c:806 sg_new_write+0x82b/0x8e0 drivers/scsi/sg.c:773 sg_ioctl_common drivers/scsi/sg.c:938 [inline] sg_ioctl+0xe22/0x1870 drivers/scsi/sg.c:1163 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xcd/0x140 fs/ioctl.c:893 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:893 x64_sys_call+0x15cc/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x01 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 8997 Comm: syz.4.1459 Tainted: G W 6.11.0-syzkaller-10669-g11a299a7933e #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================