[moderation] [block?] BUG: soft lockup in aoecmd_cfg (3)

2 views
Skip to first unread message

syzbot

unread,
Apr 20, 2025, 3:47:26 AM4/20/25
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 8582d9ab3efd libbpf: Verify section type in btf_find_elf_s..
git tree: bpf-next
console output: https://syzkaller.appspot.com/x/log.txt?x=121bd470580000
kernel config: https://syzkaller.appspot.com/x/.config?x=3b209dc5439043d2
dashboard link: https://syzkaller.appspot.com/bug?extid=469d4adec57921268c11
compiler: Debian clang version 15.0.6, Debian LLD 15.0.6
CC: [ac...@kernel.org adrian...@intel.com alexander...@linux.intel.com iro...@google.com jo...@kernel.org kan....@linux.intel.com linux...@vger.kernel.org linux-...@vger.kernel.org linux-pe...@vger.kernel.org mark.r...@arm.com mi...@redhat.com namh...@kernel.org net...@vger.kernel.org pet...@infradead.org]

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/ee77ac023e33/disk-8582d9ab.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/ebe52a30453e/vmlinux-8582d9ab.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6868f9db2e2e/bzImage-8582d9ab.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+469d4a...@syzkaller.appspotmail.com

watchdog: BUG: soft lockup - CPU#0 stuck for 142s! [syz.1.353:7488]
Modules linked in:
irq event stamp: 15934673
hardirqs last enabled at (15934672): [<ffffffff8c2ee163>] irqentry_exit+0x63/0x90 kernel/entry/common.c:357
hardirqs last disabled at (15934673): [<ffffffff8c2ebcae>] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049
softirqs last enabled at (6906144): [<ffffffff8183e77b>] __do_softirq kernel/softirq.c:613 [inline]
softirqs last enabled at (6906144): [<ffffffff8183e77b>] invoke_softirq kernel/softirq.c:453 [inline]
softirqs last enabled at (6906144): [<ffffffff8183e77b>] __irq_exit_rcu+0xfb/0x220 kernel/softirq.c:680
softirqs last disabled at (6906147): [<ffffffff8183e77b>] __do_softirq kernel/softirq.c:613 [inline]
softirqs last disabled at (6906147): [<ffffffff8183e77b>] invoke_softirq kernel/softirq.c:453 [inline]
softirqs last disabled at (6906147): [<ffffffff8183e77b>] __irq_exit_rcu+0xfb/0x220 kernel/softirq.c:680
CPU: 0 UID: 0 PID: 7488 Comm: syz.1.353 Not tainted 6.14.0-syzkaller-g8582d9ab3efd #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:perf_swevent_event+0x2a5/0x730 kernel/events/core.c:10375
Code: 3c cd ff 49 83 fe 01 0f 85 f8 00 00 00 49 8d 9c 24 f0 01 00 00 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 <74> 08 48 89 df e8 31 5d 37 00 48 8b 1b bf 01 00 00 00 48 89 de e8
RSP: 0018:ffffc90000006de0 EFLAGS: 00000246
RAX: 1ffff1100481866e RBX: ffff8880240c3370 RCX: dffffc0000000000
RDX: 0000000000000100 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc90000006eb0 R08: ffffffff81f585de R09: 0000000000000000
R10: ffffc90000006f88 R11: fffff52000000df3 R12: ffff8880240c3180
R13: 00000000000007f8 R14: 0000000000000001 R15: 1ffff1100481866f
FS: 00007f811d0146c0(0000) GS:ffff888124f9f000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4da199e440 CR3: 000000004205a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
perf_tp_event+0x611/0x1660 kernel/events/core.c:10888
perf_trace_run_bpf_submit+0x100/0x180 kernel/events/core.c:10812
do_perf_trace_lock_acquire include/trace/events/lock.h:24 [inline]
perf_trace_lock_acquire+0x402/0x520 include/trace/events/lock.h:24
__do_trace_lock_acquire include/trace/events/lock.h:24 [inline]
trace_lock_acquire include/trace/events/lock.h:24 [inline]
lock_acquire+0x2c6/0x2f0 kernel/locking/lockdep.c:5829
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+0xd5/0x23b0 arch/x86/kernel/unwind_orc.c:479
arch_stack_walk+0x11e/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x11a/0x1d0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:47 [inline]
kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
unpoison_slab_object mm/kasan/common.c:319 [inline]
__kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4151 [inline]
slab_alloc_node mm/slub.c:4200 [inline]
kmem_cache_alloc_node_noprof+0x1f2/0x3b0 mm/slub.c:4252
kmalloc_reserve+0xa8/0x2a0 net/core/skbuff.c:577
__alloc_skb+0x1f2/0x480 net/core/skbuff.c:668
alloc_skb include/linux/skbuff.h:1340 [inline]
new_skb+0x2f/0x2f0 drivers/block/aoe/aoecmd.c:66
aoecmd_cfg_pkts drivers/block/aoe/aoecmd.c:430 [inline]
aoecmd_cfg+0x2ba/0x830 drivers/block/aoe/aoecmd.c:1370
call_timer_fn+0x189/0x650 kernel/time/timer.c:1789
expire_timers kernel/time/timer.c:1840 [inline]
__run_timers kernel/time/timer.c:2414 [inline]
__run_timer_base+0x66e/0x8e0 kernel/time/timer.c:2426
run_timer_base kernel/time/timer.c:2435 [inline]
run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2445
handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:579
__do_softirq kernel/softirq.c:613 [inline]
invoke_softirq kernel/softirq.c:453 [inline]
__irq_exit_rcu+0xfb/0x220 kernel/softirq.c:680
irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
sysvec_irq_work+0xa3/0xc0 arch/x86/kernel/irq_work.c:17
</IRQ>
<TASK>
asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738
RIP: 0010:preempt_schedule_irq+0xf9/0x1c0 kernel/sched/core.c:7090
Code: 89 fe 49 c1 ee 03 eb 0d 48 f7 03 08 00 00 00 0f 84 89 00 00 00 bf 01 00 00 00 e8 52 fe 5f f5 e8 cd aa 9a f5 fb bf 01 00 00 00 <e8> 32 a5 ff ff 43 80 3c 26 00 74 08 4c 89 ff e8 33 e0 fc f5 48 c7
RSP: 0018:ffffc9000435f1e0 EFLAGS: 00000286
RAX: 709e4e2dd82da800 RBX: 1ffff9200086be44 RCX: 0000000000000007
RDX: 0000000000000007 RSI: ffffffff8e64727b RDI: 0000000000000001
RBP: ffffc9000435f2a0 R08: ffffffff905fce77 R09: 1ffffffff20bf9ce
R10: dffffc0000000000 R11: fffffbfff20bf9cf R12: dffffc0000000000
R13: 1ffff9200086be3c R14: 1ffff9200086be40 R15: ffffc9000435f200
irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:rcu_preempt_deferred_qs_irqrestore+0x8e7/0xcb0 kernel/rcu/tree_plugin.h:587
Code: 8b 74 24 20 e8 3a 87 88 0a 8b 44 24 34 44 08 f0 75 18 4c 89 e7 e8 f9 83 88 0a 4c 89 e7 be 01 00 00 00 48 89 c2 e8 f9 06 01 00 <48> c7 84 24 a0 00 00 00 0e 36 e0 45 48 8b 84 24 98 00 00 00 49 c7
RSP: 0018:ffffc9000435f360 EFLAGS: 00000206
RAX: 709e4e2dd82da800 RBX: 1ffff9200086be84 RCX: 0000000000000007
RDX: 0000000000000007 RSI: ffffffff8e64727b RDI: ffffffff8ca1af60
RBP: ffffc9000435f4b0 R08: ffffffff905fce77 R09: 1ffffffff20bf9ce
R10: dffffc0000000000 R11: fffffbfff20bf9cf R12: ffff8880b863aae0
R13: ffff8880b863aad1 R14: ffffc9000435f420 R15: dffffc0000000000
rcu_read_unlock_special+0x49b/0x570 kernel/rcu/tree_plugin.h:693
__rcu_read_unlock+0xa1/0x110 kernel/rcu/tree_plugin.h:438
rcu_read_unlock include/linux/rcupdate.h:873 [inline]
class_rcu_destructor include/linux/rcupdate.h:1155 [inline]
unwind_next_frame+0x1aa4/0x23b0 arch/x86/kernel/unwind_orc.c:680
arch_stack_walk+0x11e/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x11a/0x1d0 kernel/stacktrace.c:122
save_stack+0xfc/0x1f0 mm/page_owner.c:156
__reset_page_owner+0x76/0x1e0 mm/page_owner.c:308
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1262 [inline]
__free_frozen_pages+0xde8/0x10a0 mm/page_alloc.c:2680
discard_slab mm/slub.c:2720 [inline]
__put_partials+0x160/0x1c0 mm/slub.c:3189
put_cpu_partial+0x17e/0x250 mm/slub.c:3264
__slab_free+0x294/0x390 mm/slub.c:4516
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4151 [inline]
slab_alloc_node mm/slub.c:4200 [inline]
kmem_cache_alloc_lru_noprof+0x1e5/0x390 mm/slub.c:4219
__d_alloc+0x31/0x740 fs/dcache.c:1681
d_alloc_pseudo+0x1f/0xb0 fs/dcache.c:1812
alloc_path_pseudo fs/file_table.c:360 [inline]
alloc_file_pseudo+0x143/0x320 fs/file_table.c:376
sock_alloc_file+0xb7/0x2e0 net/socket.c:470
sock_map_fd net/socket.c:500 [inline]
__sys_socket+0x1dc/0x3c0 net/socket.c:1692
__do_sys_socket net/socket.c:1697 [inline]
__se_sys_socket net/socket.c:1695 [inline]
__x64_sys_socket+0x7a/0x90 net/socket.c:1695
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f811c18e169
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:00007f811d014038 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 00007f811c3b5fa0 RCX: 00007f811c18e169
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 000000000000000a
RBP: 00007f811c210a68 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f811c3b5fa0 R15: 00007ffe81890c68
</TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 7553 Comm: kworker/u8:25 Not tainted 6.14.0-syzkaller-g8582d9ab3efd #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline]
RIP: 0010:smp_call_function_many_cond+0x1bac/0x2d40 kernel/smp.c:885
Code: 03 84 c0 75 7e 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 18 dc 0b 00 41 83 e4 01 4c 8b 64 24 68 75 07 e8 c8 d7 0b 00 eb 41 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 45 00
RSP: 0018:ffffc90004a8f640 EFLAGS: 00000293
RAX: ffffffff81b6e58d RBX: 1ffff110170c823d RCX: ffff88802cda0000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90004a8f840 R08: ffffffff81b6e558 R09: 1ffffffff20bf9ce
R10: dffffc0000000000 R11: fffffbfff20bf9cf R12: ffff8880b873ad08
R13: ffff8880b86411e8 R14: ffff8880b873ad00 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff88812509f000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000900 CR3: 000000000eb38000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1052
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:2455 [inline]
text_poke_bp_batch+0x354/0xb30 arch/x86/kernel/alternative.c:2665
text_poke_flush arch/x86/kernel/alternative.c:2856 [inline]
text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2863
arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210
static_key_enable+0x1a/0x20 kernel/jump_label.c:223
toggle_allocation_gate+0xc0/0x250 mm/kfence/core.c:850
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319
worker_thread+0x870/0xd50 kernel/workqueue.c:3400
kthread+0x7b7/0x940 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Apr 30, 2025, 7:13:18 AM4/30/25
to syzkaller-upst...@googlegroups.com
Sending this report to the next reporting stage.
Reply all
Reply to author
Forward
0 new messages