================================================================== BUG: KCSAN: data-race in __filemap_remove_folio / folio_mapping write to 0xffffea000476ef58 of 8 bytes by task 3534 on cpu 0: page_cache_delete mm/filemap.c:145 [inline] __filemap_remove_folio+0x201/0x2e0 mm/filemap.c:228 filemap_remove_folio+0x6d/0x1d0 mm/filemap.c:258 truncate_inode_folio+0x42/0x50 mm/truncate.c:176 shmem_undo_range+0x26d/0xb10 mm/shmem.c:1145 shmem_truncate_range mm/shmem.c:1277 [inline] shmem_evict_inode+0x12e/0x540 mm/shmem.c:1407 evict+0x2af/0x510 fs/inode.c:841 iput_final fs/inode.c:1960 [inline] iput+0x41a/0x580 fs/inode.c:2009 dentry_unlink_inode+0x26f/0x290 fs/dcache.c:476 __dentry_kill+0x145/0x4d0 fs/dcache.c:718 finish_dput+0x2b/0x200 fs/dcache.c:927 dput+0x52/0x60 fs/dcache.c:976 __fput+0x444/0x630 fs/file_table.c:518 ____fput+0x1c/0x30 fs/file_table.c:538 task_work_run+0x130/0x1a0 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:67 [inline] exit_to_user_mode_loop+0x211/0x820 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x232/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffea000476ef58 of 8 bytes by task 3814 on cpu 1: folio_mapping+0xa1/0xe0 mm/util.c:732 folio_evictable mm/internal.h:584 [inline] lru_add+0x8d/0x460 mm/swap.c:136 folio_batch_move_lru+0x1d3/0x290 mm/swap.c:172 __folio_batch_add_and_move mm/swap.c:196 [inline] folio_add_lru+0x14f/0x1f0 mm/swap.c:517 folio_add_lru_vma+0x49/0x70 mm/swap.c:536 wp_page_copy mm/memory.c:3943 [inline] do_wp_page+0x13b1/0x2040 mm/memory.c:4336 handle_pte_fault mm/memory.c:6443 [inline] __handle_mm_fault mm/memory.c:6565 [inline] handle_mm_fault+0x8bb/0x2e70 mm/memory.c:6734 do_user_addr_fault+0x62f/0x1050 arch/x86/mm/fault.c:1334 handle_page_fault arch/x86/mm/fault.c:1474 [inline] exc_page_fault+0x62/0xa0 arch/x86/mm/fault.c:1527 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 value changed: 0xffff8881070ab7a0 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3814 Comm: syz-executor Tainted: G W syzkaller #0 PREEMPT(full) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 ==================================================================