================================================================== BUG: KCSAN: data-race in kthread_stop / set_pf_worker write to 0xffff8880b48bd0a4 of 4 bytes by task 30184 on cpu 1: set_pf_worker+0x58/0xb0 kernel/workqueue.c:2334 rescuer_thread+0x7f/0x6a0 kernel/workqueue.c:2469 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 read to 0xffff8880b48bd0a4 of 4 bytes by task 30182 on cpu 0: to_kthread kernel/kthread.c:75 [inline] kthread_stop+0x9e/0x390 kernel/kthread.c:555 destroy_workqueue+0xd9/0x4b0 kernel/workqueue.c:4364 ucma_close+0x192/0x1b0 drivers/infiniband/core/ucma.c:1771 __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:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x384/0x3a0 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 30182 Comm: syz-executor.2 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================