syzbot


BUG: soft lockup in aoecmd_cfg

Status: auto-obsoleted due to no activity on 2024/04/17 16:28
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+07b52a8f148760d219b8@syzkaller.appspotmail.com
First crash: 93d, last: 93d

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 116s! [syz-executor.2:23360]
Modules linked in:
irq event stamp: 0
hardirqs last  enabled at (0): [<0000000000000000>] 0x0
hardirqs last disabled at (0): [<ffffffff814d6a69>] copy_process+0x23f9/0x97b0 kernel/fork.c:2441
softirqs last  enabled at (0): [<ffffffff814d6acb>] copy_process+0x245b/0x97b0 kernel/fork.c:2442
softirqs last disabled at (0): [<0000000000000000>] 0x0
CPU: 0 PID: 23360 Comm: syz-executor.2 Not tainted 6.7.0-syzkaller-04665-gbe7c19de9ecf #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x1f/0x60 kernel/kcov.c:207
Code: 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 65 48 8b 14 25 80 c2 03 00 65 8b 05 24 ae 7b 7e a9 00 01 ff 00 48 8b 34 24 74 0f <f6> c4 01 74 35 8b 82 fc 15 00 00 85 c0 74 2b 8b 82 d8 15 00 00 83
RSP: 0018:ffffc900000075b0 EFLAGS: 00000206
RAX: 0000000000000102 RBX: ffffffff8f4ccc70 RCX: ffffffff813a2aa4
RDX: ffff888024b90000 RSI: ffffffff813a2a5a RDI: 0000000000000006
RBP: ffffffff8f4ccc78 R08: 0000000000000006 R09: ffffffff81766c37
R10: ffffffff81766c75 R11: dffffc0000000000 R12: ffffffff81766c37
R13: ffffffff81766c75 R14: dffffc0000000000 R15: ffffffff8f4ccc7c
FS:  00007f8905d956c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3162f000 CR3: 000000004cbbf000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __orc_find+0x7a/0x130 arch/x86/kernel/unwind_orc.c:100
 orc_find arch/x86/kernel/unwind_orc.c:227 [inline]
 unwind_next_frame+0x329/0x2390 arch/x86/kernel/unwind_orc.c:494
 arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122
 kasan_save_stack+0x33/0x50 mm/kasan/common.c:47
 kasan_save_track+0x14/0x30 mm/kasan/common.c:68
 unpoison_slab_object mm/kasan/common.c:314 [inline]
 __kasan_slab_alloc+0x81/0x90 mm/kasan/common.c:340
 kasan_slab_alloc include/linux/kasan.h:201 [inline]
 slab_post_alloc_hook mm/slub.c:3813 [inline]
 slab_alloc_node mm/slub.c:3860 [inline]
 kmem_cache_alloc_node+0x177/0x340 mm/slub.c:3903
 kmalloc_reserve+0x166/0x260 net/core/skbuff.c:560
 __alloc_skb+0x12b/0x330 net/core/skbuff.c:651
 alloc_skb include/linux/skbuff.h:1296 [inline]
 new_skb+0x21/0x200 drivers/block/aoe/aoecmd.c:66
 aoecmd_cfg_pkts drivers/block/aoe/aoecmd.c:425 [inline]
 aoecmd_cfg+0x2af/0x7b0 drivers/block/aoe/aoecmd.c:1362
 call_timer_fn+0x193/0x590 kernel/time/timer.c:1700
 expire_timers kernel/time/timer.c:1751 [inline]
 __run_timers+0x759/0xaa0 kernel/time/timer.c:2038
 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2051
 __do_softirq+0x21a/0x8de kernel/softirq.c:553
 invoke_softirq kernel/softirq.c:427 [inline]
 __irq_exit_rcu kernel/softirq.c:632 [inline]
 irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x70 kernel/locking/spinlock.c:194
Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 c6 fc db f6 48 89 df e8 be 74 dc f6 f7 c5 00 02 00 00 75 1f 9c 58 f6 c4 02 75 2f <bf> 01 00 00 00 e8 c5 14 ce f6 65 8b 05 86 59 77 75 85 c0 74 12 5b
RSP: 0018:ffffc90008427d60 EFLAGS: 00000246
RAX: 0000000000000046 RBX: ffff88802ef86c00 RCX: 1ffffffff1e74bd3
RDX: 0000000000000000 RSI: ffffffff8b2f8680 RDI: ffffffff8a8c690e
RBP: 0000000000000292 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff8f3a2ad7 R11: ffffffff8acf2fc0 R12: ffff888046ab1000
R13: 1ffff92001084fba R14: ffff888024b90000 R15: ffff88823bd22a78
 perf_unpin_context kernel/events/core.c:1445 [inline]
 __do_sys_perf_event_open+0x16cc/0x2c50 kernel/events/core.c:12769
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f890507cda9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8905d950c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007f89051abf80 RCX: 00007f890507cda9
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 00000000200003c0
RBP: 00007f89050c947a R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f89051abf80 R15: 00007ffecdcfd868
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 23330 Comm: syz-executor.5 Not tainted 6.7.0-syzkaller-04665-gbe7c19de9ecf #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:__perf_event_overflow+0xbe/0x9f0 kernel/events/core.c:9569
Code: da d7 ff 4d 85 f6 0f 84 f3 06 00 00 e8 cb de d7 ff 8b 34 24 4c 8d b3 34 04 00 00 48 89 df e8 89 fc ff ff 4c 89 f2 48 c1 ea 03 <89> 04 24 48 b8 00 00 00 00 00 fc ff df 0f b6 14 02 4c 89 f0 83 e0
RSP: 0018:ffffc900001f0280 EFLAGS: 00000803
RAX: 0000000000000000 RBX: ffff888046864860 RCX: ffffffff81b03309
RDX: 1ffff11008d0c992 RSI: ffffffff81b03317 RDI: 0000000000000001
RBP: ffffc900001f0698 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffc900001f0300
R13: ffff888046864cdc R14: ffff888046864c94 R15: 0000000000000000
FS:  00007fece4f066c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c000827e80 CR3: 000000002b87c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 perf_swevent_hrtimer+0x370/0x3e0 kernel/events/core.c:11066
 __run_hrtimer kernel/time/hrtimer.c:1688 [inline]
 __hrtimer_run_queues+0x647/0xc20 kernel/time/hrtimer.c:1752
 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline]
 __sysvec_apic_timer_interrupt+0x105/0x400 arch/x86/kernel/apic/apic.c:1082
 sysvec_apic_timer_interrupt+0x43/0xb0 arch/x86/kernel/apic/apic.c:1076
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:ndisc_constructor+0x503/0xa90 net/ipv6/ndisc.c:362
Code: 02 00 0f 85 88 05 00 00 49 8b 6d 10 e8 46 ea 47 f8 48 8d 7d 10 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 e1 04 00 00 48 83 7d 10 00 48 c7 c0 40 18 fa 8b 48 c7 c5 a0
RSP: 0018:ffffc900001f0740 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffff88802415b000 RCX: 0000000002000000
RDX: 1ffffffff17d9fea RSI: ffffffff89402a0a RDI: ffffffff8becff50
RBP: ffffffff8becff40 R08: 0000000002000000 R09: 000000000000030a
R10: 0000000000000001 R11: 0200000000000000 R12: ffff888080359000
R13: ffff88807db20000 R14: ffff88802415b124 R15: ffff88802415b318
 ___neigh_create+0x7ee/0x2a70 net/core/neighbour.c:660
 ip6_finish_output2+0x10dd/0x1820 net/ipv6/ip6_output.c:128
 __ip6_finish_output net/ipv6/ip6_output.c:211 [inline]
 ip6_finish_output+0x3c7/0xf70 net/ipv6/ip6_output.c:222
 NF_HOOK_COND include/linux/netfilter.h:303 [inline]
 ip6_output+0x1e2/0x530 net/ipv6/ip6_output.c:243
 dst_output include/net/dst.h:451 [inline]
 NF_HOOK include/linux/netfilter.h:314 [inline]
 ndisc_send_skb+0xa13/0x18f0 net/ipv6/ndisc.c:509
 ndisc_send_rs+0x133/0x6a0 net/ipv6/ndisc.c:719
 addrconf_rs_timer+0x412/0x850 net/ipv6/addrconf.c:3977
 call_timer_fn+0x193/0x590 kernel/time/timer.c:1700
 expire_timers kernel/time/timer.c:1751 [inline]
 __run_timers+0x759/0xaa0 kernel/time/timer.c:2038
 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2051
 __do_softirq+0x21a/0x8de kernel/softirq.c:553
 invoke_softirq kernel/softirq.c:427 [inline]
 __irq_exit_rcu kernel/softirq.c:632 [inline]
 irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:finish_task_switch.isra.0+0x223/0xca0 kernel/sched/core.c:5274
