syzbot


BUG: soft lockup in __sk_destruct

Status: closed as invalid on 2025/07/30 20:31
Subsystems: perf
[Documentation on labels]
First crash: 64d, last: 64d

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 143s! [syz.5.579:8677]
Modules linked in:
irq event stamp: 9329453
hardirqs last  enabled at (9329452): [<ffffffff8b661414>] irqentry_exit+0x74/0x90 kernel/entry/common.c:310
hardirqs last disabled at (9329453): [<ffffffff8b65ff5e>] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1050
softirqs last  enabled at (994): [<ffffffff8185b17a>] __do_softirq kernel/softirq.c:613 [inline]
softirqs last  enabled at (994): [<ffffffff8185b17a>] invoke_softirq kernel/softirq.c:453 [inline]
softirqs last  enabled at (994): [<ffffffff8185b17a>] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680
softirqs last disabled at (2461): [<ffffffff8185b17a>] __do_softirq kernel/softirq.c:613 [inline]
softirqs last disabled at (2461): [<ffffffff8185b17a>] invoke_softirq kernel/softirq.c:453 [inline]
softirqs last disabled at (2461): [<ffffffff8185b17a>] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680
CPU: 1 UID: 0 PID: 8677 Comm: syz.5.579 Not tainted 6.15.0-syzkaller-gd69bafe6ee2b #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:_compound_head include/linux/page-flags.h:282 [inline]
RIP: 0010:virt_to_folio include/linux/mm.h:1180 [inline]
RIP: 0010:virt_to_slab mm/slab.h:211 [inline]
RIP: 0010:kasan_addr_to_slab+0x2f/0x90 mm/kasan/common.c:38
Code: 56 53 48 89 fb e8 01 6d 50 ff 84 c0 74 3c 4c 8b 35 2e ae 95 0b 48 89 df e8 de 6a 50 ff 48 c1 e8 06 48 83 e0 c0 49 8b 4c 06 08 <f6> c1 01 75 26 49 01 c6 66 90 41 0f b6 4e 33 c1 e1 18 31 c0 81 f9
RSP: 0018:ffffc90000a089b0 EFLAGS: 00000202
RAX: 0000000000d35640 RBX: ffff888034d59a40 RCX: ffff88801a441780
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000a08b00 R08: 0000000000000000 R09: ffffffff817464c8
R10: dffffc0000000000 R11: fffffbfff1f4203f R12: dffffc0000000000
R13: 1ffff92000141148 R14: ffffea0000000000 R15: 0000000000000000
FS:  00007ff5682266c0(0000) GS:ffff888125d54000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe66dbb7bac CR3: 0000000034598000 CR4: 00000000003526f0
DR0: 0000200000000300 DR1: 0000200000000300 DR2: 0000200000000300
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 kasan_record_aux_stack+0xf/0xd0 mm/kasan/generic.c:533
 __call_rcu_common kernel/rcu/tree.c:3090 [inline]
 call_rcu+0x142/0x990 kernel/rcu/tree.c:3210
 slab_free_hook mm/slub.c:2345 [inline]
 slab_free mm/slub.c:4643 [inline]
 kmem_cache_free+0x309/0x400 mm/slub.c:4745
 sk_prot_free net/core/sock.c:2284 [inline]
 __sk_destruct+0x4d2/0x660 net/core/sock.c:2381
 call_timer_fn+0x17b/0x5f0 kernel/time/timer.c:1747
 expire_timers kernel/time/timer.c:1798 [inline]
 __run_timers kernel/time/timer.c:2372 [inline]
 __run_timer_base+0x61a/0x860 kernel/time/timer.c:2384
 run_timer_base kernel/time/timer.c:2393 [inline]
 run_timer_softirq+0xb7/0x180 kernel/time/timer.c:2403
 handle_softirqs+0x286/0x870 kernel/softirq.c:579
 __do_softirq kernel/softirq.c:613 [inline]
 invoke_softirq kernel/softirq.c:453 [inline]
 __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:generic_exec_single+0x481/0x500 kernel/smp.c:447
