================================================================== BUG: KCSAN: data-race in blkdev_get_by_dev / blkdev_put write to 0xffff888101b7a0a8 of 4 bytes by task 1806 on cpu 0: blkdev_get_by_dev+0xa58/0xcf0 blkdev_open+0xb3/0x140 block/fops.c:503 do_dentry_open+0x52c/0x860 fs/open.c:824 vfs_open+0x43/0x50 fs/open.c:959 do_open fs/namei.c:3476 [inline] path_openat+0x170c/0x1f30 fs/namei.c:3609 do_filp_open+0x105/0x220 fs/namei.c:3636 do_sys_openat2+0xb5/0x2b0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1241 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888101b7a0a8 of 4 bytes by task 1440 on cpu 1: blkdev_put+0x3b/0x4a0 block/bdev.c:899 blkdev_close+0x32/0x40 block/fops.c:517 __fput+0x295/0x520 fs/file_table.c:317 ____fput+0x11/0x20 fs/file_table.c:350 task_work_run+0x8e/0x110 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x160/0x190 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:300 do_syscall_64+0x50/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000001 -> 0x00000002 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1440 Comm: udevd Not tainted 5.17.0-rc7-syzkaller-00078-g3bf7edc84a9e-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================