================================================================== BUG: KCSAN: data-race in __filemap_remove_folio / folio_mapping write to 0xffffea00049881d8 of 8 bytes by task 10675 on cpu 0: page_cache_delete mm/filemap.c:145 [inline] __filemap_remove_folio+0x201/0x2e0 mm/filemap.c:227 filemap_remove_folio+0x6d/0x1d0 mm/filemap.c:257 truncate_inode_folio+0x42/0x50 mm/truncate.c:176 shmem_undo_range+0x27f/0xb60 mm/shmem.c:1145 shmem_truncate_range mm/shmem.c:1277 [inline] shmem_evict_inode+0x132/0x520 mm/shmem.c:1407 evict+0x2a5/0x510 fs/inode.c:825 iput_final fs/inode.c:2019 [inline] iput+0x430/0x5a0 fs/inode.c:2068 dentry_unlink_inode+0x24a/0x260 fs/dcache.c:479 dentry_kill+0x184/0x500 fs/dcache.c:826 finish_dput+0x16/0x1d0 fs/dcache.c:1001 dput+0x48/0x50 fs/dcache.c:1042 __fput+0x43e/0x630 fs/file_table.c:520 ____fput+0x1c/0x30 fs/file_table.c:540 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:70 [inline] exit_to_user_mode_loop+0x1e4/0x8c0 kernel/entry/common.c:101 __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+0x23c/0x3c0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffea00049881d8 of 8 bytes by task 1185 on cpu 1: folio_mapping+0xa1/0xe0 mm/util.c:732 folio_evictable mm/internal.h:575 [inline] lru_add+0x8d/0x460 mm/swap.c:136 folio_batch_move_lru+0x2a3/0x3a0 mm/swap.c:200 __folio_batch_add_and_move mm/swap.c:231 [inline] folio_add_lru+0x149/0x250 mm/swap.c:562 folio_add_lru_vma+0x49/0x70 mm/swap.c:581 wp_page_copy mm/memory.c:3943 [inline] do_wp_page+0x13a5/0x2030 mm/memory.c:4336 handle_pte_fault mm/memory.c:6395 [inline] __handle_mm_fault mm/memory.c:6517 [inline] handle_mm_fault+0x8bc/0x2da0 mm/memory.c:6686 do_user_addr_fault+0x634/0x1060 arch/x86/mm/fault.c:1343 handle_page_fault arch/x86/mm/fault.c:1483 [inline] exc_page_fault+0x62/0xa0 arch/x86/mm/fault.c:1536 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:595 value changed: 0xffff888149d0c4a0 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 1185 Comm: syz-executor Tainted: G W syzkaller #0 PREEMPT(lazy) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 ==================================================================