================================================================== BUG: KCSAN: data-race in ext4_mb_find_by_goal / mb_mark_used read-write to 0xffff88814172b1c4 of 4 bytes by task 18650 on cpu 0: mb_mark_used+0x120/0xc10 fs/ext4/mballoc.c:1607 ext4_mb_use_best_found+0x102/0x2f0 fs/ext4/mballoc.c:1678 ext4_mb_find_by_goal+0x5b5/0xb30 fs/ext4/mballoc.c:1890 ext4_mb_regular_allocator+0x10b/0x1890 fs/ext4/mballoc.c:2297 ext4_mb_new_blocks+0x6e8/0x1140 fs/ext4/mballoc.c:4975 ext4_ext_map_blocks+0x15a0/0x1fc0 fs/ext4/extents.c:4238 ext4_map_blocks+0x700/0xfc0 fs/ext4/inode.c:637 ext4_alloc_file_blocks+0x26f/0x700 fs/ext4/extents.c:4426 ext4_fallocate+0x2a7/0x540 fs/ext4/extents.c:4705 vfs_fallocate+0x471/0x6c0 fs/open.c:309 file_ioctl fs/ioctl.c:494 [inline] do_vfs_ioctl+0xdc9/0xec0 fs/ioctl.c:732 __do_sys_ioctl fs/ioctl.c:751 [inline] __se_sys_ioctl+0x83/0x140 fs/ioctl.c:739 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:739 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88814172b1c4 of 4 bytes by task 18652 on cpu 1: ext4_mb_find_by_goal+0x129/0xb30 fs/ext4/mballoc.c:1866 ext4_mb_regular_allocator+0x10b/0x1890 fs/ext4/mballoc.c:2297 ext4_mb_new_blocks+0x6e8/0x1140 fs/ext4/mballoc.c:4975 ext4_ext_map_blocks+0x15a0/0x1fc0 fs/ext4/extents.c:4238 ext4_map_blocks+0x700/0xfc0 fs/ext4/inode.c:637 ext4_alloc_file_blocks+0x26f/0x700 fs/ext4/extents.c:4426 ext4_fallocate+0x2a7/0x540 fs/ext4/extents.c:4705 vfs_fallocate+0x471/0x6c0 fs/open.c:309 file_ioctl fs/ioctl.c:494 [inline] do_vfs_ioctl+0xdc9/0xec0 fs/ioctl.c:732 __do_sys_ioctl fs/ioctl.c:751 [inline] __se_sys_ioctl+0x83/0x140 fs/ioctl.c:739 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:739 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 18652 Comm: syz-executor.0 Not tainted 5.11.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================