BUG: soft lockup in tasklet_action_common (2)

13 views
Skip to first unread message

syzbot

unread,
Jan 12, 2022, 1:22:21 PM1/12/22
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=168f476fb00000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=1a99c6ca9b25bc15ee0e
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+1a99c6...@syzkaller.appspotmail.com

watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.5:3811]
Modules linked in:
irq event stamp: 3151417
hardirqs last enabled at (3151416): [<ffffffff81003ce4>] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (3151417): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last enabled at (3150868): [<ffffffff88400678>] __do_softirq+0x678/0x980 kernel/softirq.c:318
softirqs last disabled at (3150871): [<ffffffff813927d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (3150871): [<ffffffff813927d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 1 PID: 3811 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:tasklet_action_common.constprop.0+0x26b/0x360 kernel/softirq.c:512
Code: fa 00 00 00 49 8d 7e 20 49 8b 76 18 49 89 f8 49 c1 e8 03 43 80 3c 38 00 0f 85 cc 00 00 00 49 8b 7e 20 ff d6 f0 41 80 24 24 fd <48> 85 ed 0f 85 42 ff ff ff 48 83 c4 20 5b 5d 41 5c 41 5d 41 5e 41
RSP: 0018:ffff8880ba107ed8 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: ffff8880ba11e620 RCX: 0000000000000000
RDX: 0000000000000100 RSI: ffffffff84a69290 RDI: 0000000000000001
RBP: ffff88804ad04d80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88804eeac648
R13: 0000000000000000 R14: ffff88804eeac640 R15: dffffc0000000000
FS: 00007f17f2f83700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555555d7e848 CR3: 0000000009e6d000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
__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:zap_pte_range mm/memory.c:1316 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1463 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1492 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1513 [inline]
RIP: 0010:unmap_page_range+0xaa2/0x2c50 mm/memory.c:1534
Code: 4c 01 f0 48 89 84 24 88 00 00 00 49 8d 87 00 f0 ff ff 48 89 44 24 70 e8 dc ee d6 ff 48 8b 44 24 30 48 c1 e8 03 42 80 3c 30 00 <0f> 85 4d 1c 00 00 48 8b 44 24 30 31 ff 4c 8b 20 4c 89 e3 48 83 e3
RSP: 0018:ffff88809c407770 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffff1101687e32d RBX: 00007f17f3da6000 RCX: ffffffff818b9c86
RDX: 0000000000000000 RSI: ffffffff818b9694 RDI: 0000000000000006
RBP: ffffea00024be670 R08: 0000000000000000 R09: 00007f17f3da6000
R10: 0000000000000006 R11: 0000000000000000 R12: dead000000000100
R13: ffffea00024be640 R14: dffffc0000000000 R15: 00007f17f3d2e000
unmap_single_vma+0x198/0x300 mm/memory.c:1579
unmap_vmas+0xa9/0x180 mm/memory.c:1609
exit_mmap+0x2b9/0x530 mm/mmap.c:3093
__mmput kernel/fork.c:1016 [inline]
mmput+0x14e/0x4a0 kernel/fork.c:1037
exit_mm kernel/exit.c:549 [inline]
do_exit+0xaec/0x2be0 kernel/exit.c:857
do_group_exit+0x125/0x310 kernel/exit.c:967
get_signal+0x3f2/0x1f70 kernel/signal.c:2589
do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f17f462eeb9
Code: Bad RIP value.
RSP: 002b:00007f17f2f83168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: 0000000000000013 RBX: 00007f17f4742030 RCX: 00007f17f462eeb9
RDX: 0000000000000111 RSI: 0000000000145742 RDI: 00000000200003c0
RBP: 00007f17f468908d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd27453f4f R14: 00007f17f2f83300 R15: 0000000000022000
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0 skipped: idling at native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:60
----------------
Code disassembly (best guess):
0: fa cli
1: 00 00 add %al,(%rax)
3: 00 49 8d add %cl,-0x73(%rcx)
6: 7e 20 jle 0x28
8: 49 8b 76 18 mov 0x18(%r14),%rsi
c: 49 89 f8 mov %rdi,%r8
f: 49 c1 e8 03 shr $0x3,%r8
13: 43 80 3c 38 00 cmpb $0x0,(%r8,%r15,1)
18: 0f 85 cc 00 00 00 jne 0xea
1e: 49 8b 7e 20 mov 0x20(%r14),%rdi
22: ff d6 callq *%rsi
24: f0 41 80 24 24 fd lock andb $0xfd,(%r12)
* 2a: 48 85 ed test %rbp,%rbp <-- trapping instruction
2d: 0f 85 42 ff ff ff jne 0xffffff75
33: 48 83 c4 20 add $0x20,%rsp
37: 5b pop %rbx
38: 5d pop %rbp
39: 41 5c pop %r12
3b: 41 5d pop %r13
3d: 41 5e pop %r14
3f: 41 rex.B


---
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,
May 12, 2022, 2:22:23 PM5/12/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