rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=8e64/1/0x4000000000000000 softirq=9645/9646 fqs=0 (detected by 0, t=10506 jiffies, g=9749, q=44 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4239 Comm: syz-executor Not tainted 6.1.124-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:check_wait_context kernel/locking/lockdep.c:4724 [inline] RIP: 0010:__lock_acquire+0x5b9/0x1f80 kernel/locking/lockdep.c:4999 Code: 8b 34 24 0f 85 e9 13 00 00 83 3d b1 a3 ca 15 00 0f 84 23 05 00 00 31 db 48 81 c3 b9 00 00 00 48 89 d8 48 c1 e8 03 0f b6 04 10 <84> c0 0f 85 f7 11 00 00 48 8b 44 24 20 49 8d 84 c5 e0 0a 00 00 48 RSP: 0018:ffffc900001e0a00 EFLAGS: 00000802 RAX: 0000000000000000 RBX: ffffffff90bd61d9 RCX: ffffffff816aad5a RDX: dffffc0000000000 RSI: ffff88802f388ae0 RDI: ffffffff9124e260 RBP: 0000000000000002 R08: dffffc0000000000 R09: fffffbfff2249c4d R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802f388ad8 R13: ffff88802f388000 R14: ffff88802f388bc8 R15: 1ffff11005e71179 FS: 0000555592de9500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb96e579f98 CR3: 0000000077515000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 debug_object_deactivate+0x63/0x380 lib/debugobjects.c:753 debug_hrtimer_deactivate kernel/time/hrtimer.c:426 [inline] debug_deactivate+0x1d/0x280 kernel/time/hrtimer.c:482 __run_hrtimer kernel/time/hrtimer.c:1657 [inline] __hrtimer_run_queues+0x334/0xe50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline] __sysvec_apic_timer_interrupt+0x158/0x5b0 arch/x86/kernel/apic/apic.c:1124 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:tcp_in_window net/netfilter/nf_conntrack_proto_tcp.c:674 [inline] RIP: 0010:nf_conntrack_tcp_packet+0x2b37/0x57c0 net/netfilter/nf_conntrack_proto_tcp.c:1254 Code: 03 42 0f b6 04 28 84 c0 4d 89 fe 0f 85 12 23 00 00 c6 03 00 e9 1c 09 00 00 e8 c5 69 9e f8 4c 8b 64 24 20 8b 84 24 94 00 00 00 <45> 89 e5 45 29 fd 89 84 24 94 00 00 00 41 01 c5 48 b8 00 00 00 00 RSP: 0018:ffffc90003d56cc0 EFLAGS: 00000202 RAX: 00000000002ff780 RBX: 0000000000000007 RCX: 0000000000000007 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000020 RBP: ffffc90003d56f70 R08: ffffffff88ec2ccb R09: ffffc90003d56e40 R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000d6a6bbef R13: 00000000ffd0087f R14: 00000000d6a6bbef R15: 00000000d6a6bbef nf_conntrack_handle_packet net/netfilter/nf_conntrack_core.c:1943 [inline] nf_conntrack_in+0xdab/0x1d10 net/netfilter/nf_conntrack_core.c:2034 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xae/0x1e0 net/netfilter/core.c:614 nf_hook+0x2c0/0x450 include/linux/netfilter.h:257 __ip_local_out+0x38b/0x4a0 net/ipv4/ip_output.c:115 ip_local_out net/ipv4/ip_output.c:124 [inline] __ip_queue_xmit+0x10e7/0x1b60 net/ipv4/ip_output.c:532 __tcp_transmit_skb+0x1e33/0x33a0 net/ipv4/tcp_output.c:1405 tcp_cleanup_rbuf net/ipv4/tcp.c:1651 [inline] tcp_recvmsg_locked+0x1b77/0x2450 net/ipv4/tcp.c:2671 tcp_recvmsg+0x258/0x920 net/ipv4/tcp.c:2701 inet_recvmsg+0x13b/0x250 net/ipv4/af_inet.c:890 sock_recvmsg_nosec net/socket.c:1022 [inline] sock_recvmsg net/socket.c:1040 [inline] sock_read_iter+0x3b2/0x4b0 net/socket.c:1121 call_read_iter include/linux/fs.h:2259 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x88d/0xbf0 fs/read_write.c:470 ksys_read+0x19c/0x2c0 fs/read_write.c:613 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f59c65846fd Code: a8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb b5 e8 a8 48 00 00 0f 1f 84 00 00 00 00 00 80 3d 41 7e 1c 00 00 74 17 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 5b c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec RSP: 002b:00007ffdf8417148 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f59c65846fd RDX: 0000000000000204 RSI: 0000555592e0b450 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffdf84730b0 R09: 0000000000000010 R10: 00007ffdf8473080 R11: 0000000000000246 R12: 00007ffdf8417570 R13: 0000000000000204 R14: 0000555592e0b450 R15: 00007ffdf84171f0 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g9749 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=4752 rcu: rcu_preempt kthread starved for 10506 jiffies! g9749 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:26136 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 4479 Comm: syz.3.55 Not tainted 6.1.124-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] RIP: 0010:kvm_wait+0x1b4/0x200 arch/x86/kernel/kvm.c:1064 Code: e0 48 c1 e8 03 42 0f b6 04 28 84 c0 75 42 45 0f b6 34 24 e8 2e 10 55 00 44 3a 74 24 1c 75 10 66 90 0f 00 2d 2e 20 cd 09 fb f4 c8 fe ff ff fb e9 c2 fe ff ff 44 89 e1 80 e1 07 38 c1 0f 8c 54 RSP: 0018:ffffc90000006a40 EFLAGS: 00000246 RAX: a31c9ec284788100 RBX: 1ffff92000000d4c RCX: ffffffff816b126a RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: ffffffff8b5e6840 RBP: ffffc90000006b10 R08: dffffc0000000000 R09: fffffbfff2249c65 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807e350188 R13: dffffc0000000000 R14: 0000000000000003 R15: ffffc90000006a80 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0d7a85d27a CR3: 000000005ac4f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:603 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x6fb/0xc50 kernel/locking/qspinlock.c:511 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath+0x42/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x269/0x370 kernel/locking/spinlock_debug.c:115 spin_lock_bh include/linux/spinlock.h:356 [inline] nf_conntrack_tcp_packet+0x3f5/0x57c0 net/netfilter/nf_conntrack_proto_tcp.c:989 nf_conntrack_handle_packet net/netfilter/nf_conntrack_core.c:1943 [inline] nf_conntrack_in+0xdab/0x1d10 net/netfilter/nf_conntrack_core.c:2034 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow net/netfilter/core.c:614 [inline] nf_hook_slow_list+0x2b6/0x660 net/netfilter/core.c:653 NF_HOOK_LIST include/linux/netfilter.h:338 [inline] ip_sublist_rcv+0xd67/0xe70 net/ipv4/ip_input.c:637 ip_list_rcv+0x422/0x470 net/ipv4/ip_input.c:674 __netif_receive_skb_list_ptype net/core/dev.c:5581 [inline] __netif_receive_skb_list_core+0x6b1/0x890 net/core/dev.c:5629 __netif_receive_skb_list net/core/dev.c:5681 [inline] netif_receive_skb_list_internal+0xa0d/0xe20 net/core/dev.c:5772 gro_normal_list include/net/gro.h:433 [inline] napi_complete_done+0x352/0x820 net/core/dev.c:6113 virtqueue_napi_complete drivers/net/virtio_net.c:403 [inline] virtnet_poll+0xc4a/0x1450 drivers/net/virtio_net.c:1687 __napi_poll+0xc7/0x470 net/core/dev.c:6547 napi_poll net/core/dev.c:6614 [inline] net_rx_action+0x70f/0xeb0 net/core/dev.c:6728 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571 __do_softirq kernel/softirq.c:605 [inline] invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666 common_interrupt+0xb3/0xd0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:682 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666 Code: 2b 00 74 08 4c 89 f7 e8 9f 8e 77 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc9000483f140 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000907e34 RCX: 1ffff92000907dd4 RDX: dffffc0000000000 RSI: ffffffff8b0c14c0 RDI: ffffffff8b5e6840 RBP: ffffc9000483f298 R08: dffffc0000000000 R09: fffffbfff2249c4d R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000907e30 R13: dffffc0000000000 R14: ffffc9000483f1a0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] page_ext_get+0x39/0x2a0 mm/page_ext.c:157 page_table_check_clear+0x4b/0x6d0 mm/page_table_check.c:71 zap_pte_range mm/memory.c:1435 [inline] zap_pmd_range mm/memory.c:1574 [inline] zap_pud_range mm/memory.c:1603 [inline] zap_p4d_range mm/memory.c:1624 [inline] unmap_page_range+0x1b4a/0x2740 mm/memory.c:1645 unmap_vmas+0x48b/0x640 mm/memory.c:1730 exit_mmap+0x249/0x980 mm/mmap.c:3238 __mmput+0x115/0x3c0 kernel/fork.c:1200 exit_mm+0x226/0x300 kernel/exit.c:565 do_exit+0x9f1/0x26a0 kernel/exit.c:858 do_group_exit+0x202/0x2b0 kernel/exit.c:1021 get_signal+0x16f7/0x17d0 kernel/signal.c:2871 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fb96d785d29 Code: Unable to access opcode bytes at 0x7fb96d785cff. RSP: 002b:00007fb96e57a0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fb96d975fa8 RCX: 00007fb96d785d29 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fb96d975fa8 RBP: 00007fb96d975fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb96d975fac R13: 0000000000000000 R14: 00007ffdf0b7df50 R15: 00007ffdf0b7e038