================================================================== BUG: KCSAN: data-race in ext4_mb_regular_allocator / mb_free_blocks write to 0xffff8881013da9d4 of 4 bytes by task 5800 on cpu 0: mb_free_blocks+0x156/0xb40 fs/ext4/mballoc.c:1802 ext4_mb_release_inode_pa+0x306/0x5e0 fs/ext4/mballoc.c:4766 ext4_mb_discard_group_preallocations+0x695/0x8e0 fs/ext4/mballoc.c:4895 ext4_mb_discard_preallocations+0x6e/0x160 fs/ext4/mballoc.c:5462 ext4_mb_discard_preallocations_should_retry fs/ext4/mballoc.c:5477 [inline] ext4_mb_new_blocks+0x1b42/0x1ee0 fs/ext4/mballoc.c:5613 ext4_ext_map_blocks+0x1658/0x2120 fs/ext4/extents.c:4285 ext4_map_blocks+0x71e/0xf00 fs/ext4/inode.c:637 ext4_alloc_file_blocks+0x281/0x730 fs/ext4/extents.c:4472 ext4_fallocate+0x2a7/0x540 fs/ext4/extents.c:4753 vfs_fallocate+0x486/0x720 fs/open.c:307 ksys_fallocate fs/open.c:330 [inline] __do_sys_fallocate fs/open.c:338 [inline] __se_sys_fallocate fs/open.c:336 [inline] __x64_sys_fallocate+0x75/0xc0 fs/open.c:336 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881013da9d4 of 4 bytes by task 5808 on cpu 1: ext4_mb_good_group_nolock fs/ext4/mballoc.c:2504 [inline] ext4_mb_regular_allocator+0xa97/0x24a0 fs/ext4/mballoc.c:2747 ext4_mb_new_blocks+0x78c/0x1ee0 fs/ext4/mballoc.c:5586 ext4_ext_map_blocks+0x1658/0x2120 fs/ext4/extents.c:4285 ext4_map_blocks+0x71e/0xf00 fs/ext4/inode.c:637 ext4_alloc_file_blocks+0x281/0x730 fs/ext4/extents.c:4472 ext4_fallocate+0x2a7/0x540 fs/ext4/extents.c:4753 vfs_fallocate+0x486/0x720 fs/open.c:307 ksys_fallocate fs/open.c:330 [inline] __do_sys_fallocate fs/open.c:338 [inline] __se_sys_fallocate fs/open.c:336 [inline] __x64_sys_fallocate+0x75/0xc0 fs/open.c:336 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x000007ff -> 0x00000ffe Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 5808 Comm: syz-executor.5 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================