Code: 75 11 e8 a2 8e 0b 00 48 85 db 75 16 e8 98 8e 0b 00 eb 15 e8 91 8e 0b 00 e8 4c 36 b1 09 48 85 db 74 ea e8 82 8e 0b 00 fb 31 c0 <48> c7 44 24 20 0e 36 e0 45 4b c7 04 2c 00 00 00 00 66 43 c7 44 2c
RSP: 0018:ffffc9000b5bf9c0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000200 RCX: 0000000000080000
RDX: ffffc90010e2d000 RSI: 000000000000350c RDI: 000000000000350d
RBP: ffffc9000b5bfa90 R08: ffffffff8fa101f7 R09: 1ffffffff1f4203e
R10: dffffc0000000000 R11: fffffbfff1f4203f R12: 1ffff920016b7f3c
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff920016b7f5d
 smp_call_function_single+0x351/0x590 kernel/smp.c:676
 task_function_call kernel/events/core.c:121 [inline]
 perf_install_in_context+0x593/0x8f0 kernel/events/core.c:3083
 __do_sys_perf_event_open kernel/events/core.c:13659 [inline]
 __se_sys_perf_event_open+0x193a/0x1d70 kernel/events/core.c:13301
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff56738e929
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:00007ff568226038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007ff5675b5fa0 RCX: 00007ff56738e929
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000200000000500
RBP: 00007ff567410b39 R08: 0000000000000009 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff5675b5fa0 R15: 00007ffc87965c08
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 8672 Comm: syz.0.578 Not tainted 6.15.0-syzkaller-gd69bafe6ee2b #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__this_cpu_preempt_check+0x0/0x20 lib/smp_processor_id.c:65
Code: 46 c6 cc f5 eb a7 e8 bf e4 ff ff 66 66 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 48 89 fe 48 c7 c7 00 88 e2 8b e9 bd fe ff ff cc cc cc
RSP: 0018:ffffc90000006d20 EFLAGS: 00000006
RAX: ffffffff81f0928f RBX: ffff88801b38ea40 RCX: ffff88807bd8bc00
RDX: 0000000000010100 RSI: 0000000000000001 RDI: ffffffff8b93e2e0
RBP: ffffc90000006e70 R08: ffff88801b38eeef R09: 1ffff11003671ddd
R10: dffffc0000000000 R11: ffffed1003671dde R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000001 R15: ffff88801b38ea40
FS:  0000000000000000(0000) GS:ffff888125c54000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555ce6b5c8 CR3: 0000000032372000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000200000000300 DR2: 0000200000000300
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 __perf_event_account_interrupt+0x2b/0x250 kernel/events/core.c:10105
 __perf_event_overflow+0x100/0xe10 kernel/events/core.c:10263
 perf_swevent_hrtimer+0x3c5/0x550 kernel/events/core.c:11717
 __run_hrtimer kernel/time/hrtimer.c:1761 [inline]
 __hrtimer_run_queues+0x4dd/0xc60 kernel/time/hrtimer.c:1825
 hrtimer_interrupt+0x45b/0xaa0 kernel/time/hrtimer.c:1887
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1039 [inline]
 __sysvec_apic_timer_interrupt+0x108/0x410 arch/x86/kernel/apic/apic.c:1056
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
 sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1050
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_acquire+0x175/0x360 kernel/locking/lockdep.c:5875
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 3b 8a fe 10 <48> 3b 44 24 58 0f 85 f2 00 00 00 48 83 c4 60 5b 41 5c 41 5d 41 5e
RSP: 0018:ffffc90000007438 EFLAGS: 00000206
RAX: 84ecd205d5371e00 RBX: 0000000000000000 RCX: 84ecd205d5371e00
RDX: 0000000000000000 RSI: ffffffff8db69c35 RDI: ffffffff8be28800
RBP: ffffffff81729de5 R08: 0000000000000000 R09: ffffffff81729de5
R10: ffffc900000075f8 R11: ffffffff81acf670 R12: 0000000000000002
R13: ffffffff8e13f060 R14: 0000000000000000 R15: 0000000000000246
 rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
 rcu_read_lock include/linux/rcupdate.h:841 [inline]
 class_rcu_constructor include/linux/rcupdate.h:1155 [inline]
 unwind_next_frame+0xc2/0x2390 arch/x86/kernel/unwind_orc.c:479
 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:47 [inline]
 kasan_save_track+0x3e/0x80 mm/kasan/common.c:68
 unpoison_slab_object mm/kasan/common.c:319 [inline]
 __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:345
 kasan_slab_alloc include/linux/kasan.h:250 [inline]
 slab_post_alloc_hook mm/slub.c:4148 [inline]
 slab_alloc_node mm/slub.c:4197 [inline]
 kmem_cache_alloc_node_noprof+0x1bb/0x3c0 mm/slub.c:4249
 kmalloc_reserve+0xbd/0x290 net/core/skbuff.c:579
 __alloc_skb+0x142/0x2d0 net/core/skbuff.c:670
 alloc_skb include/linux/skbuff.h:1336 [inline]
 ndisc_alloc_skb+0x9f/0x480 net/ipv6/ndisc.c:423
 ndisc_send_rs+0x2b5/0x630 net/ipv6/ndisc.c:707
 addrconf_rs_timer+0x369/0x670 net/ipv6/addrconf.c:4041
 call_timer_fn+0x17b/0x5f0 kernel/time/timer.c:1747
 expire_timers kernel/time/timer.c:1798 [inline]
 __run_timers kernel/time/timer.c:2372 [inline]
 __run_timer_base+0x61a/0x860 kernel/time/timer.c:2384
 run_timer_base kernel/time/timer.c:2393 [inline]
 run_timer_softirq+0xb7/0x180 kernel/time/timer.c:2403
 handle_softirqs+0x286/0x870 kernel/softirq.c:579
 __do_softirq kernel/softirq.c:613 [inline]
 invoke_softirq kernel/softirq.c:453 [inline]
 __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:preempt_schedule_irq+0xb0/0x150 kernel/sched/core.c:7108
