================================================================== BUG: KCSAN: data-race in evict_folios / swap_read_end read (marked) to 0xffffea00042ddbc8 of 8 bytes by interrupt on cpu 1: _compound_head include/linux/page-flags.h:221 [inline] bvec_folio include/linux/bvec.h:89 [inline] swap_read_end+0x6b/0x250 mm/page_io.c:556 swap_bio_read_end_io+0x79/0x100 mm/page_io.c:593 bio_endio+0x3ef/0x5e0 block/bio.c:1908 blk_update_request+0x365/0x780 block/blk-mq.c:1036 scsi_end_request+0x48/0x3a0 drivers/scsi/scsi_lib.c:671 scsi_io_completion+0x7f/0x1d0 drivers/scsi/scsi_lib.c:1125 scsi_finish_command+0x233/0x250 drivers/scsi/scsi.c:198 scsi_complete+0x165/0x660 drivers/scsi/scsi_lib.c:1604 blk_complete_reqs block/blk-mq.c:1242 [inline] blk_done_softirq+0x8d/0xc0 block/blk-mq.c:1247 handle_softirqs+0x109/0x310 kernel/softirq.c:669 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0x40/0xf0 kernel/softirq.c:786 common_interrupt+0x83/0x90 arch/x86/kernel/irq.c:273 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:665 rdtsc_ordered arch/x86/include/asm/tsc.h:57 [inline] delay_tsc+0x5b/0xa0 arch/x86/lib/delay.c:70 udelay include/asm-generic/delay.h:64 [inline] delay_access kernel/kcsan/core.c:332 [inline] kcsan_setup_watchpoint+0x255/0x3f0 kernel/kcsan/core.c:622 folio_batch_add include/linux/folio_batch.h:77 [inline] free_pages_and_swap_cache+0x176/0x270 mm/swap_state.c:653 __tlb_batch_free_encoded_pages mm/mmu_gather.c:138 [inline] tlb_batch_pages_flush mm/mmu_gather.c:151 [inline] tlb_flush_mmu_free mm/mmu_gather.c:397 [inline] tlb_flush_mmu+0x56f/0x6d0 mm/mmu_gather.c:404 zap_pte_range mm/memory.c:2068 [inline] zap_pmd_range mm/memory.c:2117 [inline] zap_pud_range mm/memory.c:2145 [inline] zap_p4d_range mm/memory.c:2166 [inline] __zap_vma_range+0x2765/0x2ed0 mm/memory.c:2206 unmap_vmas+0x216/0x310 mm/memory.c:2275 exit_mmap+0x1a2/0x650 mm/mmap.c:1315 __mmput+0x28/0x1f0 kernel/fork.c:1192 mmput+0x51/0x60 kernel/fork.c:1215 exit_mm+0x12d/0x1d0 kernel/exit.c:586 do_exit+0x44a/0x1530 kernel/exit.c:967 do_group_exit+0xfe/0x140 kernel/exit.c:1123 get_signal+0xc49/0xd30 kernel/signal.c:3113 arch_do_signal_or_restart+0x96/0x480 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x161/0x940 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:343 [inline] do_syscall_64+0x23b/0x3a0 arch/x86/entry/syscall_64.c:107 entry_SYSCALL_64_after_hwframe+0x77/0x7f write to 0xffffea00042ddbc8 of 8 bytes by task 6663 on cpu 0: __list_add include/linux/list.h:173 [inline] list_add include/linux/list.h:192 [inline] list_move include/linux/list.h:345 [inline] evict_folios+0x252e/0x2990 mm/vmscan.c:5117 try_to_shrink_lruvec+0x9fb/0xd60 mm/vmscan.c:5271 lru_gen_shrink_lruvec mm/vmscan.c:5422 [inline] shrink_lruvec mm/vmscan.c:6199 [inline] shrink_node_memcgs mm/vmscan.c:6438 [inline] shrink_node+0x97e/0x4600 mm/vmscan.c:6482 shrink_zones mm/vmscan.c:6701 [inline] do_try_to_free_pages+0x310/0xb80 mm/vmscan.c:6763 try_to_free_mem_cgroup_pages+0x201/0x450 mm/vmscan.c:7044 mem_cgroup_force_empty mm/memcontrol-v1.c:1502 [inline] mem_cgroup_force_empty_write+0x6b/0x160 mm/memcontrol-v1.c:1518 cgroup_file_write+0x197/0x350 kernel/cgroup/cgroup.c:4426 kernfs_fop_write_iter+0x1d2/0x2e0 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:575 [inline] vfs_write+0x57a/0x9b0 fs/read_write.c:667 ksys_write+0xdc/0x1a0 fs/read_write.c:719 __do_sys_write fs/read_write.c:730 [inline] __se_sys_write fs/read_write.c:727 [inline] __x64_sys_write+0x40/0x50 fs/read_write.c:727 x64_sys_call+0x154e/0x2550 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x11e/0x3a0 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 6663 Comm: syz.7.892 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 ==================================================================