================================================================== BUG: KCSAN: data-race in mem_cgroup_flush_stats_ratelimited / tick_do_update_jiffies64 read-write to 0xffffffff86c09a00 of 8 bytes by interrupt on cpu 1: tick_do_update_jiffies64+0x113/0x1c0 kernel/time/tick-sched.c:118 tick_sched_do_timer kernel/time/tick-sched.c:253 [inline] tick_nohz_handler+0x8d/0x3d0 kernel/time/tick-sched.c:312 __run_hrtimer kernel/time/hrtimer.c:1785 [inline] __hrtimer_run_queues+0x218/0x4f0 kernel/time/hrtimer.c:1849 hrtimer_interrupt+0x269/0x810 kernel/time/hrtimer.c:1911 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1045 [inline] __sysvec_apic_timer_interrupt+0x5f/0x1f0 arch/x86/kernel/apic/apic.c:1062 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline] sysvec_apic_timer_interrupt+0x6f/0x80 arch/x86/kernel/apic/apic.c:1056 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 console_flush_one_record arch/x86/include/asm/irqflags.h:-1 [inline] console_flush_all+0x540/0x6c0 kernel/printk/printk.c:3343 __console_flush_and_unlock kernel/printk/printk.c:3373 [inline] console_unlock+0xa1/0x280 kernel/printk/printk.c:3413 vprintk_emit+0x3e4/0x600 kernel/printk/printk.c:2479 vprintk_default+0x26/0x30 kernel/printk/printk.c:2494 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x79/0xa0 kernel/printk/printk.c:2504 mem_cgroup_print_oom_meminfo+0x84/0x260 mm/memcontrol.c:1593 dump_header+0xa2/0x240 mm/oom_kill.c:469 oom_kill_process+0x295/0x350 mm/oom_kill.c:1047 out_of_memory+0x97d/0xb80 mm/oom_kill.c:1185 mem_cgroup_out_of_memory mm/memcontrol.c:1695 [inline] mem_cgroup_oom mm/memcontrol.c:1718 [inline] try_charge_memcg+0x62e/0xa10 mm/memcontrol.c:2456 obj_cgroup_charge_pages+0x23/0xc0 mm/memcontrol.c:2857 __memcg_kmem_charge_page+0x9e/0x170 mm/memcontrol.c:2901 __alloc_frozen_pages_noprof+0x18a/0x360 mm/page_alloc.c:5267 alloc_pages_mpol+0xb3/0x260 mm/mempolicy.c:2484 alloc_frozen_pages_noprof mm/mempolicy.c:2555 [inline] alloc_pages_noprof+0x8f/0x130 mm/mempolicy.c:2575 vm_area_alloc_pages mm/vmalloc.c:3731 [inline] __vmalloc_area_node mm/vmalloc.c:3876 [inline] __vmalloc_node_range_noprof+0xa46/0x12b0 mm/vmalloc.c:4064 __kvmalloc_node_noprof+0x3d4/0x650 mm/slub.c:6739 ip_set_alloc+0x24/0x30 net/netfilter/ipset/ip_set_core.c:261 hash_netiface_create+0x282/0x740 net/netfilter/ipset/ip_set_hash_gen.h:1567 ip_set_create+0x3cf/0x970 net/netfilter/ipset/ip_set_core.c:1109 nfnetlink_rcv_msg+0x509/0x5d0 net/netfilter/nfnetlink.c:302 netlink_rcv_skb+0x123/0x220 net/netlink/af_netlink.c:2550 nfnetlink_rcv+0x167/0x1720 net/netfilter/nfnetlink.c:669 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x5c0/0x690 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x5c8/0x6f0 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] ____sys_sendmsg+0x5af/0x600 net/socket.c:2592 ___sys_sendmsg+0x195/0x1e0 net/socket.c:2646 __sys_sendmsg net/socket.c:2678 [inline] __do_sys_sendmsg net/socket.c:2683 [inline] __se_sys_sendmsg net/socket.c:2681 [inline] __x64_sys_sendmsg+0xd4/0x160 net/socket.c:2681 x64_sys_call+0x194c/0x3020 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x12c/0x370 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffffff86c09a00 of 8 bytes by task 3317 on cpu 0: mem_cgroup_flush_stats_ratelimited+0x29/0x70 mm/memcontrol.c:638 count_shadow_nodes+0x6a/0x230 mm/workingset.c:678 do_shrink_slab+0x63/0x6a0 mm/shrinker.c:384 shrink_slab_memcg mm/shrinker.c:550 [inline] shrink_slab+0x538/0x880 mm/shrinker.c:628 shrink_node_memcgs mm/vmscan.c:6022 [inline] shrink_node+0x6bc/0x2130 mm/vmscan.c:6061 shrink_zones mm/vmscan.c:6300 [inline] do_try_to_free_pages+0x408/0xc80 mm/vmscan.c:6362 try_to_free_mem_cgroup_pages+0x1f5/0x470 mm/vmscan.c:6683 try_charge_memcg+0x37e/0xa10 mm/memcontrol.c:2414 try_charge mm/memcontrol.c:2556 [inline] charge_memcg mm/memcontrol.c:4744 [inline] __mem_cgroup_charge+0x65/0x150 mm/memcontrol.c:4761 mem_cgroup_charge include/linux/memcontrol.h:664 [inline] filemap_add_folio+0x110/0x350 mm/filemap.c:959 __filemap_get_folio_mpol+0x326/0x680 mm/filemap.c:2016 __filemap_get_folio include/linux/pagemap.h:774 [inline] filemap_fault+0x486/0xb90 mm/filemap.c:3559 __do_fault+0xbc/0x200 mm/memory.c:5363 do_read_fault mm/memory.c:5798 [inline] do_fault mm/memory.c:5932 [inline] do_pte_missing mm/memory.c:4477 [inline] handle_pte_fault mm/memory.c:6316 [inline] __handle_mm_fault mm/memory.c:6454 [inline] handle_mm_fault+0x11d7/0x3020 mm/memory.c:6623 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: 0x00000000fffffaef -> 0x00000000fffffaf0 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3317 Comm: syz-executor Tainted: G W syzkaller #0 PREEMPT(full) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 ================================================================== syz-executor invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0 CPU: 1 UID: 0 PID: 3317 Comm: syz-executor Tainted: G W syzkaller #0 PREEMPT(full) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 Call Trace: __dump_stack+0x1d/0x30 lib/dump_stack.c:94 dump_stack_lvl+0x95/0xd0 lib/dump_stack.c:120 dump_stack+0x15/0x1b lib/dump_stack.c:129 dump_header+0x80/0x240 mm/oom_kill.c:467 oom_kill_process+0x295/0x350 mm/oom_kill.c:1047 out_of_memory+0x97d/0xb80 mm/oom_kill.c:1185 mem_cgroup_out_of_memory mm/memcontrol.c:1695 [inline] mem_cgroup_oom mm/memcontrol.c:1718 [inline] try_charge_memcg+0x62e/0xa10 mm/memcontrol.c:2456 try_charge mm/memcontrol.c:2556 [inline] charge_memcg mm/memcontrol.c:4744 [inline] __mem_cgroup_charge+0x65/0x150 mm/memcontrol.c:4761 mem_cgroup_charge include/linux/memcontrol.h:664 [inline] filemap_add_folio+0x110/0x350 mm/filemap.c:959 __filemap_get_folio_mpol+0x326/0x680 mm/filemap.c:2016 __filemap_get_folio include/linux/pagemap.h:774 [inline] filemap_fault+0x486/0xb90 mm/filemap.c:3559 __do_fault+0xbc/0x200 mm/memory.c:5363 do_read_fault mm/memory.c:5798 [inline] do_fault mm/memory.c:5932 [inline] do_pte_missing mm/memory.c:4477 [inline] handle_pte_fault mm/memory.c:6316 [inline] __handle_mm_fault mm/memory.c:6454 [inline] handle_mm_fault+0x11d7/0x3020 mm/memory.c:6623 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 RIP: 0033:0x7f4afab6a6b4 Code: 85 62 0a 00 00 48 b8 db 34 b6 d7 82 de 1b 43 48 f7 a4 24 98 00 00 00 48 8b 05 00 b1 ed 00 48 69 8c 24 90 00 00 00 e8 03 00 00 <8b> 78 08 48 8b 44 24 18 48 c1 ea 12 4c 8b 0d f9 af ed 00 48 01 d1 RSP: 002b:00007fffa0a0a4d0 EFLAGS: 00010206 RAX: 0000001b33a24000 RBX: 00000000000003f7 RCX: 0000000000046118 RDX: 0000000009695fe1 RSI: 00007fffa0a0a560 RDI: 0000000000000001 RBP: 00007fffa0a0a50c R08: 0000000023e708d3 R09: 7fffffffffffffff R10: 3fffffffffffffff R11: 0000000000000202 R12: 0000000000001388 R13: 00000000000927c0 R14: 00000000000461e0 R15: 00007fffa0a0a560 memory: usage 307200kB, limit 307200kB, failcnt 1516 memory+swap: usage 307232kB, limit 9007199254740988kB, failcnt 0 kmem: usage 274408kB, limit 9007199254740988kB, failcnt 0 Memory cgroup stats for /syz2: cache 33185792 rss 192512 shmem 33185792 mapped_file 16384 dirty 0 writeback 0 workingset_refault_anon 192 workingset_refault_file 2753 swap 81920 swapcached 22097920 pgpgin 249181 pgpgout 241029 pgfault 256499 pgmajfault 141 inactive_anon 27643904 active_anon 5480448 inactive_file 0 active_file 4096 unevictable 0 hierarchical_memory_limit 314572800 hierarchical_memsw_limit 9223372036854771712 total_cache 33185792 total_rss 192512 total_shmem 33185792 total_mapped_file 16384 total_dirty 0 total_writeback 0 total_workingset_refault_anon 192 total_workingset_refault_file 2753 total_swap 81920 total_swapcached 22097920 total_pgpgin 249181 total_pgpgout 241029 total_pgfault 256499 total_pgmajfault 141 total_inactive_anon 27643904 total_active_anon 5480448 total_inactive_file 0 total_active_file 4096 total_unevictable 0 oom-kill:constraint=CONSTRAINT_MEMCG,nodemask=(null),cpuset=/,mems_allowed=0,oom_memcg=/syz2,task_memcg=/syz2,task=syz.2.1681,pid=9654,uid=0 Memory cgroup out of memory: Killed process 9654 (syz.2.1681) total-vm:96340kB, anon-rss:1220kB, file-rss:22352kB, shmem-rss:0kB, UID:0 pgtables:128kB oom_score_adj:0