BUG: soft lockup in do_rmdir

5 views
Skip to first unread message

syzbot

unread,
Oct 5, 2021, 4:45:30 AM10/5/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: c2276d585654 Linux 4.19.208
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1136253f300000
kernel config: https://syzkaller.appspot.com/x/.config?x=9080caca9deef589
dashboard link: https://syzkaller.appspot.com/bug?extid=2b7ce2acf69adbff0d84
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

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

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

watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.4:15777]
Modules linked in:
irq event stamp: 19969860
hardirqs last enabled at (19969859): [<ffffffff8129070b>] kvm_wait arch/x86/kernel/kvm.c:799 [inline]
hardirqs last enabled at (19969859): [<ffffffff8129070b>] kvm_wait+0x14b/0x240 arch/x86/kernel/kvm.c:779
hardirqs last disabled at (19969860): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last enabled at (19969840): [<ffffffff88400678>] __do_softirq+0x678/0x980 kernel/softirq.c:318
softirqs last disabled at (19969807): [<ffffffff813927d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (19969807): [<ffffffff813927d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 0 PID: 15777 Comm: syz-executor.4 Not tainted 4.19.208-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61
Code: 48 89 df e8 34 3a 7f f9 e9 2e ff ff ff 48 89 df e8 27 3a 7f f9 eb 82 90 90 90 90 90 e9 07 00 00 00 0f 00 2d a4 5f 4e 00 fb f4 <c3> 90 e9 07 00 00 00 0f 00 2d 94 5f 4e 00 f4 c3 90 90 41 56 41 55
RSP: 0018:ffff888047d0f648 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3054 RBX: ffff8882350f0b00 RCX: 1ffff11007414d29
RDX: dffffc0000000000 RSI: ffff88803a0a6928 RDI: ffff88803a0a6884
RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000286
R13: ffffed1046a1e160 R14: 0000000000000001 R15: ffff8880ba02be00
FS: 000055555567f400(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555555688848 CR3: 00000000481fc000 CR4: 00000000003426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline]
kvm_wait arch/x86/kernel/kvm.c:799 [inline]
kvm_wait+0x179/0x240 arch/x86/kernel/kvm.c:779
pv_wait arch/x86/include/asm/paravirt.h:689 [inline]
pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:471 [inline]
__pv_queued_spin_lock_slowpath+0x86a/0xae0 kernel/locking/qspinlock.c:474
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:679 [inline]
queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:53 [inline]
queued_spin_lock include/asm-generic/qspinlock.h:88 [inline]
do_raw_spin_lock+0x189/0x220 kernel/locking/spinlock_debug.c:113
spin_lock include/linux/spinlock.h:329 [inline]
ext4_lock_group fs/ext4/ext4.h:3022 [inline]
ext4_free_blocks+0x1bc8/0x2ac0 fs/ext4/mballoc.c:4931
ext4_remove_blocks fs/ext4/extents.c:2584 [inline]
ext4_ext_rm_leaf fs/ext4/extents.c:2740 [inline]
ext4_ext_remove_space+0x26ef/0x3e80 fs/ext4/extents.c:2973
ext4_ext_truncate+0x1ae/0x200 fs/ext4/extents.c:4670
ext4_truncate+0xe27/0x1380 fs/ext4/inode.c:4557
ext4_evict_inode+0x934/0x17b0 fs/ext4/inode.c:305
evict+0x2ed/0x760 fs/inode.c:559
iput_final fs/inode.c:1555 [inline]
iput+0x4f1/0x860 fs/inode.c:1581
dentry_unlink_inode+0x265/0x320 fs/dcache.c:374
d_delete+0x210/0x280 fs/dcache.c:2372
vfs_rmdir.part.0+0x28a/0x3d0 fs/namei.c:3895
vfs_rmdir fs/namei.c:3868 [inline]
do_rmdir+0x3fd/0x490 fs/namei.c:3943
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f5b48adc247
Code: 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 54 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe79de6078 EFLAGS: 00000207 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007f5b48adc247
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffe79de7200
RBP: 00007ffe79de6140 R08: 0000000000000000 R09: 00007ffe79de5f10
R10: 00005555556808c3 R11: 0000000000000207 R12: 00007f5b48b35e80
R13: 00007ffe79de7200 R14: 0000555555680810 R15: 00007ffe79de7240
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 16898 Comm: kworker/1:0 Not tainted 4.19.208-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events cache_reap
RIP: 0010:unwind_next_frame+0x7c7/0x1400 arch/x86/kernel/unwind_orc.c:492
Code: f7 0f 85 59 09 00 00 83 e0 07 38 c2 40 0f 9e c6 84 d2 0f 95 c0 40 84 c6 0f 85 42 09 00 00 49 0f bf 07 48 01 c8 48 89 44 24 68 <e9> a8 fe ff ff 49 8d 7e 40 48 b8 00 00 00 00 00 fc ff df 48 89 fa
RSP: 0018:ffff8880ba107758 EFLAGS: 00000292
RAX: ffff888045acfd40 RBX: 1ffff11017420ef4 RCX: ffff888045acfce8
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffff8b99d4ec R09: ffffffff8b99d4e8
R10: ffff8880ba1078e7 R11: 0000000000074071 R12: ffff8880ba1078d0
R13: ffff8880ba1078bd R14: ffff8880ba107888 R15: ffffffff8b99d4e8
FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555557530708 CR3: 000000008f748000 CR4: 00000000003426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
__save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44
save_stack mm/kasan/kasan.c:448 [inline]
set_track mm/kasan/kasan.c:460 [inline]
kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553
slab_post_alloc_hook mm/slab.h:445 [inline]
slab_alloc_node mm/slab.c:3340 [inline]
kmem_cache_alloc_node+0x133/0x3b0 mm/slab.c:3647
__alloc_skb+0x71/0x560 net/core/skbuff.c:193
skb_copy+0x139/0x2f0 net/core/skbuff.c:1358
mac80211_hwsim_tx_frame_no_nl.isra.0+0xb8a/0x1330 drivers/net/wireless/mac80211_hwsim.c:1353
mac80211_hwsim_tx_frame+0x12b/0x210 drivers/net/wireless/mac80211_hwsim.c:1556
mac80211_hwsim_beacon_tx+0x3f8/0x680 drivers/net/wireless/mac80211_hwsim.c:1595
__iterate_interfaces+0x2e1/0x4a0 net/mac80211/util.c:614
ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:650
mac80211_hwsim_beacon+0xc9/0x190 drivers/net/wireless/mac80211_hwsim.c:1615
__tasklet_hrtimer_trampoline+0x29/0xa0 kernel/softirq.c:601
tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522
__do_softirq+0x265/0x980 kernel/softirq.c:292
invoke_softirq kernel/softirq.c:372 [inline]
irq_exit+0x215/0x260 kernel/softirq.c:412
exiting_irq arch/x86/include/asm/apic.h:536 [inline]
smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
</IRQ>
RIP: 0010:drain_array+0x2e/0xa0 mm/slab.c:4018
Code: 41 54 55 48 83 ec 18 65 48 8b 04 25 28 00 00 00 48 89 44 24 10 31 c0 48 85 d2 48 89 24 24 48 89 64 24 08 74 17 48 89 d5 8b 12 <85> d2 74 0e 8b 45 0c 85 c0 74 23 c7 45 0c 00 00 00 00 48 8b 44 24
RSP: 0018:ffff888045acfca8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: ffffe8ffffdb53c0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff8880a3fbd100 RDI: ffff8880a46bb080
RBP: ffffe8ffffdb53c0 R08: 00000000362e84f9 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffff8880a46bb080
R13: 0000000000000000 R14: 0000000000000020 R15: ffff8880ba1284a0
cache_reap+0x150/0x270 mm/slab.c:4068
process_one_work+0x864/0x1570 kernel/workqueue.c:2153
worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
kthread+0x33f/0x460 kernel/kthread.c:259
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
----------------
Code disassembly (best guess):
0: 48 89 df mov %rbx,%rdi
3: e8 34 3a 7f f9 callq 0xf97f3a3c
8: e9 2e ff ff ff jmpq 0xffffff3b
d: 48 89 df mov %rbx,%rdi
10: e8 27 3a 7f f9 callq 0xf97f3a3c
15: eb 82 jmp 0xffffff99
17: 90 nop
18: 90 nop
19: 90 nop
1a: 90 nop
1b: 90 nop
1c: e9 07 00 00 00 jmpq 0x28
21: 0f 00 2d a4 5f 4e 00 verw 0x4e5fa4(%rip) # 0x4e5fcc
28: fb sti
29: f4 hlt
* 2a: c3 retq <-- trapping instruction
2b: 90 nop
2c: e9 07 00 00 00 jmpq 0x38
31: 0f 00 2d 94 5f 4e 00 verw 0x4e5f94(%rip) # 0x4e5fcc
38: f4 hlt
39: c3 retq
3a: 90 nop
3b: 90 nop
3c: 41 56 push %r14
3e: 41 55 push %r13


---
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.

syzbot

unread,
Feb 2, 2022, 3:45:15 AM2/2/22
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages