================================================================== BUG: KCSAN: data-race in sg_common_write / sg_finish_rem_req write to 0xffff888117b7b31d of 1 bytes by task 3407 on cpu 1: sg_unlink_reserve drivers/scsi/sg.c:2062 [inline] sg_finish_rem_req+0x11f/0x270 drivers/scsi/sg.c:1844 sg_rq_end_io_usercontext+0x38/0x1c0 drivers/scsi/sg.c:1303 process_one_work kernel/workqueue.c:3275 [inline] process_scheduled_works+0x4de/0x9e0 kernel/workqueue.c:3358 worker_thread+0x581/0x770 kernel/workqueue.c:3439 kthread+0x22a/0x280 kernel/kthread.c:467 ret_from_fork+0x150/0x360 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 read to 0xffff888117b7b31d of 1 bytes by task 5818 on cpu 0: sg_start_req drivers/scsi/sg.c:1784 [inline] sg_common_write+0x952/0xc80 drivers/scsi/sg.c:802 sg_new_write+0x7e4/0x8c0 drivers/scsi/sg.c:769 sg_ioctl_common drivers/scsi/sg.c:933 [inline] sg_ioctl+0xbf8/0x1350 drivers/scsi/sg.c:1158 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xce/0x140 fs/ioctl.c:583 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:583 x64_sys_call+0x1563/0x3020 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x12c/0x370 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x01 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 5818 Comm: syz.0.574 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 ==================================================================