syzbot


BUG: soft lockup in perf_event_open (2)

Status: moderation: reported on 2025/12/09 01:40
Subsystems: net virt
[Documentation on labels]
Reported-by: syzbot+fdcfa358fecfb04c612a@syzkaller.appspotmail.com
First crash: 52d, last: 20d
Similar bugs (12)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in perf_event_open trace bpf 1 2 215d 211d 0/29 auto-obsoleted due to no activity on 2025/09/23 09:29
linux-5.15 INFO: rcu detected stall in sys_perf_event_open (2) origin:lts-only 1 C error 59 13h29m 748d 0/3 upstream: reported C repro on 2024/01/09 18:19
linux-6.6 INFO: rcu detected stall in perf_event_open (2) origin:lts-only 1 C inconclusive 29 7h29m 77d 0/2 upstream: reported C repro on 2025/11/10 01:14
upstream INFO: rcu detected stall in perf_event_open (2) perf 1 1 1582d 1582d 0/29 auto-closed as invalid on 2021/11/26 20:49
upstream INFO: rcu detected stall in perf_event_open kernel 1 1 1678d 1678d 0/29 auto-closed as invalid on 2021/09/21 01:14
linux-6.1 INFO: rcu detected stall in sys_perf_event_open (2) origin:lts-only 1 C done 32 1d18h 490d 0/3 upstream: reported C repro on 2024/09/23 05:55
linux-6.6 INFO: rcu detected stall in perf_event_open 1 C done 4 151d 165d 2/2 fixed on 2025/10/06 10:09
android-5-15 BUG: soft lockup in sys_perf_event_open 1 1 630d 630d 0/2 auto-obsoleted due to no activity on 2024/08/04 07:07
upstream BUG: soft lockup in sys_perf_event_open perf 1 1 605d 601d 0/29 auto-obsoleted due to no activity on 2024/08/29 01:52
upstream BUG: soft lockup in sys_perf_event_open (2) kvm fs 1 6 373d 480d 0/29 auto-obsoleted due to no activity on 2025/04/18 04:31
linux-6.1 INFO: rcu detected stall in sys_perf_event_open 1 1 594d 594d 0/3 auto-obsoleted due to no activity on 2024/09/19 01:45
linux-5.15 INFO: rcu detected stall in sys_perf_event_open 1 1 1013d 1013d 0/3 auto-obsoleted due to no activity on 2023/08/17 04:33

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 143s! [syz.4.298:7036]
Modules linked in:
irq event stamp: 14549197
hardirqs last  enabled at (14549196): [<ffffffff8b5bbffd>] irqentry_exit+0x5dd/0x660 kernel/entry/common.c:219
hardirqs last disabled at (14549197): [<ffffffff8b5ba86e>] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1056
softirqs last  enabled at (9035100): [<ffffffff81858cca>] __do_softirq kernel/softirq.c:656 [inline]
softirqs last  enabled at (9035100): [<ffffffff81858cca>] invoke_softirq kernel/softirq.c:496 [inline]
softirqs last  enabled at (9035100): [<ffffffff81858cca>] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:723
softirqs last disabled at (9035103): [<ffffffff81858cca>] __do_softirq kernel/softirq.c:656 [inline]
softirqs last disabled at (9035103): [<ffffffff81858cca>] invoke_softirq kernel/softirq.c:496 [inline]
softirqs last disabled at (9035103): [<ffffffff81858cca>] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:723
CPU: 0 UID: 0 PID: 7036 Comm: syz.4.298 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:lock_release+0x33b/0x3b0 kernel/locking/lockdep.c:-1
Code: 48 8d 3d b8 bd e6 0d 67 48 0f b9 3a e9 1f fe ff ff e8 f9 06 bd 09 48 c7 c7 f0 1b e1 8d 4c 89 ee e8 4a 68 29 03 e9 c8 fd ff ff <f3> 0f 1e fa 4d 89 f7 4c 89 eb 65 8b 05 28 06 e0 10 83 f8 08 73 55
RSP: 0018:ffffc90000007070 EFLAGS: 00000282
RAX: 9c72de91602ff700 RBX: ffffffff906a2701 RCX: 9c72de91602ff700
RDX: ffffc90000007101 RSI: ffffffff81743f85 RDI: ffffffff8df41a20
RBP: dffffc0000000000 R08: ffffc90000007ba8 R09: 0000000000000000
R10: ffffc900000071f8 R11: fffff52000000e41 R12: ffffc90000007bb8
R13: ffffffff81743f85 R14: ffffffff8df41a20 R15: ffffffff81743f85
FS:  00007f297ea676c0(0000) GS:ffff888125e35000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000007e590000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff1 DR7: 0000000000000600
Call Trace:
 <IRQ>
 rcu_lock_release include/linux/rcupdate.h:341 [inline]
 rcu_read_unlock include/linux/rcupdate.h:897 [inline]
 class_rcu_destructor include/linux/rcupdate.h:1195 [inline]
 unwind_next_frame+0x1ab1/0x23d0 arch/x86/kernel/unwind_orc.c:695
 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:56 [inline]
 kasan_save_track+0x3e/0x80 mm/kasan/common.c:77
 unpoison_slab_object mm/kasan/common.c:339 [inline]
 __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:365
 kasan_slab_alloc include/linux/kasan.h:252 [inline]
 slab_post_alloc_hook mm/slub.c:4953 [inline]
 kmem_cache_alloc_bulk_noprof+0x462/0x720 mm/slub.c:7519
 napi_skb_cache_get+0x41f/0x780 net/core/skbuff.c:291
 __alloc_skb+0x1a7/0x430 net/core/skbuff.c:668
 napi_alloc_skb+0x84/0x7c0 net/core/skbuff.c:832
 page_to_skb+0x2ce/0x870 drivers/net/virtio_net.c:904
 receive_mergeable drivers/net/virtio_net.c:2514 [inline]
 receive_buf+0x527/0x1900 drivers/net/virtio_net.c:2660
 virtnet_receive_packets drivers/net/virtio_net.c:3023 [inline]
 virtnet_receive drivers/net/virtio_net.c:3047 [inline]
 virtnet_poll+0x20f6/0x2ee0 drivers/net/virtio_net.c:3136
 __napi_poll+0xae/0x320 net/core/dev.c:7666
 napi_poll net/core/dev.c:7729 [inline]
 net_rx_action+0x672/0xe50 net/core/dev.c:7881
 handle_softirqs+0x27d/0x850 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:preempt_schedule_irq+0xb0/0x150 kernel/sched/core.c:7190
