================================================================== BUG: KCSAN: data-race in assign_work / queue_work_on read-write (marked) to 0xffff888101734290 of 8 bytes by task 2974 on cpu 0: instrument_atomic_read_write include/linux/instrumented.h:113 [inline] test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:71 [inline] queue_work_on+0x42/0x150 kernel/workqueue.c:2597 queue_work include/linux/workqueue.h:700 [inline] loop_queue_work drivers/block/loop.c:769 [inline] loop_queue_rq+0x5d2/0x6a0 drivers/block/loop.c:1811 blk_mq_dispatch_rq_list+0x624/0xf60 block/blk-mq.c:2141 __blk_mq_sched_dispatch_requests+0x1ff/0xd00 block/blk-mq-sched.c:299 blk_mq_sched_dispatch_requests+0xad/0x160 block/blk-mq-sched.c:329 blk_mq_run_hw_queue+0x163/0x200 block/blk-mq.c:2380 blk_mq_run_hw_queues+0x1ca/0x2d0 block/blk-mq.c:2428 blk_mq_requeue_work+0x3ca/0x400 block/blk-mq.c:1592 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0x582/0xab0 kernel/workqueue.c:3578 worker_thread+0x56c/0x770 kernel/workqueue.c:3659 kthread+0x248/0x2a0 kernel/kthread.c:436 ret_from_fork+0x146/0x330 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 read to 0xffff888101734290 of 8 bytes by task 2264 on cpu 1: move_linked_works kernel/workqueue.c:1211 [inline] assign_work+0x1c5/0x310 kernel/workqueue.c:1272 worker_thread+0x55b/0x770 kernel/workqueue.c:3658 kthread+0x248/0x2a0 kernel/kthread.c:436 ret_from_fork+0x146/0x330 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 2264 Comm: kworker/u8:11 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: 0x0 (loop2) ==================================================================