Code: 24 20 f6 44 24 21 02 74 0c 90 0f 0b 48 f7 03 08 00 00 00 74 64 bf 01 00 00 00 e8 4b ab 29 f6 e8 26 c3 60 f6 fb bf 01 00 00 00 <e8> 1b ab ff ff 48 c7 44 24 40 00 00 00 00 9c 8f 44 24 40 8b 44 24
RSP: 0018:ffffc9000b6271e0 EFLAGS: 00000282
RAX: 84ecd205d5371e00 RBX: 0000000000000000 RCX: 84ecd205d5371e00
RDX: 0000000000000006 RSI: ffffffff8d97cf77 RDI: 0000000000000001
RBP: ffffc9000b627290 R08: ffffffff8fa101f7 R09: 1ffffffff1f4203e
R10: dffffc0000000000 R11: fffffbfff1f4203f R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff920016c4e3c
 irqentry_exit+0x6f/0x90 kernel/entry/common.c:307
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_acquire+0x175/0x360 kernel/locking/lockdep.c:5875
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 3b 8a fe 10 <48> 3b 44 24 58 0f 85 f2 00 00 00 48 83 c4 60 5b 41 5c 41 5d 41 5e
RSP: 0018:ffffc9000b627358 EFLAGS: 00000206
RAX: 84ecd205d5371e00 RBX: 0000000000000000 RCX: 84ecd205d5371e00
RDX: 0000000000000000 RSI: ffffffff8db69c35 RDI: ffffffff8be28800
RBP: ffffffff81729de5 R08: 0000000000000000 R09: ffffffff81729de5
R10: ffffc9000b627518 R11: ffffffff81acf670 R12: 0000000000000002
R13: ffffffff8e13f060 R14: 0000000000000000 R15: 0000000000000246
 rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
 rcu_read_lock include/linux/rcupdate.h:841 [inline]
 class_rcu_constructor include/linux/rcupdate.h:1155 [inline]
 unwind_next_frame+0xc2/0x2390 arch/x86/kernel/unwind_orc.c:479
 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:47 [inline]
 kasan_save_track+0x3e/0x80 mm/kasan/common.c:68
 kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:576
 poison_slab_object mm/kasan/common.c:247 [inline]
 __kasan_slab_free+0x62/0x70 mm/kasan/common.c:264
 kasan_slab_free include/linux/kasan.h:233 [inline]
 slab_free_hook mm/slub.c:2381 [inline]
 slab_free mm/slub.c:4643 [inline]
 kfree+0x18e/0x440 mm/slub.c:4842
 security_sk_free+0xa4/0x1b0 security/security.c:4874
 sk_prot_free net/core/sock.c:2279 [inline]
 __sk_destruct+0x49b/0x660 net/core/sock.c:2381
 inet_release+0x187/0x210 net/ipv4/af_inet.c:435
 __sock_release net/socket.c:647 [inline]
 sock_close+0xc3/0x240 net/socket.c:1391
 __fput+0x44c/0xa70 fs/file_table.c:465
 task_work_run+0x1d1/0x260 kernel/task_work.c:227
 exit_task_work include/linux/task_work.h:40 [inline]
 do_exit+0x6ad/0x22e0 kernel/exit.c:955
 do_group_exit+0x21c/0x2d0 kernel/exit.c:1104
 get_signal+0x1286/0x1340 kernel/signal.c:3034
 arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop+0x75/0x110 kernel/entry/common.c:111
 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline]
 syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline]
 do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f222758e929
Code: Unable to access opcode bytes at 0x7f222758e8ff.
RSP: 002b:00007f22284c6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007f22277b5fa0 RCX: 00007f222758e929
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000009
RBP: 00007f2227610b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f22277b5fa0 R15: 00007ffc5eeabd58
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/26 09:51 bpf-next d69bafe6ee2b 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce BUG: soft lockup in __sk_destruct
* Struck through repros no longer work on HEAD.