Code: 24 20 f6 44 24 21 02 74 0c 90 0f 0b 48 f7 03 10 00 00 00 74 64 bf 01 00 00 00 e8 ab 26 34 f6 e8 46 a4 6c f6 fb bf 01 00 00 00 <e8> 1b a8 ff ff 48 c7 44 24 40 00 00 00 00 9c 8f 44 24 40 8b 44 24
RSP: 0018:ffffc900052f75a0 EFLAGS: 00000286
RAX: 9c72de91602ff700 RBX: 0000000000000000 RCX: 9c72de91602ff700
RDX: 0000000000000006 RSI: ffffffff8d7922ac RDI: 0000000000000001
RBP: ffffc900052f7640 R08: ffffffff8f821f77 R09: 1ffffffff1f043ee
R10: dffffc0000000000 R11: fffffbfff1f043ef R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff92000a5eeb4
 irqentry_exit+0x5d8/0x660 kernel/entry/common.c:216
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:preempt_schedule+0x4/0xc0 kernel/sched/core.c:7064
Code: 2a 34 f6 c3 cc cc cc cc cc 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa <55> 48 89 e5 41 56 53 48 83 e4 e0 48 83 ec 60 65 48 8b 05 35 ce 21
RSP: 0018:ffffc900052f7750 EFLAGS: 00000293
RAX: ffffffff81b62355 RBX: 0000000000000000 RCX: ffff88801b799e80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900052f77a0 R08: ffffffff8f821f77 R09: 1ffffffff1f043ee
R10: dffffc0000000000 R11: fffffbfff1f043ef R12: 0000000000000000
R13: ffffffff9283ad40 R14: 0000000000000000 R15: ffffffff81688c80
 preempt_schedule_thunk+0x16/0x30 arch/x86/entry/thunk.S:12
 on_each_cpu_cond_mask+0x7a/0x80 kernel/smp.c:1044
 on_each_cpu include/linux/smp.h:71 [inline]
 smp_text_poke_sync_each_cpu arch/x86/kernel/alternative.c:2711 [inline]
 smp_text_poke_batch_finish+0x5f9/0x1130 arch/x86/kernel/alternative.c:2921
 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
 static_key_enable_cpuslocked+0x128/0x240 kernel/jump_label.c:210
 static_key_enable+0x1a/0x20 kernel/jump_label.c:223
 tracepoint_add_func+0x994/0xa10 kernel/tracepoint.c:315
 tracepoint_probe_register_prio kernel/tracepoint.c:464 [inline]
 tracepoint_probe_register+0x5d/0x90 kernel/tracepoint.c:484
 perf_trace_event_reg kernel/trace/trace_event_perf.c:129 [inline]
 perf_trace_event_init+0x4e1/0x9d0 kernel/trace/trace_event_perf.c:202
 perf_trace_init+0x23d/0x2d0 kernel/trace/trace_event_perf.c:226
 perf_tp_event_init+0x8d/0x120 kernel/events/core.c:10941
 perf_try_init_event+0x17f/0x870 kernel/events/core.c:12684
 perf_init_event kernel/events/core.c:12782 [inline]
 perf_event_alloc+0x1430/0x2d50 kernel/events/core.c:13057
 __do_sys_perf_event_open kernel/events/core.c:13575 [inline]
 __se_sys_perf_event_open+0x756/0x1d90 kernel/events/core.c:13456
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f297db8f749
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f297ea67038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007f297dde5fa0 RCX: 00007f297db8f749
RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000200000000040
RBP: 00007f297dc13f91 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007f297dde6038 R14: 00007f297dde5fa0 R15: 00007ffc0e606b48
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 6912 Comm: syz.1.267 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:get_current arch/x86/include/asm/current.h:25 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x70 kernel/kcov.c:216
Code: 8b 3d c4 83 d9 0b 48 89 de 5b e9 03 35 5b 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 0c 25 08 b0 7e 92 65 8b 15 c8 fd bc 10 81 e2 00 01 ff 00
RSP: 0018:ffffc90000a08ac0 EFLAGS: 00000046
RAX: ffffffff81af68d7 RBX: 0000000000000000 RCX: 0000000000010000
RDX: ffff8880247b3d00 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 000000000000c9b0 R08: ffffffff81af68b5 R09: ffffffff998e3508
R10: 000000000000000b R11: 0000000000010000 R12: dffffc0000000000
R13: ffff8880549af280 R14: 0000000000000001 R15: dffffc0000000000
FS:  00007fe9270956c0(0000) GS:ffff888125f35000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055cad67d7520 CR3: 00000000334f4000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 ktime_get+0x67/0x200 kernel/time/timekeeping.c:824
 hrtimer_forward_now include/linux/hrtimer.h:362 [inline]
 perf_swevent_hrtimer+0x45f/0x570 kernel/events/core.c:11861
 __run_hrtimer kernel/time/hrtimer.c:1777 [inline]
 __hrtimer_run_queues+0x4d0/0xc30 kernel/time/hrtimer.c:1841
 hrtimer_interrupt+0x45b/0xaa0 kernel/time/hrtimer.c:1903
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1045 [inline]
 __sysvec_apic_timer_interrupt+0x102/0x3e0 arch/x86/kernel/apic/apic.c:1062
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:lock_acquire+0x16c/0x340 kernel/locking/lockdep.c:5872
Code: 00 00 00 00 9c 8f 44 24 30 f7 44 24 30 00 02 00 00 0f 85 cd 00 00 00 f7 44 24 08 00 02 00 00 74 01 fb 65 48 8b 05 d4 38 e0 10 <48> 3b 44 24 58 0f 85 e5 00 00 00 48 83 c4 60 5b 41 5c 41 5d 41 5e
RSP: 0018:ffffc9000c70e318 EFLAGS: 00000206
RAX: 9f8a39d3e5703d00 RBX: 0000000000000000 RCX: 9f8a39d3e5703d00
RDX: 0000000057570491 RSI: ffffffff8d978ff2 RDI: ffffffff8bc08360
RBP: ffffffff81743f85 R08: ffffffff81743f85 R09: ffffffff8df41a20
R10: ffffc9000c70e4d8 R11: ffffffff81ada120 R12: 0000000000000002
R13: ffffffff8df41a20 R14: 0000000000000000 R15: 0000000000000246
 rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
 rcu_read_lock include/linux/rcupdate.h:867 [inline]
 class_rcu_constructor include/linux/rcupdate.h:1195 [inline]
 unwind_next_frame+0xc2/0x23d0 arch/x86/kernel/unwind_orc.c:495
 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
 kasan_save_stack+0x3e/0x60 mm/kasan/common.c:56
 kasan_record_aux_stack+0xbd/0xd0 mm/kasan/generic.c:556
 kvfree_call_rcu+0x11b/0x480 mm/slab_common.c:1994
 hash_netnet4_add+0x1c2e/0x27b0 net/netfilter/ipset/ip_set_hash_gen.h:992
 hash_netnet4_uadt+0xb0e/0xe40 net/netfilter/ipset/ip_set_hash_netnet.c:269
 call_ad+0x383/0xb00 net/netfilter/ipset/ip_set_core.c:1751
 ip_set_ad+0x791/0x930 net/netfilter/ipset/ip_set_core.c:1841
 nfnetlink_rcv_msg+0xb4d/0x1130 net/netfilter/nfnetlink.c:302
 netlink_rcv_skb+0x208/0x470 net/netlink/af_netlink.c:2550
 nfnetlink_rcv+0x282/0x2590 net/netfilter/nfnetlink.c:669
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x82f/0x9e0 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1894
 sock_sendmsg_nosec net/socket.c:727 [inline]
 __sock_sendmsg+0x21c/0x270 net/socket.c:742
 ____sys_sendmsg+0x505/0x820 net/socket.c:2592
 ___sys_sendmsg+0x21f/0x2a0 net/socket.c:2646
 __sys_sendmsg net/socket.c:2678 [inline]
 __do_sys_sendmsg net/socket.c:2683 [inline]
 __se_sys_sendmsg net/socket.c:2681 [inline]
 __x64_sys_sendmsg+0x19b/0x260 net/socket.c:2681
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe92618f749
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe927095038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fe9263e5fa0 RCX: 00007fe92618f749
RDX: 0000000000000004 RSI: 00002000000000c0 RDI: 000000000000000a
RBP: 00007fe926213f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe9263e6038 R14: 00007fe9263e5fa0 R15: 00007ffd73fcfeb8
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/06 10:45 bpf 22cc16c04b78 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce BUG: soft lockup in perf_event_open
2025/12/05 01:35 bpf 835a50753579 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce BUG: soft lockup in perf_event_open
* Struck through repros no longer work on HEAD.