rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=0994/1/0x4000000000000000 softirq=20418/20418 fqs=0 rcu: (detected by 1, t=10502 jiffies, g=25733, q=209 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5083 Comm: syz-fuzzer Tainted: G W 6.10.0-rc2-next-20240605-syzkaller #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:validate_chain+0x23/0x5920 kernel/locking/lockdep.c:3858 Code: 90 90 90 90 90 90 90 f3 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec c0 02 00 00 49 89 ce 89 54 24 58 <48> 89 bc 24 80 00 00 00 65 48 8b 04 25 28 00 00 00 48 89 84 24 a0 RSP: 0018:ffffc90000005500 EFLAGS: 00000086 RAX: 1ffffffff2595d4c RBX: ffffffff92caea60 RCX: d57e1d102ea6ccdd RDX: 0000000000000001 RSI: ffff8880287ae648 RDI: ffff8880287ada00 RBP: ffffc90000005800 R08: ffffffff92fc36cf R09: 1ffffffff25f86d9 R10: dffffc0000000000 R11: fffffbfff25f86da R12: ffff8880287ada00 R13: ffff8880287ae4d8 R14: d57e1d102ea6ccdd R15: 0000000000000001 FS: 000000c00005a090(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32f23000 CR3: 0000000076b18000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1359/0x2000 kernel/locking/lockdep.c:5194 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5817 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xd3/0x120 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x670/0xd50 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1813 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__sanitizer_cov_trace_pc+0x5d/0x70 kernel/kcov.c:225 Code: f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 48 8d 7e 01 8b 89 fc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 RSP: 0018:ffffc90000005e60 EFLAGS: 00000246 RAX: ffffffff81411491 RBX: ffffffff9011d154 RCX: ffff8880287ada00 RDX: 0000000080000305 RSI: ffffffff89610bda RDI: ffffffff89610b1a RBP: ffffffff89610b1a R08: ffffffff81411470 R09: ffffc90000006030 R10: 0000000000000003 R11: ffffffff81824050 R12: ffffffff9011d158 R13: ffffffff9011d158 R14: ffffffff89610bda R15: ffffffff9011d154 __orc_find arch/x86/kernel/unwind_orc.c:99 [inline] orc_find arch/x86/kernel/unwind_orc.c:227 [inline] unwind_next_frame+0x531/0x2a00 arch/x86/kernel/unwind_orc.c:494 arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3941 [inline] slab_alloc_node mm/slub.c:4001 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4008 skb_clone+0x20c/0x390 net/core/skbuff.c:2052 dev_queue_xmit_nit+0x419/0xc10 net/core/dev.c:2311 xmit_one net/core/dev.c:3574 [inline] dev_hard_start_xmit+0x15f/0x7e0 net/core/dev.c:3594 sch_direct_xmit+0x2b6/0x5f0 net/sched/sch_generic.c:343 __dev_xmit_skb net/core/dev.c:3807 [inline] __dev_queue_xmit+0x1a24/0x3d30 net/core/dev.c:4359 dev_queue_xmit include/linux/netdevice.h:3095 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip_finish_output2+0xd41/0x1380 net/ipv4/ip_output.c:235 ip_local_out net/ipv4/ip_output.c:129 [inline] __ip_queue_xmit+0x118c/0x1b70 net/ipv4/ip_output.c:535 __tcp_transmit_skb+0x2544/0x3b30 net/ipv4/tcp_output.c:1466 tcp_ack_snd_check net/ipv4/tcp_input.c:5745 [inline] tcp_rcv_established+0x107e/0x2020 net/ipv4/tcp_input.c:6185 tcp_v4_do_rcv+0x965/0xc60 net/ipv4/tcp_ipv4.c:1904 tcp_v4_rcv+0x2d9e/0x37c0 net/ipv4/tcp_ipv4.c:2339 ip_protocol_deliver_rcu+0x225/0x430 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x341/0x5f0 net/ipv4/ip_input.c:233 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 ip_local_deliver net/ipv4/ip_input.c:254 [inline] dst_input include/net/dst.h:460 [inline] ip_sublist_rcv_finish+0x3be/0x4f0 net/ipv4/ip_input.c:580 ip_list_rcv_finish net/ipv4/ip_input.c:631 [inline] ip_sublist_rcv+0x75d/0xab0 net/ipv4/ip_input.c:639 ip_list_rcv+0x42b/0x480 net/ipv4/ip_input.c:674 __netif_receive_skb_list_ptype net/core/dev.c:5668 [inline] __netif_receive_skb_list_core+0x95a/0x980 net/core/dev.c:5716 __netif_receive_skb_list net/core/dev.c:5768 [inline] netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5860 gro_normal_list include/net/gro.h:515 [inline] napi_complete_done+0x310/0x8e0 net/core/dev.c:6203 virtqueue_napi_complete drivers/net/virtio_net.c:655 [inline] virtnet_poll+0xd68/0x18c0 drivers/net/virtio_net.c:2370 __napi_poll+0xcb/0x490 net/core/dev.c:6722 napi_poll net/core/dev.c:6791 [inline] net_rx_action+0x7bb/0x10a0 net/core/dev.c:6907 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 common_interrupt+0xaa/0xd0 arch/x86/kernel/irq.c:278 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5066 Code: c9 50 e8 f9 b4 0b 00 48 83 c4 08 4c 89 f7 e8 7d 38 00 00 e9 de 04 00 00 4c 89 f7 e8 d0 25 31 0a e8 3b 2e 37 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc RSP: 0018:ffffc9000353f7a8 EFLAGS: 00000286 RAX: 3c64faf3916d9800 RBX: ffff8880287ada00 RCX: ffffffff947bb803 RDX: dffffc0000000000 RSI: ffffffff8bcabee0 RDI: ffffffff8c200640 RBP: ffffc9000353f7f0 R08: ffffffff8fadd32f R09: 1ffffffff1f5ba65 R10: dffffc0000000000 R11: fffffbfff1f5ba66 R12: 1ffff11017287ea7 R13: dffffc0000000000 R14: ffff8880b943e7c0 R15: ffff8880b943f538 context_switch kernel/sched/core.c:5195 [inline] __schedule+0x17f0/0x4a20 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 futex_wait_queue+0x14e/0x1d0 kernel/futex/waitwake.c:370 __futex_wait+0x17f/0x320 kernel/futex/waitwake.c:669 futex_wait+0x101/0x360 kernel/futex/waitwake.c:697 do_futex+0x33b/0x560 kernel/futex/syscalls.c:102 __do_sys_futex kernel/futex/syscalls.c:179 [inline] __se_sys_futex+0x3f9/0x480 kernel/futex/syscalls.c:160 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x473523 Code: 24 20 c3 cc cc cc cc 48 8b 7c 24 08 8b 74 24 10 8b 54 24 14 4c 8b 54 24 18 4c 8b 44 24 20 44 8b 4c 24 28 b8 ca 00 00 00 0f 05 <89> 44 24 30 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc RSP: 002b:000000c00006be80 EFLAGS: 00000202 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000473523 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000025cdce0 RBP: 000000c00006bec8 R08: 0000000000000000 R09: 0000000000000000 R10: 000000c00006beb8 R11: 0000000000000202 R12: 000000c00006beb8 R13: 000000c000e21800 R14: 000000c0000064e0 R15: 0000000000000003 rcu: rcu_preempt kthread starved for 10502 jiffies! g25733 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 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:R running task stack:23992 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2029 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2231 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 7932 Comm: syz-executor.1 Tainted: G W 6.10.0-rc2-next-20240605-syzkaller #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1871/0x29d0 kernel/smp.c:855 Code: 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 a4 08 0c 00 eb 38 f3 90 42 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 <74> 1e e8 88 08 0c 00 eb e4 44 89 e9 80 e1 07 80 c1 03 38 c1 7c e2 RSP: 0018:ffffc9000e47f7e0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 1ffff11017288c11 RCX: 0000000000040000 RDX: ffffc900045e9000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000e47f9b0 R08: ffffffff818a8877 R09: 1ffffffff1f5ba65 R10: dffffc0000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880b9446088 R14: ffff8880b953f900 R15: 0000000000000000 FS: 00007ff9f59986c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000001e46e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: clock_was_set+0x75c/0x810 kernel/time/hrtimer.c:972 timekeeping_inject_offset+0x4e8/0x580 kernel/time/timekeeping.c:1524 do_adjtimex+0x515/0xab0 kernel/time/timekeeping.c:2573 do_clock_adjtime kernel/time/posix-timers.c:1159 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1171 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1162 [inline] __x64_sys_clock_adjtime+0x1e1/0x290 kernel/time/posix-timers.c:1162 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff9f4c7cf69 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:00007ff9f59980c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007ff9f4db3f80 RCX: 00007ff9f4c7cf69 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007ff9f4cda6fe R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff9f4db3f80 R15: 00007ffc30777df8