================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea00057667d8 of 8 bytes by task 3600 on cpu 0: page_cache_delete_batch mm/filemap.c:310 [inline] delete_from_page_cache_batch+0x2f6/0x6f0 mm/filemap.c:336 truncate_inode_pages_range+0x1ba/0x780 mm/truncate.c:405 truncate_inode_pages+0x24/0x30 mm/truncate.c:485 kill_bdev block/bdev.c:91 [inline] blkdev_flush_mapping+0xa4/0x1a0 block/bdev.c:729 blkdev_put_whole block/bdev.c:736 [inline] bdev_release+0x2bf/0x3d0 block/bdev.c:1161 blkdev_release+0x15/0x20 block/fops.c:706 __fput+0x29b/0x650 fs/file_table.c:468 ____fput+0x1c/0x30 fs/file_table.c:496 task_work_run+0x131/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:44 [inline] exit_to_user_mode_loop+0x1fe/0x740 kernel/entry/common.c:75 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline] do_syscall_64+0x1e1/0x2b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffea00057667d8 of 8 bytes by task 13065 on cpu 1: folio_mapping+0xa1/0xe0 mm/util.c:703 folio_evictable mm/internal.h:499 [inline] lru_add+0x8d/0x480 mm/swap.c:136 folio_batch_move_lru+0x1c5/0x280 mm/swap.c:172 __folio_batch_add_and_move mm/swap.c:196 [inline] folio_add_lru+0x14a/0x1f0 mm/swap.c:511 folio_add_lru_vma+0x49/0x70 mm/swap.c:530 wp_page_copy mm/memory.c:3787 [inline] do_wp_page+0x1550/0x2510 mm/memory.c:4180 handle_pte_fault mm/memory.c:6289 [inline] __handle_mm_fault mm/memory.c:6411 [inline] handle_mm_fault+0x7b0/0x2c60 mm/memory.c:6580 do_user_addr_fault+0x630/0x1080 arch/x86/mm/fault.c:1336 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x62/0xa0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 value changed: 0xffff8881004811a0 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 13065 Comm: syz.2.3165 Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 ==================================================================