syzbot


BUG: soft lockup in do_signal

Status: closed as dup on 2020/03/02 13:25
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+6679cb9a68b09bc3e24a@syzkaller.appspotmail.com
First crash: 1729d, last: 1701d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
BUG: soft lockup in sys_exit_group usb C 6 1708d 1731d
Discussions (1)
Title Replies (including bot) Last reply
BUG: soft lockup in do_signal 1 (2) 2020/03/02 13:25
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: soft lockup in do_signal 1 772d 772d 0/1 auto-obsoleted due to no activity on 2023/02/09 18:34

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz-executor545:387]
Modules linked in:
irq event stamp: 30786
hardirqs last  enabled at (30785): [<ffffffff81004721>] trace_hardirqs_on_thunk+0x1a/0x1c arch/x86/entry/thunk_64.S:41
hardirqs last disabled at (30786): [<ffffffff8100473d>] trace_hardirqs_off_thunk+0x1a/0x1c arch/x86/entry/thunk_64.S:42
softirqs last  enabled at (672): [<ffffffff85c00673>] __do_softirq+0x673/0x950 kernel/softirq.c:319
softirqs last disabled at (657): [<ffffffff81157f28>] invoke_softirq kernel/softirq.c:373 [inline]
softirqs last disabled at (657): [<ffffffff81157f28>] irq_exit+0x178/0x1a0 kernel/softirq.c:413
CPU: 1 PID: 387 Comm: syz-executor545 Not tainted 5.6.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:199 [inline]
RIP: 0010:csd_lock_wait kernel/smp.c:109 [inline]
RIP: 0010:smp_call_function_single+0x2cf/0x3a0 kernel/smp.c:311
Code: 5f 5d c3 e8 53 62 0a 00 48 8b 54 24 08 4c 89 f9 8b 7c 24 14 48 8d 74 24 40 e8 cd f9 ff ff 41 89 c4 eb 07 e8 33 62 0a 00 f3 90 <8b> 5c 24 58 31 ff 83 e3 01 89 de e8 c1 63 0a 00 85 db 75 e5 e8 18
RSP: 0018:ffff8881ce2777a0 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffff8881c7a7e200 RBX: 0000000000000001 RCX: ffffffff8134f3bf
RDX: 0000000000000000 RSI: ffffffff8134f3ad RDI: 0000000000000005
RBP: ffff8881ce277880 R08: ffff8881c7a7e200 R09: ffffed103b646aa9
R10: ffffed103b646aa8 R11: ffff8881db235547 R12: 0000000000000000
R13: 0000000000000001 R14: ffff8881ce55b9c0 R15: ffff8881db333e00
FS:  0000000000000000(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558745955df0 CR3: 0000000007021000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 smp_call_function_many_cond+0x25e/0x900 kernel/smp.c:439
 flush_tlb_others arch/x86/include/asm/paravirt.h:68 [inline]
 flush_tlb_mm_range+0x1e8/0x3e0 arch/x86/mm/tlb.c:798
 tlb_flush arch/x86/include/asm/tlb.h:24 [inline]
 tlb_flush_mmu_tlbonly include/asm-generic/tlb.h:424 [inline]
 tlb_flush_mmu_tlbonly include/asm-generic/tlb.h:414 [inline]
 tlb_flush_mmu+0x274/0x630 mm/mmu_gather.c:248
 tlb_finish_mmu+0x93/0x420 mm/mmu_gather.c:328
 exit_mmap+0x298/0x4d0 mm/mmap.c:3128
 __mmput kernel/fork.c:1082 [inline]
 mmput+0xce/0x3d0 kernel/fork.c:1103
 exit_mm kernel/exit.c:485 [inline]
 do_exit+0xa83/0x2c80 kernel/exit.c:788
 do_group_exit+0x125/0x340 kernel/exit.c:899
 get_signal+0x480/0x2470 kernel/signal.c:2739
 do_signal+0x88/0x1490 arch/x86/kernel/signal.c:813
 exit_to_usermode_loop+0x1a2/0x200 arch/x86/entry/common.c:160
 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:278 [inline]
 do_syscall_64+0x4e0/0x5a0 arch/x86/entry/common.c:304
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x475981
Code: Bad RIP value.
RSP: 002b:00007f07c454ad40 EFLAGS: 00000293 ORIG_RAX: 0000000000000023
RAX: fffffffffffffdfc RBX: 0000000000000003 RCX: 0000000000475981
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007f07c454ad50
RBP: 00000000006dbc20 R08: 4f20d4d1e5b1cf4b R09: 92ce12f6911197ee
R10: 7057b4b5ff14ebc9 R11: 0000000000000293 R12: 00000000006dbc2c
R13: 0001001b02090100 R14: 0000d5e850510e41 R15: 2053434100000112
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.6.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:line6_midibuf_read+0x4fd/0xa30 sound/usb/line6/midibuf.c:226
Code: 7c 08 84 d2 0f 85 37 04 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 74 24 10 8b 5d 1c 48 89 f2 83 e6 07 48 c1 ea 03 0f b6 04 02 <40> 38 f0 7f 08 84 c0 0f 85 17 04 00 00 48 8b 44 24 10 88 18 e8 2a
RSP: 0018:ffff8881db2099e0 EFLAGS: 00000802
RAX: 0000000000000000 RBX: 00000000000000fe RCX: ffffffff84ba5e44
RDX: 1ffff1103a78e140 RSI: 0000000000000000 RDI: 0000000000000005
RBP: ffff8881d3c708a0 R08: ffffffff8702cc40 R09: ffffed103a78e141
R10: ffffed103a78e140 R11: ffff8881d3c70a00 R12: 0000000000000001
R13: 0000000000000025 R14: 00000000000003db R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e2df9e52e7 CR3: 00000001c7cab000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 line6_data_received+0x318/0x520 sound/usb/line6/driver.c:305
 __usb_hcd_giveback_urb+0x29a/0x550 drivers/usb/core/hcd.c:1650
 usb_hcd_giveback_urb+0x368/0x420 drivers/usb/core/hcd.c:1716
 dummy_timer+0x1258/0x32ae drivers/usb/gadget/udc/dummy_hcd.c:1966
 call_timer_fn+0x195/0x6f0 kernel/time/timer.c:1404
 expire_timers kernel/time/timer.c:1449 [inline]
 __run_timers kernel/time/timer.c:1773 [inline]
 __run_timers kernel/time/timer.c:1740 [inline]
 run_timer_softirq+0x5f9/0x1500 kernel/time/timer.c:1786
 __do_softirq+0x21e/0x950 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x178/0x1a0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:546 [inline]
 smp_apic_timer_interrupt+0x141/0x540 arch/x86/kernel/apic/apic.c:1146
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
 </IRQ>
RIP: 0010:default_idle+0x28/0x300 arch/x86/kernel/process.c:696
Code: cc cc 41 56 41 55 65 44 8b 2d 44 77 72 7a 41 54 55 53 0f 1f 44 00 00 e8 b6 62 b5 fb e9 07 00 00 00 0f 00 2d ea 0c 53 00 fb f4 <65> 44 8b 2d 20 77 72 7a 0f 1f 44 00 00 5b 5d 41 5c 41 5d 41 5e c3
RSP: 0018:ffffffff87007d80 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000007 RBX: ffffffff8702cc40 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000006 RDI: ffffffff8702d48c
RBP: fffffbfff0e05988 R08: ffffffff8702cc40 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff87e607c0 R15: 0000000000000000
 cpuidle_idle_call kernel/sched/idle.c:154 [inline]
 do_idle+0x3e0/0x500 kernel/sched/idle.c:269
 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:361
 start_kernel+0xe16/0xe5a init/main.c:998
 secondary_startup_64+0xb6/0xc0 arch/x86/kernel/head_64.S:242

Crashes (29):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/03/27 22:22 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 831e9a81 .config console log report syz C ci2-upstream-usb
2020/03/21 04:14 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 2c31c529 .config console log report syz C ci2-upstream-usb
2020/03/17 08:48 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 749688d2 .config console log report syz C ci2-upstream-usb
2020/03/16 02:07 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 749688d2 .config console log report syz C ci2-upstream-usb
2020/03/15 03:43 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 749688d2 .config console log report syz C ci2-upstream-usb
2020/03/14 21:52 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 749688d2 .config console log report syz C ci2-upstream-usb
2020/03/14 07:31 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 749688d2 .config console log report syz C ci2-upstream-usb
2020/03/13 21:59 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 749688d2 .config console log report syz C ci2-upstream-usb
2020/03/12 21:14 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c d850e9d0 .config console log report syz C ci2-upstream-usb
2020/03/12 04:56 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c d850e9d0 .config console log report syz C ci2-upstream-usb
2020/03/10 05:27 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 35f53e45 .config console log report syz C ci2-upstream-usb
2020/03/10 03:08 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 35f53e45 .config console log report syz C ci2-upstream-usb
2020/03/09 12:09 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 2e9971bb .config console log report syz C ci2-upstream-usb
2020/03/02 12:46 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 4a4e0509 .config console log report syz C ci2-upstream-usb
2020/03/02 10:28 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 4a4e0509 .config console log report syz C ci2-upstream-usb
2020/02/29 20:15 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c c88c7b75 .config console log report syz C ci2-upstream-usb
2020/02/29 01:11 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c c88c7b75 .config console log report syz C ci2-upstream-usb
2020/03/28 00:56 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 831e9a81 .config console log report ci2-upstream-usb
2020/03/27 04:50 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 6d25c5a0 .config console log report ci2-upstream-usb
2020/03/26 14:26 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 6d25c5a0 .config console log report ci2-upstream-usb
2020/03/26 11:32 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 e8e6c7d2 .config console log report ci2-upstream-usb
2020/03/26 04:44 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 e8e6c7d2 .config console log report ci2-upstream-usb
2020/03/25 04:11 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 68660b21 .config console log report ci2-upstream-usb
2020/03/24 11:51 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 33e14df3 .config console log report ci2-upstream-usb
2020/03/23 20:09 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 84f999d6 .config console log report ci2-upstream-usb
2020/03/23 01:43 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 78267cec .config console log report ci2-upstream-usb
2020/03/22 22:12 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 78267cec .config console log report ci2-upstream-usb
2020/03/21 16:04 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 aa6c6a55 .config console log report ci2-upstream-usb
2020/03/21 00:54 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 2c31c529 .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.