================================================================== BUG: KCSAN: data-race in ext4_mb_find_by_goal / mb_mark_used read-write to 0xffff888102c1da94 of 4 bytes by task 17028 on cpu 1: mb_mark_used+0x124/0xb80 fs/ext4/mballoc.c:1947 ext4_mb_use_best_found+0x105/0x440 fs/ext4/mballoc.c:2019 ext4_mb_find_by_goal+0x589/0x660 ext4_mb_regular_allocator+0x12b/0x1ff0 fs/ext4/mballoc.c:2654 ext4_mb_new_blocks+0x839/0xfd0 fs/ext4/mballoc.c:5616 ext4_ext_map_blocks+0xd55/0x1bb0 fs/ext4/extents.c:4281 ext4_map_blocks+0x75b/0xfc0 fs/ext4/inode.c:636 ext4_alloc_file_blocks+0x281/0x730 fs/ext4/extents.c:4466 ext4_zero_range+0x37b/0x880 fs/ext4/extents.c:4583 ext4_fallocate+0x230/0x420 fs/ext4/extents.c:4716 vfs_fallocate+0x355/0x3d0 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0x75/0xc0 fs/open.c:337 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 0xffff888102c1da94 of 4 bytes by task 17018 on cpu 0: ext4_mb_find_by_goal+0x143/0x660 fs/ext4/mballoc.c:2207 ext4_mb_regular_allocator+0x12b/0x1ff0 fs/ext4/mballoc.c:2654 ext4_mb_new_blocks+0x839/0xfd0 fs/ext4/mballoc.c:5616 ext4_ext_map_blocks+0xd55/0x1bb0 fs/ext4/extents.c:4281 ext4_map_blocks+0x75b/0xfc0 fs/ext4/inode.c:636 ext4_alloc_file_blocks+0x281/0x730 fs/ext4/extents.c:4466 ext4_zero_range+0x37b/0x880 fs/ext4/extents.c:4583 ext4_fallocate+0x230/0x420 fs/ext4/extents.c:4716 vfs_fallocate+0x355/0x3d0 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0x75/0xc0 fs/open.c:337 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 value changed: 0x0000410e -> 0x0000390e Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 17018 Comm: syz-executor.2 Not tainted 5.18.0-rc6-syzkaller-00009-gfeb9c5e19e91 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================