rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-....: (1 GPs behind) idle=ef6/1/0x4000000000000004 softirq=8449/10752 fqs=5168 (t=10500 jiffies g=5629 q=3817) NMI backtrace for cpu 0 CPU: 0 PID: 7921 Comm: syz-executor.1 Not tainted 5.4.0-syzkaller #0 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x197/0x210 lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x23b/0x28b lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x183/0x1cf kernel/rcu/tree_stall.h:254 print_cpu_stall kernel/rcu/tree_stall.h:455 [inline] check_cpu_stall kernel/rcu/tree_stall.h:529 [inline] rcu_pending kernel/rcu/tree.c:2827 [inline] rcu_sched_clock_irq.cold+0x509/0xc02 kernel/rcu/tree.c:2271 update_process_times+0x2d/0x70 kernel/time/timer.c:1726 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:167 tick_sched_timer+0x53/0x140 kernel/time/tick-sched.c:1310 __run_hrtimer kernel/time/hrtimer.c:1514 [inline] __hrtimer_run_queues+0x364/0xe40 kernel/time/hrtimer.c:1576 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1638 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline] smp_apic_timer_interrupt+0x160/0x610 arch/x86/kernel/apic/apic.c:1135 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:update_stack_state+0x1f/0x5f0 arch/x86/kernel/unwind_frame.c:194 Code: 06 c3 66 0f 1f 84 00 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 57 41 56 4c 8d b5 78 ff ff ff 49 c1 ee 03 41 55 <49> 89 fd 41 54 49 8d 0c 06 53 48 81 ec a0 00 00 00 48 c7 45 80 e2 RSP: 0018:ffff88802d609500 EFLAGS: 00000a02 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: ffff88802d609600 RCX: ffff88802d6095b0 RDX: 1ffff1100bb41f42 RSI: ffff88805da0fa48 RDI: ffff88802d609600 RBP: ffff88802d609518 R08: ffff888069728040 R09: ffff88802d609658 R10: ffff88802d609628 R11: ffff88802d609638 R12: 1ffff11005ac12aa R13: 0000000000000000 R14: 1ffff11005ac1292 R15: ffff88805da0fa48 unwind_next_frame.part.0+0x1a9/0xa20 arch/x86/kernel/unwind_frame.c:311 unwind_next_frame+0x3b/0x50 arch/x86/kernel/unwind_frame.c:265 arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xac/0xe0 kernel/stacktrace.c:123 save_stack+0x23/0x90 mm/kasan/common.c:69 set_track mm/kasan/common.c:77 [inline] __kasan_kmalloc mm/kasan/common.c:510 [inline] __kasan_kmalloc.constprop.0+0xcf/0xe0 mm/kasan/common.c:483 kasan_slab_alloc+0xf/0x20 mm/kasan/common.c:518 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc mm/slab.c:3319 [inline] kmem_cache_alloc_trace+0x141/0x790 mm/slab.c:3548 kmalloc include/linux/slab.h:556 [inline] dst_cow_metrics_generic+0x4d/0x1f0 net/core/dst.c:201 dst_metrics_write_ptr include/net/dst.h:118 [inline] dst_metric_set include/net/dst.h:179 [inline] icmp6_dst_alloc+0x353/0x4a0 net/ipv6/route.c:3144 ndisc_send_skb+0xfb7/0x1490 net/ipv6/ndisc.c:485 ndisc_send_rs+0x134/0x720 net/ipv6/ndisc.c:699 addrconf_rs_timer+0x30f/0x6e0 net/ipv6/addrconf.c:3879 call_timer_fn+0x1ac/0x780 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers kernel/time/timer.c:1773 [inline] __run_timers kernel/time/timer.c:1740 [inline] run_timer_softirq+0x6c3/0x1790 kernel/time/timer.c:1786 __do_softirq+0x262/0x98c kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x19b/0x1e0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x1a3/0x610 arch/x86/kernel/apic/apic.c:1137 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x4f/0x80 kernel/locking/spinlock.c:199 Code: c0 68 34 13 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 33 48 83 3d 12 6a 96 01 00 74 20 fb 66 0f 1f 44 00 00 01 00 00 00 e8 e7 ab d3 f9 65 8b 05 18 54 85 78 85 c0 74 06 41 RSP: 0018:ffff88805da0f8d8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff122668d RBX: ffff888069728040 RCX: 0000000000000006 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff8880697288d4 RBP: ffff88805da0f8e0 R08: 1ffffffff15377bb R09: fffffbfff15377bc R10: fffffbfff15377bb R11: ffffffff8a9bbddf R12: ffff88802d637380 R13: ffffffff8907a1c0 R14: ffff88802d3b8040 R15: 0000000000000000 finish_lock_switch kernel/sched/core.c:3124 [inline] finish_task_switch+0x147/0x750 kernel/sched/core.c:3224 context_switch kernel/sched/core.c:3388 [inline] __schedule+0x8e9/0x1f30 kernel/sched/core.c:4081 preempt_schedule_common+0x4f/0xe0 kernel/sched/core.c:4236 preempt_schedule+0x4b/0x60 kernel/sched/core.c:4261 ___preempt_schedule+0x16/0x18 arch/x86/entry/thunk_64.S:50 smp_call_function_single+0x410/0x480 kernel/smp.c:313 task_function_call+0xe9/0x180 kernel/events/core.c:114 perf_install_in_context+0x308/0x5a0 kernel/events/core.c:2746 __do_sys_perf_event_open+0x1cbc/0x2c70 kernel/events/core.c:11543 __se_sys_perf_event_open kernel/events/core.c:11151 [inline] __x64_sys_perf_event_open+0xbe/0x150 kernel/events/core.c:11151 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a759 Code: bd b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 8b b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f8689493c88 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 000000000071bf00 RCX: 000000000045a759 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 000000002001d000 RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f86894946d4 R13: 00000000004aec17 R14: 00000000006f1cb0 R15: 00000000ffffffff