================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea0004762a58 of 8 bytes by task 3105 on cpu 0: page_cache_delete_batch mm/filemap.c:317 [inline] delete_from_page_cache_batch+0x309/0x710 mm/filemap.c:343 truncate_inode_pages_range+0x1c5/0x6b0 mm/truncate.c:359 truncate_inode_pages mm/truncate.c:439 [inline] truncate_inode_pages_final+0x55/0x60 mm/truncate.c:474 ext4_evict_inode+0x174/0xdd0 fs/ext4/inode.c:193 evict+0x1ae/0x420 fs/inode.c:667 iput_final fs/inode.c:1741 [inline] iput+0x432/0x5c0 fs/inode.c:1767 do_unlinkat+0x282/0x4c0 fs/namei.c:4406 __do_sys_unlink fs/namei.c:4447 [inline] __se_sys_unlink fs/namei.c:4445 [inline] __x64_sys_unlink+0x30/0x40 fs/namei.c:4445 x64_sys_call+0x286b/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:88 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffea0004762a58 of 8 bytes by task 3772 on cpu 1: folio_mapping+0x96/0x110 mm/util.c:799 folio_evictable mm/internal.h:256 [inline] lru_add_fn+0x8d/0x430 mm/swap.c:197 folio_batch_move_lru+0x20c/0x2c0 mm/swap.c:233 lru_add_drain_cpu+0x77/0x260 mm/swap.c:667 lru_add_drain+0x26/0x80 mm/swap.c:767 exit_mmap+0x170/0x6f0 mm/mmap.c:3262 __mmput+0x28/0x1c0 kernel/fork.c:1346 mmput+0x4c/0x60 kernel/fork.c:1368 exit_mm+0xe4/0x190 kernel/exit.c:569 do_exit+0x57e/0x1740 kernel/exit.c:865 do_group_exit+0x102/0x150 kernel/exit.c:1027 get_signal+0xf2f/0x1080 kernel/signal.c:2911 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x59/0x130 kernel/entry/common.c:218 do_syscall_64+0xda/0x1d0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffff888106d69e00 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3772 Comm: syz-executor.1 Not tainted 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 ==================================================================