Memory cgroup out of memory: Killed process 14867 (syz.2.3868) total-vm:93760kB, anon-rss:980kB, file-rss:22568kB, shmem-rss:0kB, UID:0 pgtables:124kB oom_score_adj:1000 ================================================================== BUG: KCSAN: data-race in mem_cgroup_flush_stats_ratelimited / tick_do_update_jiffies64 read-write to 0xffffffff868099c0 of 8 bytes by interrupt on cpu 0: tick_do_update_jiffies64+0x113/0x1c0 kernel/time/tick-sched.c:118 tick_sched_do_timer kernel/time/tick-sched.c:232 [inline] tick_nohz_handler+0x7f/0x2d0 kernel/time/tick-sched.c:290 __run_hrtimer kernel/time/hrtimer.c:1761 [inline] __hrtimer_run_queues+0x20c/0x5a0 kernel/time/hrtimer.c:1825 hrtimer_interrupt+0x21a/0x460 kernel/time/hrtimer.c:1887 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1039 [inline] __sysvec_apic_timer_interrupt+0x5c/0x1d0 arch/x86/kernel/apic/apic.c:1056 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0x6f/0x80 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 __preempt_count_dec_and_test arch/x86/include/asm/preempt.h:95 [inline] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irq+0x2f/0x50 kernel/locking/spinlock.c:202 spin_unlock_irq include/linux/spinlock.h:401 [inline] filemap_remove_folio+0x75/0x1d0 mm/filemap.c:254 truncate_inode_folio+0x42/0x50 mm/truncate.c:176 shmem_undo_range+0x244/0xa80 mm/shmem.c:1153 shmem_truncate_range mm/shmem.c:1269 [inline] shmem_evict_inode+0x134/0x520 mm/shmem.c:1397 evict+0x2e3/0x550 fs/inode.c:810 iput_final fs/inode.c:1897 [inline] iput+0x447/0x5b0 fs/inode.c:1923 dentry_unlink_inode+0x24f/0x260 fs/dcache.c:466 __dentry_kill+0x18d/0x4b0 fs/dcache.c:669 dput+0x5e/0xd0 fs/dcache.c:911 __fput+0x444/0x650 fs/file_table.c:476 ____fput+0x1c/0x30 fs/file_table.c:496 task_work_run+0x131/0x1a0 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x483/0x15c0 kernel/exit.c:961 do_group_exit+0xff/0x140 kernel/exit.c:1102 get_signal+0xe59/0xf70 kernel/signal.c:3034 arch_do_signal_or_restart+0x96/0x480 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x7a/0x100 kernel/entry/common.c:40 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x1d6/0x200 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffffff868099c0 of 8 bytes by task 14867 on cpu 1: mem_cgroup_flush_stats_ratelimited+0x29/0x70 mm/memcontrol.c:634 count_shadow_nodes+0x6a/0x230 mm/workingset.c:678 do_shrink_slab+0x60/0x680 mm/shrinker.c:384 shrink_slab_memcg mm/shrinker.c:550 [inline] shrink_slab+0x448/0x760 mm/shrinker.c:628 shrink_node_memcgs mm/vmscan.c:6053 [inline] shrink_node+0x6c3/0x2120 mm/vmscan.c:6092 shrink_zones mm/vmscan.c:6336 [inline] do_try_to_free_pages+0x3f6/0xcd0 mm/vmscan.c:6398 try_to_free_mem_cgroup_pages+0x1ab/0x410 mm/vmscan.c:6726 try_charge_memcg+0x358/0x9e0 mm/memcontrol.c:2357 try_charge mm/memcontrol.c:2499 [inline] charge_memcg+0x51/0xc0 mm/memcontrol.c:4702 mem_cgroup_swapin_charge_folio+0xcc/0x150 mm/memcontrol.c:4788 __read_swap_cache_async+0x1df/0x350 mm/swap_state.c:441 swap_cluster_readahead+0x277/0x3e0 mm/swap_state.c:613 swapin_readahead+0xde/0x6f0 mm/swap_state.c:811 do_swap_page+0x301/0x2430 mm/memory.c:4586 handle_pte_fault mm/memory.c:6055 [inline] __handle_mm_fault mm/memory.c:6195 [inline] handle_mm_fault+0x9a5/0x2c20 mm/memory.c:6364 do_user_addr_fault+0x636/0x1090 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:623 value changed: 0x0000000100000159 -> 0x000000010000015a Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 14867 Comm: syz.2.3868 Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 ==================================================================