================================================================== BUG: KCSAN: data-race in blkdev_get_by_dev / blkdev_put write to 0xffff8881010a9120 of 4 bytes by task 26696 on cpu 0: blkdev_get_by_dev+0xa26/0xca0 blkdev_open+0xb3/0x130 block/fops.c:448 do_dentry_open+0x52c/0x860 fs/open.c:822 vfs_open+0x43/0x50 fs/open.c:945 do_open fs/namei.c:3428 [inline] path_openat+0x17c3/0x1ec0 fs/namei.c:3561 do_filp_open+0x105/0x220 fs/namei.c:3588 do_sys_openat2+0xb5/0x2b0 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_open fs/open.c:1224 [inline] __se_sys_open fs/open.c:1220 [inline] __x64_sys_open+0xe2/0x110 fs/open.c:1220 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881010a9120 of 4 bytes by task 27438 on cpu 1: blkdev_put+0x3b/0x4c0 block/bdev.c:908 blkdev_close+0x45/0x50 block/fops.c:460 __fput+0x295/0x520 fs/file_table.c:280 ____fput+0x11/0x20 fs/file_table.c:313 task_work_run+0xae/0x130 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x156/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/0xa0 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: 27438 Comm: syz-executor.5 Not tainted 5.15.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== loop5: detected capacity change from 0 to 1024 EXT4-fs (loop5): bad geometry: block count 1610613248 exceeds size of device (512 blocks)