rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=2024/1/0x4000000000000000 softirq=75687/75688 fqs=378 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P20289/1:b..l P17930/1:b..l rcu: (detected by 1, t=10502 jiffies, g=114641, q=144 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 20293 Comm: syz-executor.4 Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:qdisc_dev include/net/sch_generic.h:561 [inline] RIP: 0010:taprio_set_budgets+0x63/0x300 net/sched/sch_taprio.c:668 Code: 02 00 0f 85 b0 02 00 00 48 8b 44 24 18 48 8b 58 08 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 40 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 7e 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5b 40 48 89 RSP: 0018:ffffc90000007d20 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff88802fda5000 RCX: 0000000000000000 RDX: 1ffff11005fb4a08 RSI: ffffffff8840e172 RDI: ffff88802fda5040 RBP: 18350c2eb06a185d R08: 0000000000000004 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000094001 R12: ffff888028a7dc00 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000080000001 FS: 00007fd60ee16700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020449000 CR3: 0000000079de2000 CR4: 00000000003506f0 DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: advance_sched+0x63f/0xd20 net/sched/sch_taprio.c:982 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x599/0xa30 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 36 83 51 f7 48 89 ef e8 1e f1 51 f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 8f bb 43 f7 65 8b 05 20 74 ef 75 85 c0 74 0a 5b 5d c3 e8 3c 76 RSP: 0018:ffffc900034bfcb0 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff22a76d6 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8880b982b880 R08: 0000000000000001 R09: fffffbfff22a75a0 R10: 0000000000000001 R11: 0000000000000002 R12: fb9ebc7775b4ee33 R13: 0000000000000000 R14: 0000022e95bd2ccf R15: dffffc0000000000 clock_was_set+0x610/0x810 kernel/time/hrtimer.c:970 do_settimeofday64 kernel/time/timekeeping.c:1345 [inline] do_settimeofday64+0x3c4/0x5d0 kernel/time/timekeeping.c:1312 do_sys_settimeofday64 kernel/time/time.c:195 [inline] do_sys_settimeofday64+0x1e2/0x270 kernel/time/time.c:169 __do_sys_clock_settime kernel/time/posix-timers.c:1092 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1080 [inline] __x64_sys_clock_settime+0x1a5/0x280 kernel/time/posix-timers.c:1080 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd60e08c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd60ee16168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007fd60e1abf80 RCX: 00007fd60e08c169 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00007fd60e0e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdc40eee5f R14: 00007fd60ee16300 R15: 0000000000022000 task:kworker/u4:5 state:R running task stack:26304 pid:17930 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1d15/0x5790 kernel/sched/core.c:6669 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:6981 irqentry_exit+0x35/0x80 kernel/entry/common.c:433 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:lock_acquire.part.0+0x156/0x370 kernel/locking/lockdep.c:5670 Code: b8 ff ff ff ff 65 0f c1 05 97 b5 9c 7e 83 f8 01 0f 85 c7 01 00 00 9c 58 f6 c4 02 0f 85 da 01 00 00 48 85 ed 0f 85 ad 01 00 00 <48> b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7 RSP: 0018:ffffc9000381fab0 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 1ffff92000703f57 RCX: 66c8bb767dbcad2c RDX: 1ffff1100533e510 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff22a75a0 R10: ffffffff9153ad07 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff8c799140 rcu_lock_acquire include/linux/rcupdate.h:302 [inline] rcu_read_lock include/linux/rcupdate.h:748 [inline] batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:754 [inline] batadv_iv_ogm_schedule_buff+0x5d0/0x1520 net/batman-adv/bat_iv_ogm.c:825 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:868 [inline] batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:861 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x333/0x960 net/batman-adv/bat_iv_ogm.c:1712 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2407 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2554 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 task:syz-executor.0 state:S stack:25280 pid:20289 ppid:17561 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1d15/0x5790 kernel/sched/core.c:6669 preempt_schedule_common+0x45/0xb0 kernel/sched/core.c:6838 preempt_schedule_thunk+0x1a/0x20 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x5b/0x70 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] ref_tracker_alloc+0x2c7/0x580 lib/ref_tracker.c:96 __netdev_tracker_alloc include/linux/netdevice.h:4070 [inline] netdev_hold include/linux/netdevice.h:4099 [inline] dst_init+0xe5/0x590 net/core/dst.c:52 dst_alloc+0xc3/0x1a0 net/core/dst.c:93 rt_dst_alloc+0x55/0x3d0 net/ipv4/route.c:1633 __mkroute_output net/ipv4/route.c:2590 [inline] ip_route_output_key_hash_rcu+0x887/0x2bc0 net/ipv4/route.c:2812 ip_route_output_key_hash+0x18f/0x340 net/ipv4/route.c:2641 __ip_route_output_key include/net/route.h:134 [inline] ip_route_output_flow+0x27/0x150 net/ipv4/route.c:2869 ip_route_output_key include/net/route.h:150 [inline] sctp_v4_get_dst+0x2a7/0x1230 net/sctp/protocol.c:451 sctp_transport_route+0x129/0x350 net/sctp/transport.c:452 sctp_assoc_add_peer+0x6e5/0x1530 net/sctp/associola.c:662 sctp_process_param net/sctp/sm_make_chunk.c:2576 [inline] sctp_process_init+0x233a/0x2950 net/sctp/sm_make_chunk.c:2396 sctp_cmd_process_init net/sctp/sm_sideeffect.c:706 [inline] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1386 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1198 [inline] sctp_do_sm+0x3b9b/0x5310 net/sctp/sm_sideeffect.c:1169 sctp_assoc_bh_rcv+0x38a/0x6c0 net/sctp/associola.c:1051 sctp_inq_push+0x1d6/0x270 net/sctp/inqueue.c:80 sctp_backlog_rcv+0x19a/0x5b0 net/sctp/input.c:331 sk_backlog_rcv include/net/sock.h:1113 [inline] __release_sock+0x133/0x3b0 net/core/sock.c:2917 release_sock+0x58/0x1b0 net/core/sock.c:3484 sctp_wait_for_connect+0x416/0x5c0 net/sctp/socket.c:9341 __sctp_connect+0x9a1/0xc30 net/sctp/socket.c:1246 sctp_connect net/sctp/socket.c:4810 [inline] sctp_inet_connect+0x161/0x200 net/sctp/socket.c:4825 __sys_connect_file+0x153/0x1a0 net/socket.c:2003 __sys_connect+0x165/0x1a0 net/socket.c:2020 __do_sys_connect net/socket.c:2030 [inline] __se_sys_connect net/socket.c:2027 [inline] __x64_sys_connect+0x73/0xb0 net/socket.c:2027 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f19cf88c169 RSP: 002b:00007f19d0678168 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f19cf9ac050 RCX: 00007f19cf88c169 RDX: 000000000000001c RSI: 0000000020000000 RDI: 0000000000000008 RBP: 00007f19cf8e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc2e04440f R14: 00007f19d0678300 R15: 0000000000022000 rcu: rcu_preempt kthread starved for 9746 jiffies! g114641 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:28352 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1d15/0x5790 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline] RIP: 0010:acpi_safe_halt+0x40/0x50 drivers/acpi/processor_idle.c:113 Code: eb 03 83 e3 01 89 de 0f 1f 44 00 00 84 db 75 1b 0f 1f 44 00 00 66 90 0f 1f 44 00 00 0f 00 2d 57 4e a1 00 0f 1f 44 00 00 fb f4 5b c3 cc 0f 1f 00 66 0f 1f 84 00 00 00 00 00 55 48 89 fd 53 0f RSP: 0018:ffffc90000177d18 EFLAGS: 00000246 RAX: ffff888016659dc0 RBX: 0000000000000000 RCX: ffffffff8a10cd15 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888015a5b064 R08: 0000000000000001 R09: ffffed1017326d9d R10: ffff8880b9936ceb R11: 0000000000000000 R12: 0000000000000001 R13: ffff888015a5b000 R14: ffff888015a5b064 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e729000 CR3: 000000002783e000 CR4: 00000000003506e0 DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: acpi_idle_do_entry+0x53/0x70 drivers/acpi/processor_idle.c:573 acpi_idle_enter+0x173/0x290 drivers/acpi/processor_idle.c:711 cpuidle_enter_state+0xd3/0x6f0 drivers/cpuidle/cpuidle.c:267 cpuidle_enter+0x4e/0xa0 drivers/cpuidle/cpuidle.c:388 cpuidle_idle_call kernel/sched/idle.c:215 [inline] do_idle+0x2fe/0x3c0 kernel/sched/idle.c:282 cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:379 start_secondary+0x221/0x2b0 arch/x86/kernel/smpboot.c:269 secondary_startup_64_no_verify+0xf4/0xfb