loop1: p1 p2 p3 loop1: p1 start 10 is beyond EOD, truncated loop1: p2 size 1073872896 extends beyond EOD, truncated loop1: p3 start 225 is beyond EOD, truncated ================================================================== BUG: KCSAN: data-race in __blkdev_get / __blkdev_put write to 0xffff8881013a10e0 of 4 bytes by task 1777 on cpu 1: __blkdev_get+0xc1/0x6d0 fs/block_dev.c:1363 blkdev_get_by_dev+0x9b/0x480 fs/block_dev.c:1451 blkdev_open+0xb3/0x130 fs/block_dev.c:1546 do_dentry_open+0x53e/0x830 fs/open.c:826 vfs_open+0x43/0x50 fs/open.c:940 do_open fs/namei.c:3361 [inline] path_openat+0x184e/0x20b0 fs/namei.c:3494 do_filp_open+0xd9/0x1f0 fs/namei.c:3521 do_sys_openat2+0xa3/0x250 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_openat fs/open.c:1219 [inline] __se_sys_openat fs/open.c:1214 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1214 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881013a10e0 of 4 bytes by task 1031 on cpu 0: __blkdev_put+0x5a/0x460 fs/block_dev.c:1566 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:175 [inline] exit_to_user_mode_prepare+0x156/0x190 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:302 do_syscall_64+0x56/0x90 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000001 -> 0x00000002 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1031 Comm: systemd-udevd Not tainted 5.13.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== loop1: p1 p2 p3 loop1: p1 start 10 is beyond EOD, truncated loop1: p2 size 1073872896 extends beyond EOD, truncated loop1: p3 start 225 is beyond EOD, truncated loop1: p1 p2 p3 loop1: p1 start 10 is beyond EOD, truncated loop1: p2 size 1073872896 extends beyond EOD, truncated loop1: p3 start 225 is beyond EOD, truncated loop3: p1[EZD] p3 loop3: p1 size 11290111 extends beyond EOD, truncated loop3: p3 size 1912633224 extends beyond EOD, truncated loop1: p1 p2 p3 loop1: p1 start 10 is beyond EOD, truncated loop1: p2 size 1073872896 extends beyond EOD, truncated loop1: p3 start 225 is beyond EOD, truncated loop3: p1[EZD] p3 loop3: p1 size 11290111 extends beyond EOD, truncated loop3: p3 size 1912633224 extends beyond EOD, truncated loop1: p1 p2 p3 loop1: p1 start 10 is beyond EOD, truncated loop1: p2 size 1073872896 extends beyond EOD, truncated loop1: p3 start 225 is beyond EOD, truncated loop1: p1 p2 p3 loop1: p1 start 10 is beyond EOD, truncated loop1: p2 size 1073872896 extends beyond EOD, truncated loop1: p3 start 225 is beyond EOD, truncated loop3: p1[EZD] p3 loop3: p1 size 11290111 extends beyond EOD, truncated loop3: p3 size 1912633224 extends beyond EOD, truncated loop1: p1 p2 p3 loop1: p1 start 10 is beyond EOD, truncated loop1: p2 size 1073872896 extends beyond EOD, truncated loop1: p3 start 225 is beyond EOD, truncated loop1: p1 p2 p3 loop1: p1 start 10 is beyond EOD, truncated loop1: p2 size 1073872896 extends beyond EOD, truncated loop1: p3 start 225 is beyond EOD, truncated loop1: p1 p2 p3 loop1: p1 start 10 is beyond EOD, truncated loop1: p2 size 1073872896 extends beyond EOD, truncated loop1: p3 start 225 is beyond EOD, truncated