syzbot


INFO: rcu detected stall in aoecmd_cfg

Status: auto-obsoleted due to no activity on 2024/12/07 10:13
Reported-by: syzbot+4e230d8e831d15e002f5@syzkaller.appspotmail.com
First crash: 205d, last: 115d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in aoecmd_cfg block 2 1443d 1475d 0/28 auto-closed as invalid on 2021/04/09 11:08
upstream INFO: rcu detected stall in aoecmd_cfg (2) usb block C done 7 115d 227d 28/28 fixed on 2024/10/22 11:57
upstream BUG: soft lockup in aoecmd_cfg (2) block 3 19d 51d 0/28 moderation: reported on 2024/10/31 22:27
upstream BUG: soft lockup in aoecmd_cfg block 1 339d 335d 0/28 auto-obsoleted due to no activity on 2024/04/17 16:28

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { P9463 1-.... } 3195 jiffies s: 16013 root: 0x2/T
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 9463 Comm: syz-executor.0 Not tainted 6.1.92-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline]
RIP: 0010:lock_acquire+0x1fc/0x5a0 kernel/locking/lockdep.c:5664
Code: 48 8b 7c 24 20 44 89 f6 8b 54 24 1c 48 8b 4c 24 30 4c 8b 44 24 38 6a 00 6a 00 ff 75 10 ff 74 24 40 e8 e8 04 00 00 48 83 c4 20 <48> c7 c7 40 13 ec 8a e8 78 be 20 09 b8 ff ff ff ff 65 0f c1 05 ab
RSP: 0018:ffffc900001e0020 EFLAGS: 00000082
RAX: 0000000000000001 RBX: ffffc900001e0080 RCX: ffffffff816b1b42
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffffffff9049c228
RBP: ffffc900001e0168 R08: dffffc0000000000 R09: fffffbfff2093846
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200003c00c
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000046
FS:  00007fa730a536c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb530605440 CR3: 000000004c8bf000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 seqcount_lockdep_reader_access+0xf8/0x220 include/linux/seqlock.h:102
 ktime_get+0x31/0x270 kernel/time/timekeeping.c:846
 clockevents_program_event+0xe1/0x310 kernel/time/clockevents.c:326
 hrtimer_interrupt+0x546/0x980 kernel/time/hrtimer.c:1825
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:unwind_next_frame+0x571/0x2220 arch/x86/kernel/unwind_orc.c:461
Code: ef 49 c1 ef 03 41 0f b6 04 3f 84 c0 0f 85 92 16 00 00 48 89 d8 48 c1 e8 03 0f b6 04 38 84 c0 0f 85 a5 16 00 00 41 0f b7 45 00 <89> c3 83 e3 0f 0f 84 94 00 00 00 8d 43 fe 83 f8 07 0f 87 98 00 00
RSP: 0018:ffffc900001e04c0 EFLAGS: 00000246
RAX: 0000000000000015 RBX: ffffffff8ef7cb7d RCX: ffffffff8e8982c8
RDX: ffffffff8ef7cae2 RSI: ffffffff81d5b383 RDI: dffffc0000000000
RBP: ffffffff8ef7cb78 R08: 000000000000001a R09: ffffc900001e0690
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000019
R13: ffffffff8ef7cb7c R14: ffffffff8e898260 R15: 1ffffffff1def96f
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
 ____kasan_kmalloc mm/kasan/common.c:374 [inline]
 __kasan_kmalloc+0x97/0xb0 mm/kasan/common.c:383
 kasan_kmalloc include/linux/kasan.h:211 [inline]
 __do_kmalloc_node mm/slab_common.c:955 [inline]
 __kmalloc_node_track_caller+0xb1/0x220 mm/slab_common.c:975
 kmalloc_reserve net/core/skbuff.c:446 [inline]
 __alloc_skb+0x135/0x670 net/core/skbuff.c:515
 alloc_skb include/linux/skbuff.h:1271 [inline]
 new_skb drivers/block/aoe/aoecmd.c:66 [inline]
 aoecmd_cfg_pkts drivers/block/aoe/aoecmd.c:427 [inline]
 aoecmd_cfg+0x2cc/0xa20 drivers/block/aoe/aoecmd.c:1362
 call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504
 expire_timers kernel/time/timer.c:1549 [inline]
 __run_timers+0x67c/0x890 kernel/time/timer.c:1820
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833
 __do_softirq+0x2e9/0xa4c kernel/softirq.c:571
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x155/0x240 kernel/softirq.c:650
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:preempt_schedule_irq+0xf2/0x1c0 kernel/sched/core.c:6870
Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 97 00 00 00 bf 01 00 00 00 e8 f9 c3 ca f6 e8 44 c1 fd f6 fb bf 01 00 00 00 <e8> 99 b4 ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 d9 7e 4e f7 48
RSP: 0018:ffffc900033df4e0 EFLAGS: 00000282
RAX: 8ddcc7f93cd62300 RBX: 1ffff9200067bea4 RCX: ffffffff91c94103
RDX: dffffc0000000000 RSI: ffffffff8aec01c0 RDI: 0000000000000001
RBP: ffffc900033df5a0 R08: ffffffff8fe9f040 R09: ffffffff8fe9f048
R10: ffffffff8fe9f058 R11: ffffffff8fe9f050 R12: 1ffff9200067be9c
R13: 1ffff9200067bea0 R14: ffffc900033df500 R15: dffffc0000000000
 irqentry_exit+0x53/0x80 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:unwind_next_frame+0x8d/0x2220
