================================================================== BUG: KCSAN: data-race in __blkdev_put / __blkdev_put write to 0xffff8881013ab720 of 4 bytes by task 1774 on cpu 0: __blkdev_put+0x122/0x460 fs/block_dev.c:1573 blkdev_put+0x23e/0x2c0 fs/block_dev.c:1636 blkdev_close+0x47/0x50 fs/block_dev.c:1644 __fput+0x25b/0x4e0 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:174 [inline] exit_to_user_mode_prepare+0x156/0x190 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:301 do_syscall_64+0x56/0x90 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881013ab720 of 4 bytes by task 1034 on cpu 1: __blkdev_put+0x5a/0x460 fs/block_dev.c:1566 blkdev_put+0x23e/0x2c0 fs/block_dev.c:1636 blkdev_reread_part block/ioctl.c:105 [inline] blkdev_common_ioctl+0x101f/0x1040 block/ioctl.c:510 blkdev_ioctl+0x16e/0x3c0 block/ioctl.c:579 block_ioctl+0x6d/0x80 fs/block_dev.c:1662 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:1069 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:1055 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:1055 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000004 -> 0x00000003 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1034 Comm: systemd-udevd Not tainted 5.13.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================