rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=1cd/1/0x4000000000000000 softirq=59067/59067 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P19634/1:b..l (detected by 1, t=10506 jiffies, g=86081, q=208) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 19635 Comm: syz-executor.5 Not tainted 5.15.143-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3682 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3701 [inline] RIP: 0010:validate_chain+0x199/0x5930 kernel/locking/lockdep.c:3756 Code: 89 df e8 9a a9 66 00 48 89 5c 24 20 48 8b 1b 48 85 db 74 48 48 83 c3 f8 74 42 4c 8d 7b 18 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 <74> 08 4c 89 ff e8 6d a9 66 00 49 8b 07 4c 39 f0 0f 84 d4 03 00 00 RSP: 0018:ffffc900000077a0 EFLAGS: 00000046 RAX: 1ffffffff1fc7fe7 RBX: ffffffff8fe3ff20 RCX: ffffffff81633812 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fbcf2c0 RBP: ffffc90000007a50 R08: dffffc0000000000 R09: fffffbfff1f79e59 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88803d8746b8 R14: 9c021602a46a0c6e R15: ffffffff8fe3ff38 FS: 00007fc6f3b996c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc6f3b99d58 CR3: 000000008788e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1295/0x1ff0 kernel/locking/lockdep.c:5012 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] advance_sched+0x47/0x940 net/sched/sch_taprio.c:716 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 72 78 a4 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 67 cb 31 f7 65 8b 05 08 06 dd 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90003317920 EFLAGS: 00000206 RAX: 41b46e67e8225a00 RBX: 1ffff92000662f28 RCX: ffffffff8162ec48 RDX: dffffc0000000000 RSI: ffffffff8a8b0d80 RDI: 0000000000000001 RBP: ffffc900033179b0 R08: dffffc0000000000 R09: fffffbfff1f79e19 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92000662f24 R14: ffffc90003317940 R15: 0000000000000246 clock_was_set+0x67d/0x880 kernel/time/hrtimer.c:970 timekeeping_inject_offset+0x65f/0x710 kernel/time/timekeeping.c:1378 do_adjtimex+0x511/0xaa0 kernel/time/timekeeping.c:2427 do_clock_adjtime kernel/time/posix-timers.c:1149 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1161 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1152 [inline] __x64_sys_clock_adjtime+0x1dc/0x290 kernel/time/posix-timers.c:1152 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fc6f5638ba9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc6f3b990c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007fc6f5758050 RCX: 00007fc6f5638ba9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007fc6f568447a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fc6f5758050 R15: 00007ffc260a6378 task:syz-executor.3 state:R running task stack:25688 pid:19634 ppid: 3547 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6780 irqentry_exit+0x53/0x80 kernel/entry/common.c:426 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:debug_lockdep_rcu_enabled+0xb/0x30 kernel/rcu/update.c:280 Code: 0c 8b 8a 48 c7 c6 e0 30 8b 8a e8 b0 ee 2f f7 0f 0b eb d0 cc cc cc cc cc cc cc cc cc cc cc cc 31 c0 83 3d fb ae c7 03 00 74 1d <83> 3d 72 e1 c7 03 00 74 14 65 48 8b 0d 64 81 e6 75 31 c0 83 b9 ec RSP: 0018:ffffc900033a7438 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff88803c79c010 RCX: 1ffff92000674e04 RDX: dffffc0000000000 RSI: ffffffff8a8b2020 RDI: ffffffff8ad87e00 RBP: ffffc900033a7510 R08: dffffc0000000000 R09: fffffbfff1f79e19 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffffea000100ecc0 R14: 0000000000000001 R15: dffffc0000000000 rcu_read_lock include/linux/rcupdate.h:697 [inline] percpu_ref_get_many+0x1a/0x110 include/linux/percpu-refcount.h:202 percpu_ref_get include/linux/percpu-refcount.h:222 [inline] css_get include/linux/cgroup.h:325 [inline] charge_memcg+0x145/0x340 mm/memcontrol.c:6746 __mem_cgroup_charge+0x23/0x80 mm/memcontrol.c:6778 mem_cgroup_charge include/linux/memcontrol.h:700 [inline] page_copy_prealloc mm/memory.c:993 [inline] copy_pte_range mm/memory.c:1108 [inline] copy_pmd_range mm/memory.c:1156 [inline] copy_pud_range mm/memory.c:1193 [inline] copy_p4d_range mm/memory.c:1217 [inline] copy_page_range+0x36fe/0x43b0 mm/memory.c:1290 dup_mmap kernel/fork.c:614 [inline] dup_mm kernel/fork.c:1465 [inline] copy_mm+0xc64/0x1370 kernel/fork.c:1517 copy_process+0x1816/0x3ef0 kernel/fork.c:2206 kernel_clone+0x210/0x960 kernel/fork.c:2604 __do_sys_clone3 kernel/fork.c:2879 [inline] __se_sys_clone3+0x3e1/0x430 kernel/fork.c:2863 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f90800b7ba9 RSP: 002b:00007f907e617f98 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 0000000000000058 RCX: 00007f90800b7ba9 RDX: 00007f907e617fb0 RSI: 0000000000000058 RDI: 00007f907e617fb0 RBP: 00007f908010347a R08: 0000000000000000 R09: 0000000000000058 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f90801d7050 R15: 00007fffa83f1e18 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g86081 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=74729 rcu: rcu_preempt kthread starved for 10506 jiffies! g86081 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:I stack:25888 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 19635 Comm: syz-executor.5 Not tainted 5.15.143-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:87 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x81/0x290 mm/kasan/generic.c:189 Code: df 4f 8d 34 1a 4c 89 f5 4c 29 cd 48 83 fd 10 7f 26 48 85 ed 0f 84 3a 01 00 00 49 f7 d2 49 01 da 41 80 39 00 0f 85 c4 01 00 00 <49> ff c1 49 ff c2 75 ee e9 1d 01 00 00 45 89 cf 41 83 e7 07 0f 84 RSP: 0018:ffffc90000007bb8 EFLAGS: 00000046 RAX: 41b46e67e8225a01 RBX: 1ffff92000000f8c RCX: ffffffff840bda68 RDX: 0000000000000001 RSI: 0000000000000010 RDI: ffffc90000007c60 RBP: 0000000000000002 R08: dffffc0000000000 R09: fffff52000000f8c R10: fffffffffffffffe R11: dffffc0000000001 R12: ffffc90000007c60 R13: 1ffff92000000f88 R14: fffff52000000f8e R15: dffffc0000000000 FS: 00007fc6f3b996c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc6f3b99d58 CR3: 000000008788e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: memset+0x1f/0x40 mm/kasan/shadow.c:44 debug_object_activate+0x98/0x860 lib/debugobjects.c:681 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x30/0x310 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0x6b6/0xcf0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 72 78 a4 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 67 cb 31 f7 65 8b 05 08 06 dd 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90003317920 EFLAGS: 00000206 RAX: 41b46e67e8225a00 RBX: 1ffff92000662f28 RCX: ffffffff8162ec48 RDX: dffffc0000000000 RSI: ffffffff8a8b0d80 RDI: 0000000000000001 RBP: ffffc900033179b0 R08: dffffc0000000000 R09: fffffbfff1f79e19 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92000662f24 R14: ffffc90003317940 R15: 0000000000000246 clock_was_set+0x67d/0x880 kernel/time/hrtimer.c:970 timekeeping_inject_offset+0x65f/0x710 kernel/time/timekeeping.c:1378 do_adjtimex+0x511/0xaa0 kernel/time/timekeeping.c:2427 do_clock_adjtime kernel/time/posix-timers.c:1149 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1161 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1152 [inline] __x64_sys_clock_adjtime+0x1dc/0x290 kernel/time/posix-timers.c:1152 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fc6f5638ba9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc6f3b990c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007fc6f5758050 RCX: 00007fc6f5638ba9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007fc6f568447a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fc6f5758050 R15: 00007ffc260a6378