Code: 0a 00 00 44 8b 0d d5 25 df 0d 45 85 c9 0f 85 c0 01 00 00 48 89 df e8 cc f8 ff ff e8 b7 87 33 00 fb 65 48 8b 1c 25 80 c2 03 00 <48> 8d bb d8 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1
RSP: 0018:ffffc9000594f868 EFLAGS: 00000246
RAX: 0000000000000003 RBX: ffff88807d1c3b80 RCX: 1ffffffff1e74bd3
RDX: 0000000000000000 RSI: ffffffff8b2f8680 RDI: ffffffff815b38d9
RBP: ffffc9000594f8b0 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff8f3a2ad7 R11: 0000000000000000 R12: ffff8880b993da38
R13: ffff8880156b8000 R14: ffff88801679af80 R15: ffff8880b993ccc0
 context_switch kernel/sched/core.c:5403 [inline]
 __schedule+0xf1a/0x5c00 kernel/sched/core.c:6727
 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6904
 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45
 smp_call_function_single+0x59b/0x650 kernel/smp.c:652
 task_function_call+0xe9/0x170 kernel/events/core.c:120
 perf_install_in_context+0x2da/0x580 kernel/events/core.c:2909
 __do_sys_perf_event_open+0x1683/0x2c50 kernel/events/core.c:12768
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fece427cda9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fece4f060c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007fece43abf80 RCX: 00007fece427cda9
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 00000000200003c0
RBP: 00007fece42c947a R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fece43abf80 R15: 00007fffc2152688
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/18 16:28 bpf-next be7c19de9ecf 239abf84 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce BUG: soft lockup in aoecmd_cfg
* Struck through repros no longer work on HEAD.