rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (3 ticks this GP) idle=0d64/1/0x4000000000000000 softirq=11838/11838 fqs=2 rcu: (detected by 1, t=10505 jiffies, g=15153, q=258 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 924 Comm: kworker/0:3 Not tainted 6.6.0-rc6-syzkaller-00334-g1acfd2bd3f0d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Workqueue: events_power_efficient gc_worker RIP: 0010:trace_lock_acquire include/trace/events/lock.h:24 [inline] RIP: 0010:lock_acquire+0xbf/0x510 kernel/locking/lockdep.c:5724 Code: 07 0f 87 d7 03 00 00 89 d5 be 08 00 00 00 48 89 e8 48 c1 e8 06 48 8d 3c c5 50 c0 cb 8e e8 a9 30 74 00 48 0f a3 2d 01 2d 64 0d <0f> 82 9a 03 00 00 48 c7 c0 b8 f5 cb 8e 48 ba 00 00 00 00 00 fc ff RSP: 0018:ffffc90000007c38 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 1ffff92000000f89 RCX: ffffffff81679347 RDX: fffffbfff1d9780b RSI: 0000000000000008 RDI: ffffffff8ecbc050 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff1d9780a R10: ffffffff8ecbc057 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff92404390 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8992cbb6c0 CR3: 000000007cd24000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x50 kernel/locking/spinlock.c:162 debug_object_deactivate lib/debugobjects.c:783 [inline] debug_object_deactivate+0x113/0x320 lib/debugobjects.c:771 debug_hrtimer_deactivate kernel/time/hrtimer.c:427 [inline] debug_deactivate kernel/time/hrtimer.c:483 [inline] __run_hrtimer kernel/time/hrtimer.c:1656 [inline] __hrtimer_run_queues+0x470/0xc10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x44/0x510 kernel/locking/lockdep.c:5721 Code: 41 89 d5 41 54 45 89 c4 55 53 48 81 ec b0 00 00 00 48 8d 5c 24 10 89 34 24 48 c1 eb 03 89 4c 24 04 48 c7 44 24 10 b3 8a b5 41 <48> 01 d8 48 c7 44 24 18 38 83 4b 8c 48 c7 44 24 20 90 92 67 81 c7 RSP: 0018:ffffc900048f7b00 EFLAGS: 00000a02 RAX: dffffc0000000000 RBX: 1ffff9200091ef62 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8cba7960 RBP: ffff888026a00000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000040000 R11: 1ffffffff1976571 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8cba7960 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:303 [inline] rcu_read_lock include/linux/rcupdate.h:749 [inline] gc_worker+0x24d/0x17d0 net/netfilter/nf_conntrack_core.c:1488 process_one_work+0x884/0x15c0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 rcu: rcu_preempt kthread timer wakeup didn't happen for 6644 jiffies! g15153 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=4179 rcu: rcu_preempt kthread starved for 6645 jiffies! g15153 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:28432 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1613 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1812 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 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: 924 Comm: kworker/0:3 Not tainted 6.6.0-rc6-syzkaller-00334-g1acfd2bd3f0d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Workqueue: events_power_efficient gc_worker RIP: 0010:memory_is_nonzero mm/kasan/generic.c:101 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:127 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:178 [inline] RIP: 0010:kasan_check_range+0x64/0x190 mm/kasan/generic.c:187 Code: 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 d1 48 c1 ed 03 49 c1 e9 03 48 01 c5 49 01 c1 48 89 e8 49 8d 59 01 48 89 da 48 29 ea <48> 83 fa 10 0f 8e 89 00 00 00 41 89 eb 41 83 e3 07 0f 85 96 00 00 RSP: 0018:ffffc90000007c98 EFLAGS: 00000002 RAX: fffffbfff1d9780a RBX: fffffbfff1d9780b RCX: ffffffff81678465 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8ecbc050 RBP: fffffbfff1d9780a R08: 0000000000000000 R09: fffffbfff1d9780a R10: ffffffff8ecbc057 R11: 0000000000000000 R12: ffff88806d74e300 R13: ffff8880200da400 R14: ffff88806d74e340 R15: ffff888016287c00 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8992cbb6c0 CR3: 000000007cd24000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:504 [inline] cpu_online include/linux/cpumask.h:1082 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xa5/0x680 kernel/locking/lockdep.c:5764 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x16/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] advance_sched+0x60e/0xc60 net/sched/sch_taprio.c:992 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x203/0xc10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x44/0x510 kernel/locking/lockdep.c:5721 Code: 41 89 d5 41 54 45 89 c4 55 53 48 81 ec b0 00 00 00 48 8d 5c 24 10 89 34 24 48 c1 eb 03 89 4c 24 04 48 c7 44 24 10 b3 8a b5 41 <48> 01 d8 48 c7 44 24 18 38 83 4b 8c 48 c7 44 24 20 90 92 67 81 c7 RSP: 0018:ffffc900048f7b00 EFLAGS: 00000a02 RAX: dffffc0000000000 RBX: 1ffff9200091ef62 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8cba7960 RBP: ffff888026a00000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000040000 R11: 1ffffffff1976571 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8cba7960 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:303 [inline] rcu_read_lock include/linux/rcupdate.h:749 [inline] gc_worker+0x24d/0x17d0 net/netfilter/nf_conntrack_core.c:1488 process_one_work+0x884/0x15c0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304