================================================================== BUG: KCSAN: data-race in exit_signals / kthread_unpark write to 0xffff888095464024 of 4 bytes by task 15966 on cpu 1: exit_signals+0x13b/0x490 kernel/signal.c:2822 do_exit+0x18b/0x18f0 kernel/exit.c:763 kthread+0x17f/0x200 drivers/block/aoe/aoecmd.c:1242 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 read to 0xffff888095464024 of 4 bytes by task 16094 on cpu 0: to_kthread kernel/kthread.c:75 [inline] kthread_unpark+0x24/0xe0 kernel/kthread.c:474 kthread_stop+0x97/0x2d0 kernel/kthread.c:557 loop_unprepare_queue drivers/block/loop.c:883 [inline] __loop_clr_fd+0x3ad/0x720 drivers/block/loop.c:1145 lo_release+0x153/0x160 drivers/block/loop.c:1817 __blkdev_put+0x2cf/0x420 fs/block_dev.c:1867 blkdev_put+0x89/0x2f0 fs/block_dev.c:1929 blkdev_close+0x52/0x60 fs/block_dev.c:1936 __fput+0x1e1/0x520 fs/file_table.c:280 ____fput+0x1f/0x30 fs/file_table.c:313 task_work_run+0xf6/0x130 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2b4/0x2c0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x353/0x370 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 16094 Comm: blkid Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================