BUG: soft lockup in expire_timers

20 views
Skip to first unread message

syzbot

unread,
Oct 22, 2020, 8:04:17 AM10/22/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: ad326970 Linux 4.19.152
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=179bfb80500000
kernel config: https://syzkaller.appspot.com/x/.config?x=1ec7667b405157e
dashboard link: https://syzkaller.appspot.com/bug?extid=a5fb9b49406566484f55
compiler: gcc (GCC) 10.1.0-syz 20200507

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+a5fb9b...@syzkaller.appspotmail.com

Bluetooth: hci0: command 0x0406 tx timeout
watchdog: BUG: soft lockup - CPU#1 stuck for 119s! [syz-executor.2:1562]
Modules linked in:
irq event stamp: 22722045
hardirqs last enabled at (22722044): [<ffffffff88153ed4>] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline]
hardirqs last enabled at (22722044): [<ffffffff88153ed4>] _raw_spin_unlock_irq+0x24/0x80 kernel/locking/spinlock.c:192
hardirqs last disabled at (22722045): [<ffffffff8100432f>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last enabled at (21855590): [<ffffffff8840069a>] __do_softirq+0x69a/0x9a0 kernel/softirq.c:318
softirqs last disabled at (21855593): [<ffffffff813a39b5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (21855593): [<ffffffff813a39b5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 1 PID: 1562 Comm: syz-executor.2 Not tainted 4.19.152-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x50/0x80 kernel/locking/spinlock.c:192
Code: c0 58 7f f1 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 31 48 83 3d 61 40 dc 01 00 74 25 fb 66 0f 1f 44 00 00 <bf> 01 00 00 00 e8 36 69 2d f9 65 8b 05 ff 9f ec 77 85 c0 74 02 5d
RSP: 0018:ffff8880ba107dd0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e2feb RBX: dffffc0000000000 RCX: 1ffff1104185213d
RDX: dffffc0000000000 RSI: ffff88820c2909c8 RDI: ffff88820c2909c4
RBP: ffff8880ba122b00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff86a5fce0
R13: ffff8880ba122b00 R14: ffff8880ba107e68 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33227000 CR3: 0000000009e6d000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
expire_timers+0x238/0x4e0 kernel/time/timer.c:1374
__run_timers kernel/time/timer.c:1703 [inline]
run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1716
__do_softirq+0x26c/0x9a0 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:544 [inline]
smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1094
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
</IRQ>
RIP: 0010:zap_pte_range mm/memory.c:1320 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1452 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1481 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1502 [inline]
RIP: 0010:unmap_page_range+0xae9/0x2a70 mm/memory.c:1523
Code: e8 0c ad d6 ff 48 85 db 0f 84 12 04 00 00 48 bb ff 0f 00 00 00 00 f0 ff e8 64 ab d6 ff 4c 21 e3 31 ff 89 dd 81 e5 01 01 00 00 <89> ee e8 c0 ac d6 ff 85 ed 0f 85 a4 04 00 00 e8 43 ab d6 ff 83 e3
RSP: 0018:ffff88820f22f768 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
RAX: ffff88820c290140 RBX: 0000000000000025 RCX: ffffffff818e2134
RDX: 0000000000000000 RSI: ffffffff818e214c RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: 000000008d9e2025
R13: ffffea0002367840 R14: dffffc0000000000 R15: 000000000050f000
unmap_single_vma+0x198/0x300 mm/memory.c:1568
unmap_vmas+0xa9/0x180 mm/memory.c:1598
exit_mmap+0x2b9/0x530 mm/mmap.c:3093
__mmput kernel/fork.c:1015 [inline]
mmput+0x14e/0x4a0 kernel/fork.c:1036
exit_mm kernel/exit.c:546 [inline]
do_exit+0xab5/0x2b70 kernel/exit.c:874
do_group_exit+0x125/0x310 kernel/exit.c:990
get_signal+0x3f2/0x1f70 kernel/signal.c:2588
do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:821
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:0x45de59
Code: Bad RIP value.
RSP: 002b:00007fbee62a7c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: fffffffffffffe00 RBX: 0000000000021740 RCX: 000000000045de59
RDX: 0000000020fb5ffc RSI: 0000000020000140 RDI: 0000000000000000
RBP: 000000000118bf70 R08: 000000002000a000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007ffc91a303ef R14: 00007fbee62a89c0 R15: 000000000118bf2c
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.19.152-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__sanitizer_cov_trace_pc+0x47/0x50 kernel/kcov.c:111
Code: 90 d8 12 00 00 83 fa 02 75 20 48 8b 88 e0 12 00 00 8b 80 dc 12 00 00 48 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 <c3> 0f 1f 84 00 00 00 00 00 49 89 f1 49 89 fa 65 48 8b 34 25 80 df
RSP: 0018:ffff8880ba007f48 EFLAGS: 00000006
RAX: ffffffff89e78080 RBX: 0000000000010001 RCX: ffffffff837fde73
RDX: 0000000000010000 RSI: ffffffff837fde7c RDI: 0000000000000005
RBP: ffffffff88b3ada0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: ffffffff8c65b01b R12: 0000000000000000
R13: ffffffff88b3ad60 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c010df6860 CR3: 00000000abf72000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
check_preemption_disabled+0x3c/0x280 lib/smp_processor_id.c:25
irqtime_account_irq+0x17/0x280 kernel/sched/cputime.c:51
account_irq_exit_time include/linux/vtime.h:114 [inline]
irq_exit+0x49/0x260 kernel/softirq.c:409
exiting_irq arch/x86/include/asm/apic.h:544 [inline]
smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1094
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
</IRQ>
RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61
Code: 48 89 df e8 34 c7 85 f9 e9 2e ff ff ff 48 89 df e8 27 c7 85 f9 eb 82 90 90 90 90 90 e9 07 00 00 00 0f 00 2d 94 53 52 00 fb f4 <c3> 90 e9 07 00 00 00 0f 00 2d 84 53 52 00 f4 c3 90 90 41 56 41 55
RSP: 0018:ffffffff89e07d40 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e2fec RBX: dffffc0000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffffffff89e78904
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff89f17f50
R13: 1ffffffff13c0fb2 R14: 0000000000000000 R15: 0000000000000000
arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline]
default_idle+0x49/0x310 arch/x86/kernel/process.c:557
cpuidle_idle_call kernel/sched/idle.c:153 [inline]
do_idle+0x2ec/0x4b0 kernel/sched/idle.c:263
cpu_startup_entry+0xc5/0xe0 kernel/sched/idle.c:369
start_kernel+0x8d6/0x911 init/main.c:736
secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243


---
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 19, 2021, 7:04:16 AM2/19/21
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