================================================================== BUG: KCSAN: data-race in __blkdev_get / __blkdev_put write to 0xffff888120304784 of 4 bytes by task 25530 on cpu 1: __blkdev_get+0x7be/0xc10 fs/block_dev.c:1667 blkdev_get+0x202/0x260 fs/block_dev.c:1728 blkdev_open+0x127/0x140 fs/block_dev.c:1870 do_dentry_open+0x580/0x8e0 fs/open.c:828 vfs_open+0x43/0x50 fs/open.c:942 do_open fs/namei.c:3243 [inline] path_openat+0x185f/0x20e0 fs/namei.c:3360 do_filp_open+0xbd/0x1d0 fs/namei.c:3387 do_sys_openat2+0x33c/0x4a0 fs/open.c:1179 do_sys_open fs/open.c:1195 [inline] ksys_open include/linux/syscalls.h:1388 [inline] __do_sys_open fs/open.c:1201 [inline] __se_sys_open fs/open.c:1199 [inline] __x64_sys_open+0xe2/0x110 fs/open.c:1199 do_syscall_64+0x71/0x120 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888120304784 of 4 bytes by task 11670 on cpu 0: __blkdev_put+0x5c/0x4a0 fs/block_dev.c:1885 blkdev_put+0x1e6/0x210 fs/block_dev.c:1963 blkdev_close+0x47/0x50 fs/block_dev.c:1970 __fput+0x1df/0x460 fs/file_table.c:281 ____fput+0x11/0x20 fs/file_table.c:314 task_work_run+0x8e/0x110 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:216 [inline] __prepare_exit_to_usermode+0x1c8/0x230 arch/x86/entry/common.c:246 __syscall_return_slowpath arch/x86/entry/common.c:329 [inline] do_syscall_64+0xb9/0x120 arch/x86/entry/common.c:368 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 11670 Comm: syz-executor.4 Not tainted 5.8.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================