================================================================== BUG: KCSAN: data-race in blkdev_get_by_dev / blkdev_put write to 0xffff888101bdf768 of 4 bytes by task 11543 on cpu 0: blkdev_get_by_dev+0x88b/0x9e0 blkdev_open+0xac/0x140 block/fops.c:498 do_dentry_open+0x519/0x830 fs/open.c:824 vfs_open+0x43/0x50 fs/open.c:958 do_open fs/namei.c:3476 [inline] path_openat+0x16cf/0x1b30 fs/namei.c:3609 do_filp_open+0x105/0x220 fs/namei.c:3636 do_sys_openat2+0xb5/0x2a0 fs/open.c:1213 do_sys_open fs/open.c:1229 [inline] __do_sys_openat fs/open.c:1245 [inline] __se_sys_openat fs/open.c:1240 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1240 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888101bdf768 of 4 bytes by task 28639 on cpu 1: blkdev_put+0x3b/0x440 block/bdev.c:902 blkdev_close+0x32/0x40 block/fops.c:512 __fput+0x292/0x510 fs/file_table.c:317 ____fput+0x11/0x20 fs/file_table.c:350 task_work_run+0x8e/0x110 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:37 [inline] do_exit+0x589/0x1720 kernel/exit.c:795 do_group_exit+0xa5/0x160 kernel/exit.c:925 get_signal+0xf54/0x1020 kernel/signal.c:2864 arch_do_signal_or_restart+0x87/0x2d0 arch/x86/kernel/signal.c:867 exit_to_user_mode_loop+0x78/0x130 kernel/entry/common.c:166 exit_to_user_mode_prepare kernel/entry/common.c:201 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:294 ret_from_fork+0x15/0x30 value changed: 0x0000000d -> 0x0000000e Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 28639 Comm: syz-executor.4 Not tainted 5.18.0-rc1-syzkaller-00290-gf1b45d8ccb98-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================