ext4 filesystem being mounted at /76/file1 supports timestamps until 2038-01-19 (0x7fffffff) ================================================================== 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+0x20f/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:1038 [inline] __sysvec_apic_timer_interrupt+0x5c/0x1d0 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x6f/0x80 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 arch_atomic64_read arch/x86/include/asm/atomic64_64.h:15 [inline] raw_atomic64_read include/linux/atomic/atomic-arch-fallback.h:2583 [inline] raw_atomic_long_read include/linux/atomic/atomic-long.h:38 [inline] atomic_long_read include/linux/atomic/atomic-instrumented.h:3189 [inline] find_watchpoint kernel/kcsan/core.c:131 [inline] check_access kernel/kcsan/core.c:737 [inline] __tsan_unaligned_write1+0x28/0x180 kernel/kcsan/core.c:1022 strncpy_from_kernel_nofault+0x84/0x130 mm/maccess.c:98 bpf_probe_read_kernel_str_common kernel/trace/bpf_trace.c:265 [inline] ____bpf_probe_read_compat_str kernel/trace/bpf_trace.c:313 [inline] bpf_probe_read_compat_str+0xdb/0x130 kernel/trace/bpf_trace.c:306 bpf_prog_fce0815046591d83+0x46/0x4c bpf_dispatcher_nop_func include/linux/bpf.h:1316 [inline] __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run include/linux/filter.h:725 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2363 [inline] bpf_trace_run2+0x107/0x1c0 kernel/trace/bpf_trace.c:2404 __do_trace_kfree include/trace/events/kmem.h:94 [inline] trace_kfree include/trace/events/kmem.h:94 [inline] kfree+0x26f/0x310 mm/slub.c:4828 __io_remove_buffers+0xff/0x1e0 io_uring/kbuf.c:408 io_put_bl io_uring/kbuf.c:420 [inline] io_destroy_buffers+0xa3/0x130 io_uring/kbuf.c:438 io_ring_ctx_free+0x80/0x360 io_uring/io_uring.c:2729 io_ring_exit_work+0x529/0x560 io_uring/io_uring.c:2962 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0x4ce/0x9d0 kernel/workqueue.c:3319 worker_thread+0x582/0x770 kernel/workqueue.c:3400 kthread+0x489/0x510 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 read to 0xffffffff868099c0 of 8 bytes by task 4852 on cpu 1: mem_cgroup_flush_stats_ratelimited+0x29/0x70 mm/memcontrol.c:643 count_shadow_nodes+0x6a/0x230 mm/workingset.c:680 do_shrink_slab+0x63/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:5991 [inline] shrink_node+0x6c3/0x2110 mm/vmscan.c:6030 shrink_zones mm/vmscan.c:6274 [inline] do_try_to_free_pages+0x3f6/0xcd0 mm/vmscan.c:6336 try_to_free_mem_cgroup_pages+0x1ab/0x410 mm/vmscan.c:6664 try_charge_memcg+0x3ab/0x870 mm/memcontrol.c:2304 obj_cgroup_charge_pages+0xb7/0x1a0 mm/memcontrol.c:2695 __memcg_kmem_charge_page+0x9f/0x170 mm/memcontrol.c:2739 __alloc_frozen_pages_noprof+0x188/0x360 mm/page_alloc.c:4987 alloc_pages_mpol+0xb3/0x250 mm/mempolicy.c:2301 alloc_frozen_pages_noprof mm/mempolicy.c:2372 [inline] alloc_pages_noprof+0x90/0x130 mm/mempolicy.c:2392 vm_area_alloc_pages mm/vmalloc.c:3592 [inline] __vmalloc_area_node mm/vmalloc.c:3670 [inline] __vmalloc_node_range_noprof+0x6a4/0xdf0 mm/vmalloc.c:3845 __kvmalloc_node_noprof+0x2f3/0x4d0 mm/slub.c:5034 ip_set_alloc+0x1f/0x30 net/netfilter/ipset/ip_set_core.c:261 hash_netiface_create+0x282/0x740 net/netfilter/ipset/ip_set_hash_gen.h:1568 ip_set_create+0x3c9/0x960 net/netfilter/ipset/ip_set_core.c:1109 nfnetlink_rcv_msg+0x4c6/0x590 net/netfilter/nfnetlink.c:302 netlink_rcv_skb+0x123/0x220 net/netlink/af_netlink.c:2534 nfnetlink_rcv+0x16b/0x1690 net/netfilter/nfnetlink.c:667 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] netlink_unicast+0x5a1/0x670 net/netlink/af_netlink.c:1339 netlink_sendmsg+0x58b/0x6b0 net/netlink/af_netlink.c:1883 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg+0x145/0x180 net/socket.c:727 ____sys_sendmsg+0x31e/0x4e0 net/socket.c:2566 ___sys_sendmsg+0x17b/0x1d0 net/socket.c:2620 __sys_sendmsg net/socket.c:2652 [inline] __do_sys_sendmsg net/socket.c:2657 [inline] __se_sys_sendmsg net/socket.c:2655 [inline] __x64_sys_sendmsg+0xd4/0x160 net/socket.c:2655 x64_sys_call+0x2999/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd0/0x1a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000fffface1 -> 0x00000000fffface2 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 4852 Comm: syz.4.373 Not tainted 6.15.0-rc6-syzkaller-00278-g172a9d94339c #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 ================================================================== syz.4.373 invoked oom-killer: gfp_mask=0x402dc2(GFP_KERNEL_ACCOUNT|__GFP_HIGHMEM|__GFP_ZERO|__GFP_NOWARN), order=0, oom_score_adj=1000 CPU: 1 UID: 0 PID: 4852 Comm: syz.4.373 Not tainted 6.15.0-rc6-syzkaller-00278-g172a9d94339c #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: __dump_stack+0x1d/0x30 lib/dump_stack.c:94 dump_stack_lvl+0xe8/0x140 lib/dump_stack.c:120 dump_stack+0x15/0x1b lib/dump_stack.c:129 dump_header+0x81/0x220 mm/oom_kill.c:467 oom_kill_process+0x334/0x3f0 mm/oom_kill.c:1040 out_of_memory+0x979/0xb80 mm/oom_kill.c:1178 mem_cgroup_out_of_memory+0x13d/0x190 mm/memcontrol.c:1667 mem_cgroup_oom mm/memcontrol.c:1690 [inline] try_charge_memcg+0x5e2/0x870 mm/memcontrol.c:2346 obj_cgroup_charge_pages+0xb7/0x1a0 mm/memcontrol.c:2695 __memcg_kmem_charge_page+0x9f/0x170 mm/memcontrol.c:2739 __alloc_frozen_pages_noprof+0x188/0x360 mm/page_alloc.c:4987 alloc_pages_mpol+0xb3/0x250 mm/mempolicy.c:2301 alloc_frozen_pages_noprof mm/mempolicy.c:2372 [inline] alloc_pages_noprof+0x90/0x130 mm/mempolicy.c:2392 vm_area_alloc_pages mm/vmalloc.c:3592 [inline] __vmalloc_area_node mm/vmalloc.c:3670 [inline] __vmalloc_node_range_noprof+0x6a4/0xdf0 mm/vmalloc.c:3845 __kvmalloc_node_noprof+0x2f3/0x4d0 mm/slub.c:5034 ip_set_alloc+0x1f/0x30 net/netfilter/ipset/ip_set_core.c:261 hash_netiface_create+0x282/0x740 net/netfilter/ipset/ip_set_hash_gen.h:1568 ip_set_create+0x3c9/0x960 net/netfilter/ipset/ip_set_core.c:1109 nfnetlink_rcv_msg+0x4c6/0x590 net/netfilter/nfnetlink.c:302 netlink_rcv_skb+0x123/0x220 net/netlink/af_netlink.c:2534 nfnetlink_rcv+0x16b/0x1690 net/netfilter/nfnetlink.c:667 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] netlink_unicast+0x5a1/0x670 net/netlink/af_netlink.c:1339 netlink_sendmsg+0x58b/0x6b0 net/netlink/af_netlink.c:1883 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg+0x145/0x180 net/socket.c:727 ____sys_sendmsg+0x31e/0x4e0 net/socket.c:2566 ___sys_sendmsg+0x17b/0x1d0 net/socket.c:2620 __sys_sendmsg net/socket.c:2652 [inline] __do_sys_sendmsg net/socket.c:2657 [inline] __se_sys_sendmsg net/socket.c:2655 [inline] __x64_sys_sendmsg+0xd4/0x160 net/socket.c:2655 x64_sys_call+0x2999/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd0/0x1a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f932115e969 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f931f7c7038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9321385fa0 RCX: 00007f932115e969 RDX: 0000000004000000 RSI: 0000200000000040 RDI: 0000000000000004 RBP: 00007f93211e0ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f9321385fa0 R15: 00007ffc15790418 memory: usage 307200kB, limit 307200kB, failcnt 632 memory+swap: usage 308436kB, limit 9007199254740988kB, failcnt 0 kmem: usage 307052kB, limit 9007199254740988kB, failcnt 0 Memory cgroup stats for /syz4: cache 12288 rss 0 shmem 0 mapped_file 0 dirty 0 writeback 0 workingset_refault_anon 6341 workingset_refault_file 307 swap 1265664 swapcached 4096 pgpgin 67079 pgpgout 67075 pgfault 75167 pgmajfault 957 inactive_anon 4096 active_anon 0 inactive_file 8192 active_file 4096 unevictable 0 hierarchical_memory_limit 314572800 hierarchical_memsw_limit 9223372036854771712 total_cache 12288 total_rss 0 total_shmem 0 total_mapped_file 0 total_dirty 0 total_writeback 0 total_workingset_refault_anon 6341 total_workingset_refault_file 307 total_swap 1265664 total_swapcached 4096 total_pgpgin 67079 total_pgpgout 67075 total_pgfault 75167 total_pgmajfault 957 total_inactive_anon 4096 total_active_anon 0 total_inactive_file 8192 total_active_file 4096 total_unevictable 0 oom-kill:constraint=CONSTRAINT_MEMCG,nodemask=(null),cpuset=/,mems_allowed=0,oom_memcg=/syz4,task_memcg=/syz4,task=syz.4.373,pid=4851,uid=0 Memory cgroup out of memory: Killed process 4851 (syz.4.373) total-vm:93880kB, anon-rss:936kB, file-rss:22572kB, shmem-rss:0kB, UID:0 pgtables:124kB oom_score_adj:1000