rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 1-...!: (1 GPs behind) idle=c1f/1/0x4000000000000000 softirq=159071/159072 fqs=26
(t=10502 jiffies g=238405 q=335)
rcu: rcu_preempt kthread starved for 9672 jiffies! g238405 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:28736 pid: 14 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4986 [inline]
__schedule+0xab2/0x4db0 kernel/sched/core.c:6295
schedule+0xd2/0x260 kernel/sched/core.c:6368
schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881
rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1963
rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2136
kthread+0x2e9/0x3a0 kernel/kthread.c:377
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 22007 Comm: syz-executor.4 Not tainted 5.17.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:check_region_inline mm/kasan/generic.c:170 [inline]
RIP: 0010:kasan_check_range+0x12c/0x180 mm/kasan/generic.c:189
Code: 00 74 ef 49 8d 04 2c 48 85 d2 75 0b 48 89 da 48 29 c2 e9 55 ff ff ff 49 39 d2 75 17 49 0f be 02 41 83 e1 07 49 39 c1 7d 0a 5b 01 00 00 00 5d 41 5c c3 44 89 c2 e8 a3 ef ff ff 5b 83 f0 01 5d
RSP: 0018:ffffc90000007520 EFLAGS: 00000046
RAX: fffffbfff1ff9d40 RBX: 00000000000005fd RCX: ffffffff815cf36e
RDX: fffffbfff1ff9d40 RSI: 0000000000000008 RDI: ffffffff8ffce9f8
RBP: fffffbfff1ff9d3f R08: 0000000000000000 R09: ffffffff8ffce9ff
R10: fffffbfff1ff9d3f R11: 0000000000000001 R12: ffff888076158ad8
R13: ffff888076158000 R14: ffffffff8d94ccc8 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e524000 CR3: 000000001cf0c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000001000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
hlock_class kernel/locking/lockdep.c:199 [inline]
__lock_acquire+0x143e/0x5470 kernel/locking/lockdep.c:5023
lock_acquire kernel/locking/lockdep.c:5639 [inline]
lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5604
seqcount_lockdep_reader_access include/linux/seqlock.h:103 [inline]
timekeeping_get_delta kernel/time/timekeeping.c:252 [inline]
timekeeping_get_ns kernel/time/timekeeping.c:386 [inline]
ktime_get+0x147/0x470 kernel/time/timekeeping.c:829
hrtimer_forward_now include/linux/hrtimer.h:506 [inline]
perf_swevent_hrtimer+0x246/0x3f0 kernel/events/core.c:10672
__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+0x40/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:div_u64_rem include/linux/math64.h:29 [inline]
RIP: 0010:div_u64 include/linux/math64.h:128 [inline]
RIP: 0010:pie_calculate_probability+0x27d/0x7c0 net/sched/sch_pie.c:348
Code: 89 c6 4c 89 6c 24 38 e8 11 ea 14 fa 47 8d 24 a4 31 d2 4c 89 ff 43 8d 0c 24 48 c1 ed 02 48 b8 ff ff ff ff ff ff ff 00 48 f7 f1 <49> 89 c5 48 89 c6 48 c1 eb 02 49 89 cc e8 51 ed 14 fa 4d 39 ef 73
RSP: 0018:ffffc90000007c50 EFLAGS: 00000207
RAX: 0000068db8bac710 RBX: 000000002af31dc4 RCX: 0000000000002710
RDX: 0000000000001eff RSI: ffffffff876370af RDI: 0000000000000000
RBP: 000000000112e0be R08: 00000000000f4240 R09: 0000000000000000
R10: ffffffff876370f6 R11: 0000000000000000 R12: 0000000000001388
R13: 00004189374bc6a7 R14: 0000000000000004 R15: 0000000000000000
fq_pie_timer+0x170/0x2a0 net/sched/sch_fq_pie.c:383
call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421
expire_timers kernel/time/timer.c:1466 [inline]
__run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734
__run_timers kernel/time/timer.c:1715 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:194
Code: 74 24 10 e8 2a 10 0d f8 48 89 ef e8 e2 85 0d f8 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 13 39 00 f8 65 8b 05 5c 40 b2 76 85 c0 74 0a 5b 5d c3 e8 a0 70
RSP: 0018:ffffc90003f9f4d8 EFLAGS: 00000206
RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff1ffc3de
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffffff9075e500 R08: 0000000000000001 R09: ffffffff8ffce977
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000002
R13: 0000000000000002 R14: dead000000000100 R15: dffffc0000000000
__debug_check_no_obj_freed lib/debugobjects.c:1002 [inline]
debug_check_no_obj_freed+0x20c/0x420 lib/debugobjects.c:1023
free_pages_prepare mm/page_alloc.c:1358 [inline]
free_pcp_prepare+0x2ae/0x870 mm/page_alloc.c:1404
free_unref_page_prepare mm/page_alloc.c:3325 [inline]
free_unref_page+0x19/0x690 mm/page_alloc.c:3404
release_pages+0x748/0x1220 mm/swap.c:956
tlb_batch_pages_flush mm/mmu_gather.c:50 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:243 [inline]
tlb_flush_mmu+0xe9/0x6b0 mm/mmu_gather.c:250
zap_pte_range mm/memory.c:1441 [inline]
zap_pmd_range mm/memory.c:1490 [inline]
zap_pud_range mm/memory.c:1519 [inline]
zap_p4d_range mm/memory.c:1540 [inline]
unmap_page_range+0x1d1d/0x2a30 mm/memory.c:1561
unmap_single_vma+0x198/0x310 mm/memory.c:1606
unmap_vmas+0x16b/0x2f0 mm/memory.c:1638
exit_mmap+0x201/0x670 mm/mmap.c:3178
__mmput+0x122/0x4b0 kernel/fork.c:1114
mmput+0x56/0x60 kernel/fork.c:1135
exit_mm kernel/exit.c:507 [inline]
do_exit+0xa3c/0x2a30 kernel/exit.c:793
do_group_exit+0xd2/0x2f0 kernel/exit.c:935
get_signal+0x4b0/0x28c0 kernel/signal.c:2862
arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f196dca9f74
Code: Unable to access opcode bytes at RIP 0x7f196dca9f4a.
RSP: 002b:00007f196c66bca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: 0000000000000004 RBX: 6666666666666667 RCX: 00007f196dca9f74
RDX: 0000000000000000 RSI: 00007f196c66bd40 RDI: 00000000ffffff9c
RBP: 00007f196c66bd40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007f196e33db1f R14: 00007f196c66c300 R15: 0000000000022000
NMI backtrace for cpu 1
CPU: 1 PID: 21994 Comm: syz-executor.1 Not tainted 5.17.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
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_dump_cpu_stacks+0x25e/0x3f0 kernel/rcu/tree_stall.h:343
print_cpu_stall kernel/rcu/tree_stall.h:604 [inline]
check_cpu_stall kernel/rcu/tree_stall.h:688 [inline]
rcu_pending kernel/rcu/tree.c:3919 [inline]
rcu_sched_clock_irq.cold+0x5c/0x759 kernel/rcu/tree.c:2617
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:1428
__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+0x40/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0xc/0x70 kernel/kcov.c:293
Code: 4c 38 f0 48 c7 44 38 e0 05 00 00 00 48 89 74 38 e8 4e 89 54 c8 20 48 89 10 c3 0f 1f 40 00 49 89 f8 bf 03 00 00 00 4c 8b 14 24 <48> 89 f1 65 48 8b 34 25 00 70 02 00 e8 a3 f8 ff ff 84 c0 74 48 48
RSP: 0018:ffffc90000dc0c48 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88802e25ab70 RCX: 0000000000000100
RDX: ffff88807381ba00 RSI: 0000000000000000 RDI: 0000000000000003
RBP: fffffff0a3da8872 R08: 00000000003b9aca R09: 0000000000000000
R10: ffffffff8763713b R11: 0000000000000000 R12: 0000000000989680
R13: ffff88801b583300 R14: 0000000000000000 R15: 0000000000000000
pie_calculate_probability+0x2eb/0x7c0 net/sched/sch_pie.c:372
fq_pie_timer+0x170/0x2a0 net/sched/sch_fq_pie.c:383
call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421
expire_timers kernel/time/timer.c:1466 [inline]
__run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734
__run_timers kernel/time/timer.c:1715 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:check_kcov_mode+0x31/0x40 kernel/kcov.c:178
Code: 89 c2 81 e2 00 01 00 00 a9 00 01 ff 00 74 10 31 c0 85 d2 74 15 8b 96 a4 15 00 00 85 d2 74 0b 8b 86 80 15 00 00 39 f8 0f 94 c0 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 31 c0 65 8b 15 67 19
RSP: 0018:ffffc90003ef7840 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffff88823bc48f00 RCX: ffff88823bc48553
RDX: 0000000000000000 RSI: ffff88807381ba00 RDI: 0000000000000003
RBP: ffff88823bc48553 R08: ffff88823bc48f00 R09: 00000000ffffffa8
R10: ffffffff81bfb30b R11: 00000000000000a8 R12: ffffffff9054be80
R13: ffff88823bc48f00 R14: 00000000ffffffa8 R15: 00000000000000a8
write_comp_data kernel/kcov.c:221 [inline]
__sanitizer_cov_trace_cmp8+0x1d/0x70 kernel/kcov.c:267
for_each_canary mm/kfence/core.c:345 [inline]
kfence_guarded_free+0x20b/0x930 mm/kfence/core.c:498
__kfence_free+0x70/0x150 mm/kfence/core.c:949
do_slab_free mm/slub.c:3497 [inline]
slab_free mm/slub.c:3510 [inline]
kmem_cache_free+0x323/0x340 mm/slub.c:3526
kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:700
__kfree_skb net/core/skbuff.c:757 [inline]
consume_skb net/core/skbuff.c:914 [inline]
consume_skb+0xcf/0x160 net/core/skbuff.c:908
netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
netlink_unicast+0x541/0x7e0 net/netlink/af_netlink.c:1343
netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1919
sock_sendmsg_nosec net/socket.c:705 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:725
____sys_sendmsg+0x6e8/0x810 net/socket.c:2413
___sys_sendmsg+0xf3/0x170 net/socket.c:2467
__sys_sendmsg+0xe5/0x1b0 net/socket.c:2496
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:0x7fc633ab9059
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007fc63240d168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fc633bcc030 RCX: 00007fc633ab9059
RDX: 0000000000000000 RSI: 0000000020000800 RDI: 0000000000000011
RBP: 00007fc633b1308d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc6340ffb1f R14: 00007fc63240d300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 00 74 ef 49 add %dh,0x49(%rdi,%rbp,8)
4: 8d 04 2c lea (%rsp,%rbp,1),%eax
7: 48 85 d2 test %rdx,%rdx
a: 75 0b jne 0x17
c: 48 89 da mov %rbx,%rdx
f: 48 29 c2 sub %rax,%rdx
12: e9 55 ff ff ff jmpq 0xffffff6c
17: 49 39 d2 cmp %rdx,%r10
1a: 75 17 jne 0x33
1c: 49 0f be 02 movsbq (%r10),%rax
20: 41 83 e1 07 and $0x7,%r9d
24: 49 39 c1 cmp %rax,%r9
27: 7d 0a jge 0x33
29: 5b pop %rbx
* 2a: b8 01 00 00 00 mov $0x1,%eax <-- trapping instruction
2f: 5d pop %rbp
30: 41 5c pop %r12
32: c3 retq
33: 44 89 c2 mov %r8d,%edx
36: e8 a3 ef ff ff callq 0xffffefde
3b: 5b pop %rbx
3c: 83 f0 01 xor $0x1,%eax
3f: 5d pop %rbp