rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 1-...!: (1 GPs behind) idle=8ab/1/0x4000000000000000 softirq=165242/165243 fqs=4
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3216/2:b..l P89/1:b..l
(detected by 0, t=10502 jiffies, g=292625, q=71)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 3206 Comm: syz-executor.4 Not tainted 5.16.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:91 [inline]
RIP: 0010:lock_acquire kernel/locking/lockdep.c:5613 [inline]
RIP: 0010:lock_acquire+0x13b/0x510 kernel/locking/lockdep.c:5602
Code: 85 14 01 00 00 65 48 8b 14 25 40 70 02 00 48 8d ba 5c 0a 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 0f b6 0c 01 <48> 89 f8 83 e0 07 83 c0 03 38 c8 7c 08 84 c9 0f 85 70 03 00 00 8b
RSP: 0018:ffffc90000dc0c20 EFLAGS: 00000017
RAX: dffffc0000000000 RBX: 1ffff920001b8186 RCX: 0000000000000000
RDX: ffff88802cf99d00 RSI: 0000000000010004 RDI: ffff88802cf9a75c
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8d912bd7
R10: fffffbfff1b2257a R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff90667c18 R15: 0000000000000000
FS: 0000555557391400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00f60b000 CR3: 0000000079a41000 CR4: 0000000000350ee0
Call Trace:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162
debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:661
debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline]
debug_activate kernel/time/hrtimer.c:475 [inline]
enqueue_hrtimer+0x27/0x3e0 kernel/time/hrtimer.c:1084
__run_hrtimer kernel/time/hrtimer.c:1702 [inline]
__hrtimer_run_queues+0xb02/0xe50 kernel/time/hrtimer.c:1749
hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
__sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103
sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:finish_task_switch.isra.0+0x323/0xb80 kernel/sched/core.c:4852
Code: e3 79 f3 07 85 c0 75 02 0f 0b 48 85 db 0f 85 25 01 00 00 4c 89 f7 e8 fc f7 ff ff e8 77 45 2d 00 fb 65 48 8b 1c 25 40 70 02 00 <48> 8d bb 80 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1
RSP: 0018:ffffc9000ae97ae8 EFLAGS: 00000202
RAX: 0000000000002dcd RBX: ffff88802cf99d00 RCX: 1ffffffff1b22009
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000ae97b30 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff817ddde8 R11: 0000000000000001 R12: ffff8880b9d3a7d8
R13: ffff88803fc9d700 R14: ffff8880b9d39a80 R15: ffff8880b9d3a4b8
context_switch kernel/sched/core.c:4975 [inline]
__schedule+0xaa2/0x4940 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
freezable_schedule include/linux/freezer.h:172 [inline]
do_nanosleep+0x24e/0x690 kernel/time/hrtimer.c:2044
hrtimer_nanosleep+0x1f9/0x4a0 kernel/time/hrtimer.c:2097
common_nsleep+0xa2/0xc0 kernel/time/posix-timers.c:1227
__do_sys_clock_nanosleep kernel/time/posix-timers.c:1267 [inline]
__se_sys_clock_nanosleep kernel/time/posix-timers.c:1245 [inline]
__x64_sys_clock_nanosleep+0x2f4/0x430 kernel/time/posix-timers.c:1245
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f076942e811
Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 aa e7 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 e3 e7 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f
RSP: 002b:00007ffdcd96c2f0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 00000000001fa337 RCX: 00007f076942e811
RDX: 00007ffdcd96c330 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000000 R09: 00007ffdcd97a080
R10: 0000000000000000 R11: 0000000000000293 R12: 00007f076951cf60
R13: 00007f076951db60 R14: 00007f076951cf60 R15: 00000000001f9ff6
task:kworker/u4:3 state:R running task stack:24056 pid: 89 ppid: 2 flags:0x00004000
Workqueue: bat_events batadv_nc_worker
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6253
preempt_schedule_notrace+0x5b/0xd0 kernel/sched/core.c:6498
preempt_schedule_notrace_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:36
trace_lock_acquire include/trace/events/lock.h:13 [inline]
lock_acquire+0x42a/0x510 kernel/locking/lockdep.c:5608
rcu_lock_acquire include/linux/rcupdate.h:268 [inline]
rcu_read_lock include/linux/rcupdate.h:688 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
batadv_nc_worker+0x12d/0xfa0 net/batman-adv/network-coding.c:723
process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
task:syz-executor.4 state:S stack:25128 pid: 3216 ppid: 12144 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6253
preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:6668
irqentry_exit+0x31/0x80 kernel/entry/common.c:425
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:inet_lookup_ifaddr_rcu+0x105/0x180 net/ipv4/devinet.c:190
Code: ed 75 b0 e8 7d 72 ba f9 49 8d 7c 24 18 48 89 f8 48 c1 e8 03 80 3c 18 00 75 5c 49 8b 6c 24 18 48 89 e8 48 c1 e8 03 80 3c 18 00 <75> 58 48 8b 6d 00 48 8d bd e0 05 00 00 48 89 f8 48 c1 e8 03 80 3c
RSP: 0018:ffffc9000287ec18 EFLAGS: 00000246
RAX: 1ffff11010342500 RBX: dffffc0000000000 RCX: ffffc90015cff000
RDX: 0000000000040000 RSI: ffffffff87bd26e3 RDI: ffff888076fbbe18
RBP: ffff888081a12800 R08: 00000000321414ac R09: 0000000000000001
R10: ffffffff87bd26d9 R11: 0000000000000000 R12: ffff888076fbbe00
R13: 00000000321414ac R14: ffff88808fb51a40 R15: 00000000321414ac
__ip_dev_find+0xd6/0x430 net/ipv4/devinet.c:158
ip_route_output_key_hash_rcu+0x159f/0x2d00 net/ipv4/route.c:2683
ip_route_output_key_hash+0x18b/0x300 net/ipv4/route.c:2619
__ip_route_output_key include/net/route.h:126 [inline]
ip_route_output_flow+0x23/0x150 net/ipv4/route.c:2850
ip_route_output_key include/net/route.h:142 [inline]
sctp_v4_get_dst+0x3bd/0x11d0 net/sctp/protocol.c:448
sctp_transport_pmtu+0x301/0x7c0 net/sctp/transport.c:240
sctp_transport_route+0x15b/0x350 net/sctp/transport.c:465
sctp_assoc_add_peer+0x6e6/0x14b0 net/sctp/associola.c:665
sctp_process_param net/sctp/sm_make_chunk.c:2576 [inline]
sctp_process_init+0x23f1/0x2a30 net/sctp/sm_make_chunk.c:2396
sctp_sf_do_unexpected_init.isra.0+0x953/0x1730 net/sctp/sm_statefuns.c:1611
sctp_do_sm+0x179/0x4ed0 net/sctp/sm_sideeffect.c:1163
sctp_assoc_bh_rcv+0x386/0x6c0 net/sctp/associola.c:1054
sctp_inq_push+0x1da/0x270 net/sctp/inqueue.c:80
sctp_backlog_rcv+0x19e/0x5b0 net/sctp/input.c:344
sk_backlog_rcv include/net/sock.h:1030 [inline]
__release_sock+0x134/0x3b0 net/core/sock.c:2768
release_sock+0x54/0x1b0 net/core/sock.c:3300
sctp_wait_for_connect+0x1cb/0x5d0 net/sctp/socket.c:9306
sctp_sendmsg_to_asoc+0x1828/0x2390 net/sctp/socket.c:1881
sctp_sendmsg+0x103b/0x1d30 net/sctp/socket.c:2027
inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:819
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:724
__sys_sendto+0x21c/0x320 net/socket.c:2036
__do_sys_sendto net/socket.c:2048 [inline]
__se_sys_sendto net/socket.c:2044 [inline]
__x64_sys_sendto+0xdd/0x1b0 net/socket.c:2044
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f0769409ae9
RSP: 002b:00007f076697f188 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f076951cf60 RCX: 00007f0769409ae9
RDX: 0000000000000001 RSI: 0000000020000000 RDI: 0000000000000005
RBP: 00007f0769463f6d R08: 0000000020000100 R09: 000000000000001c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdcd96c2df R14: 00007f076697f300 R15: 0000000000022000
rcu: rcu_preempt kthread starved for 10494 jiffies! g292625 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:28688 pid: 14 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881
rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1955
rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2128
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
rcu: Stack dump where RCU GP kthread last ran:
NMI backtrace for cpu 0
CPU: 0 PID: 979 Comm: kworker/u4:5 Not tainted 5.16.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62
trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
rcu_check_gp_kthread_starvation.cold+0x1fb/0x200 kernel/rcu/tree_stall.h:481
print_other_cpu_stall kernel/rcu/tree_stall.h:586 [inline]
check_cpu_stall kernel/rcu/tree_stall.h:729 [inline]
rcu_pending kernel/rcu/tree.c:3878 [inline]
rcu_sched_clock_irq+0x2125/0x2200 kernel/rcu/tree.c:2597
update_process_times+0x16d/0x200 kernel/time/timer.c:1785
tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226
tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1421
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749
hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
__sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103
sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/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+0x452/0xc20 kernel/smp.c:969
Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 80 75 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 33 06 00 00 8b 43 08 31
RSP: 0018:ffffc90004a4f9f8 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffff8880b9d3fca0 RCX: 0000000000000000
RDX: ffff88801bbe9d00 RSI: ffffffff816c23e0 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff816c2406 R11: 0000000000000000 R12: ffffed10173a7f95
R13: 0000000000000001 R14: ffff8880b9d3fca8 R15: 0000000000000001
on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1135
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:1112 [inline]
text_poke_bp_batch+0x1b3/0x560 arch/x86/kernel/alternative.c:1297
text_poke_flush arch/x86/kernel/alternative.c:1451 [inline]
text_poke_flush arch/x86/kernel/alternative.c:1448 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1458
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
jump_label_update+0x1d5/0x430 kernel/jump_label.c:830
static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177
static_key_enable+0x16/0x20 kernel/jump_label.c:190
toggle_allocation_gate mm/kfence/core.c:732 [inline]
toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:724
process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
vkms_vblank_simulate: vblank timer overrun
----------------
Code disassembly (best guess):
0: 85 14 01 test %edx,(%rcx,%rax,1)
3: 00 00 add %al,(%rax)
5: 65 48 8b 14 25 40 70 mov %gs:0x27040,%rdx
c: 02 00
e: 48 8d ba 5c 0a 00 00 lea 0xa5c(%rdx),%rdi
15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
1c: fc ff df
1f: 48 89 f9 mov %rdi,%rcx
22: 48 c1 e9 03 shr $0x3,%rcx
26: 0f b6 0c 01 movzbl (%rcx,%rax,1),%ecx
* 2a: 48 89 f8 mov %rdi,%rax <-- trapping instruction
2d: 83 e0 07 and $0x7,%eax
30: 83 c0 03 add $0x3,%eax
33: 38 c8 cmp %cl,%al
35: 7c 08 jl 0x3f
37: 84 c9 test %cl,%cl
39: 0f 85 70 03 00 00 jne 0x3af
3f: 8b .byte 0x8b