rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=68d/1/0x4000000000000000 softirq=45459/45461 fqs=24 (detected by 0, t=10505 jiffies, g=72393, q=106) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16542 Comm: syz-executor.3 Not tainted 5.15.150-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:__lock_release kernel/locking/lockdep.c:5286 [inline] RIP: 0010:lock_release+0x1f6/0x9a0 kernel/locking/lockdep.c:5643 Code: 10 81 0c 00 0f 84 d4 03 00 00 4d 8d b5 e8 0a 00 00 4c 89 f0 48 c1 e8 03 48 89 44 24 48 42 0f b6 04 38 84 c0 0f 85 60 05 00 00 <41> 8b 06 85 c0 0f 84 4d 02 00 00 4c 89 34 24 48 89 54 24 10 48 89 RSP: 0018:ffffc90000dd0b80 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000046 RCX: ffffc90000dd0c03 RDX: 1ffff920001ba180 RSI: ffffffff8a8b2300 RDI: ffffffff8ad88ec0 RBP: ffffc90000dd0cb0 R08: dffffc0000000000 R09: fffffbfff1bc7186 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920001ba17c R13: ffff88801d223b80 R14: ffff88801d224668 R15: dffffc0000000000 FS: 00007fb1e93f36c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f25e989647c CR3: 000000007ed63000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_unlock_irqrestore+0x75/0x130 kernel/locking/spinlock.c:194 __run_hrtimer kernel/time/hrtimer.c:1682 [inline] __hrtimer_run_queues+0x48c/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 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:seqcount_lockdep_reader_access+0x1dc/0x220 include/linux/seqlock.h:106 Code: 00 4d 85 ed 75 16 e8 f3 b0 10 00 eb 15 e8 ec b0 10 00 e8 57 14 ac 08 4d 85 ed 74 ea e8 dd b0 10 00 fb 48 c7 04 24 0e 36 e0 45 <4b> c7 04 3c 00 00 00 00 66 43 c7 44 3c 09 00 00 43 c6 44 3c 0b 00 RSP: 0018:ffffc90004077ac0 EFLAGS: 00000283 RAX: ffffffff816f84b3 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000412d000 RSI: 00000000000000d9 RDI: 00000000000000da RBP: ffffc90004077b68 R08: ffffffff816f8489 R09: fffffbfff1bc7186 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000200 R14: 0000000000000046 R15: 1ffff9200080ef58 ktime_mono_to_any+0x67/0x100 kernel/time/timekeeping.c:915 ktime_mono_to_real include/linux/timekeeping.h:149 [inline] timerfd_clock_was_set+0x1c/0x2a0 fs/timerfd.c:99 clock_was_set+0x7e8/0x880 kernel/time/hrtimer.c:980 do_settimeofday64+0x673/0x7e0 kernel/time/timekeeping.c:1328 __do_sys_clock_settime kernel/time/posix-timers.c:1124 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1112 [inline] __x64_sys_clock_settime+0x232/0x270 kernel/time/posix-timers.c:1112 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:0x7fb1eae72da9 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:00007fb1e93f30c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007fb1eafa0f80 RCX: 00007fb1eae72da9 RDX: 0000000000000000 RSI: 0000000020003c80 RDI: 0000000000000000 RBP: 00007fb1eaebf47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fb1eafa0f80 R15: 00007ffdc44f76a8 rcu: rcu_preempt kthread timer wakeup didn't happen for 10384 jiffies! g72393 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=49719 rcu: rcu_preempt kthread starved for 10385 jiffies! g72393 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:26776 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: NMI backtrace for cpu 0 CPU: 0 PID: 16523 Comm: syz-executor.0 Not tainted 5.15.150-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_check_gp_kthread_starvation+0x1d2/0x240 kernel/rcu/tree_stall.h:487 print_other_cpu_stall+0x137a/0x14d0 kernel/rcu/tree_stall.h:592 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0xa38/0x1150 kernel/rcu/tree.c:2619 update_process_times+0x196/0x200 kernel/time/timer.c:1788 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 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:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0xa9d/0xd90 kernel/smp.c:969 Code: 45 8b 7d 00 44 89 fe 83 e6 01 31 ff e8 ac ce 0b 00 41 83 e7 01 75 07 e8 41 cb 0b 00 eb 41 f3 90 48 b8 00 00 00 00 00 fc ff df <0f> b6 04 03 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 1c cb 0b RSP: 0018:ffffc900036871a0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 1ffff110173680b1 RCX: 0000000000040000 RDX: ffffc900062e1000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc900036872e0 R08: ffffffff81746a44 R09: fffffbfff1f79e1a R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff8880b9b40588 R14: ffff8880b9a3b380 R15: 0000000000000001 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135 __purge_vmap_area_lazy+0x294/0x1740 mm/vmalloc.c:1683 try_purge_vmap_area_lazy+0x34/0x50 mm/vmalloc.c:1723 free_unmap_vmap_area mm/vmalloc.c:1778 [inline] remove_vm_area+0x1ae/0x1d0 mm/vmalloc.c:2517 vm_remove_mappings mm/vmalloc.c:2546 [inline] __vunmap+0x325/0xa20 mm/vmalloc.c:2611 __do_replace+0x298/0xad0 net/ipv4/netfilter/ip_tables.c:1098 do_replace net/ipv4/netfilter/ip_tables.c:1138 [inline] do_ipt_set_ctl+0x2cf1/0x3e70 net/ipv4/netfilter/ip_tables.c:1628 nf_setsockopt+0x28a/0x2b0 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0x2732/0x3fb0 net/ipv4/ip_sockglue.c:1442 tcp_setsockopt+0x23f/0x3680 net/ipv4/tcp.c:3705 __sys_setsockopt+0x57e/0x990 net/socket.c:2198 __do_sys_setsockopt net/socket.c:2209 [inline] __se_sys_setsockopt net/socket.c:2206 [inline] __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2206 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:0x7f4c16259da9 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:00007f4c147da0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f4c16387f80 RCX: 00007f4c16259da9 RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 00007f4c162a647a R08: 0000000000000001 R09: 0000000000000000 R10: 00000000200008c0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f4c16387f80 R15: 00007fff1d37e848