Code: a5 00 48 89 6c 24 68 48 8b 4b 38 48 89 dd 48 c1 ed 03 42 0f b6 44 35 00 84 c0 0f 85 05 1b 00 00 8b 03 85 c0 0f 84 c1 10 00 00 <89> 84 24 9c 00 00 00 48 89 8c 24 a0 00 00 00 4c 89 bc 24 80 00 00
RSP: 0018:ffffc900033df660 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffffc900033df740 RCX: ffffc900033dfb40
RDX: dffffc0000000000 RSI: ffffffff81e1a547 RDI: ffffc900033df740
RBP: 1ffff9200067bee8 R08: 0000000000000002 R09: ffffc900033df830
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888073033b80
R13: ffffffff81784820 R14: dffffc0000000000 R15: ffffffff81e1a547
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 save_stack+0xf6/0x1e0 mm/page_owner.c:127
 __reset_page_owner+0x52/0x1a0 mm/page_owner.c:148
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1440 [inline]
 free_pcp_prepare mm/page_alloc.c:1490 [inline]
 free_unref_page_prepare+0xf63/0x1120 mm/page_alloc.c:3358
 free_unref_page+0x33/0x3e0 mm/page_alloc.c:3453
 free_slab mm/slub.c:2031 [inline]
 discard_slab mm/slub.c:2037 [inline]
 __unfreeze_partials+0x1b7/0x210 mm/slub.c:2586
 put_cpu_partial+0x17b/0x250 mm/slub.c:2662
 qlink_free mm/kasan/quarantine.c:168 [inline]
 qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187
 kasan_quarantine_reduce+0x156/0x170 mm/kasan/quarantine.c:294
 ____kasan_kmalloc mm/kasan/common.c:340 [inline]
 __kasan_kmalloc+0x1f/0xb0 mm/kasan/common.c:383
 kasan_kmalloc include/linux/kasan.h:211 [inline]
 __do_kmalloc_node mm/slab_common.c:955 [inline]
 __kmalloc+0xb2/0x230 mm/slab_common.c:968
 kmalloc include/linux/slab.h:561 [inline]
 sk_prot_alloc+0xe0/0x200 net/core/sock.c:2047
 sk_alloc+0x36/0x350 net/core/sock.c:2100
 packet_create+0x100/0x7b0 net/packet/af_packet.c:3348
 __sock_create+0x488/0x910 net/socket.c:1550
 sock_create net/socket.c:1601 [inline]
 __sys_socket_create net/socket.c:1638 [inline]
 __sys_socket+0x136/0x3a0 net/socket.c:1666
 __do_sys_socket net/socket.c:1679 [inline]
 __se_sys_socket net/socket.c:1677 [inline]
 __x64_sys_socket+0x76/0x80 net/socket.c:1677
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa72fc7cee9
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:00007fa730a530c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 00007fa72fdb3fa0 RCX: 00007fa72fc7cee9
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000011
RBP: 00007fa72fcc947f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fa72fdb3fa0 R15: 00007ffc8dac41f8
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/31 13:11 linux-6.1.y 88690811da69 0c378259 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in aoecmd_cfg
2024/08/29 10:12 linux-6.1.y ee5e09825b81 ef3de9e8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: soft lockup in aoecmd_cfg
* Struck through repros no longer work on HEAD.