================================================================== BUG: KCSAN: data-race in ext4_mb_regular_allocator / mb_free_blocks write to 0xffff8881010d1014 of 4 bytes by task 13343 on cpu 0: mb_free_blocks+0x156/0xb40 fs/ext4/mballoc.c:1802 ext4_mb_release_inode_pa+0x301/0x570 fs/ext4/mballoc.c:4766 ext4_discard_preallocations+0x7c6/0xb60 fs/ext4/mballoc.c:5030 ext4_release_file+0x105/0x1d0 fs/ext4/file.c:149 __fput+0x295/0x520 fs/file_table.c:280 ____fput+0x11/0x20 fs/file_table.c:313 task_work_run+0xae/0x130 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x464/0x14a0 kernel/exit.c:825 do_group_exit+0xce/0x1a0 kernel/exit.c:922 get_signal+0xf93/0x15d0 kernel/signal.c:2868 arch_do_signal_or_restart+0x8c/0x280 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x109/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+0x50/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881010d1014 of 4 bytes by task 13372 on cpu 1: ext4_mb_good_group_nolock fs/ext4/mballoc.c:2504 [inline] ext4_mb_regular_allocator+0xaf9/0x2530 fs/ext4/mballoc.c:2747 ext4_mb_new_blocks+0x792/0x1fc0 fs/ext4/mballoc.c:5586 ext4_ext_map_blocks+0x15ed/0x1ff0 fs/ext4/extents.c:4250 ext4_map_blocks+0x71e/0xf00 fs/ext4/inode.c:637 ext4_alloc_file_blocks+0x281/0x730 fs/ext4/extents.c:4437 ext4_fallocate+0x2a7/0x4d0 fs/ext4/extents.c:4718 vfs_fallocate+0x459/0x6a0 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/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x000003c2 -> 0x00000bc1 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 13372 Comm: syz-executor.4 Not tainted 5.15.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================