syzbot


BUG: soft lockup in do_idle

Status: upstream: reported C repro on 2023/06/10 08:51
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+ba8bc57653ea97a294c9@syzkaller.appspotmail.com
First crash: 327d, last: 12h31m
Bug presence (1)
Date Name Commit Repro Result
2023/06/10 upstream (ToT) 64569520920a C [report] BUG: soft lockup in do_idle
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: soft lockup in do_idle origin:upstream C error 29 6d19h 339d 0/3 upstream: reported C repro on 2023/05/29 19:14
upstream INFO: rcu detected stall in do_idle acpi C done error 1845 28m 2028d 0/26 upstream: reported C repro on 2018/10/13 07:31
linux-4.19 INFO: rcu detected stall in do_idle (2) 2 737d 737d 0/1 auto-closed as invalid on 2022/08/24 07:48
linux-4.14 INFO: rcu detected stall in do_idle (2) C error 4 612d 741d 0/1 upstream: reported C repro on 2022/04/22 10:09
android-414 INFO: rcu detected stall in do_idle 1 2057d 2057d 0/1 auto-closed as invalid on 2019/03/13 10:31
linux-4.19 INFO: rcu detected stall in do_idle 1 1595d 1595d 0/1 auto-closed as invalid on 2020/04/18 00:25
linux-4.14 INFO: rcu detected stall in do_idle 4 1690d 1696d 0/1 auto-closed as invalid on 2020/01/14 08:59
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2024/03/20 07:22 1h39m bisect fix linux-6.1.y job log (0) log
2023/12/02 07:41 2h06m bisect fix linux-6.1.y job log (0) log
2023/10/21 20:33 1h30m bisect fix linux-6.1.y job log (0) log
2023/07/21 01:59 6h42m bisect fix linux-6.1.y job log (0) log

Sample crash report:
hrtimer: interrupt took 698036640 ns
watchdog: BUG: soft lockup - CPU#0 stuck for 91s! [swapper/0:0]
Modules linked in:
irq event stamp: 144612
hardirqs last  enabled at (144611): [<ffff800012230bdc>] default_idle_call+0x54/0xdc kernel/sched/idle.c:106
hardirqs last disabled at (144612): [<ffff80001214d1fc>] __el1_irq arch/arm64/kernel/entry-common.c:468 [inline]
hardirqs last disabled at (144612): [<ffff80001214d1fc>] el1_interrupt+0x24/0x68 arch/arm64/kernel/entry-common.c:486
softirqs last  enabled at (144496): [<ffff800008020d7c>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last  enabled at (144496): [<ffff800008020d7c>] __do_softirq+0xc1c/0xe38 kernel/softirq.c:600
softirqs last disabled at (144449): [<ffff80000802a99c>] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.1.83-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : arch_local_irq_enable+0xc/0x18 arch/arm64/include/asm/irqflags.h:44
lr : arch_cpu_idle+0x14/0x20 arch/arm64/kernel/idle.c:45
sp : ffff8000157b7cd0
x29: ffff8000157b7cd0 x28: 0000000000000000 x27: 1ffff00002b07a6c
x26: 0000000000000000 x25: 1ffff00002b07aa9 x24: 1ffff00002b0c9a0
x23: dfff800000000000 x22: ffff80001583d360 x21: ffff800015864d00
x20: 0000000000000000 x19: ffff800015864d00 x18: 1fffe0003686b776
x17: ffff80001583d000 x16: ffff800008065ae8 x15: ffff0001b435bbbc
x14: 1ffff00002b080b0 x13: dfff800000000000 x12: 0000000000000003
x11: 0000000000ff0100 x10: 0000000000000003 x9 : 0000000000000000
x8 : 00000000000000e0 x7 : ffff8000084350e0 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff800012150cd4
x2 : 0000000000000001 x1 : ffff8000122ac6e0 x0 : ffff80019ebc9000
Call trace:
 arch_local_irq_enable+0xc/0x18 arch/arm64/include/asm/irqflags.h:35
 default_idle_call+0x68/0xdc kernel/sched/idle.c:109
 cpuidle_idle_call kernel/sched/idle.c:191 [inline]
 do_idle+0x1e0/0x514 kernel/sched/idle.c:303
 cpu_startup_entry+0x5c/0x74 kernel/sched/idle.c:401
 rest_init+0x2d8/0x2f0 init/main.c:732
 start_kernel+0x0/0x608 init/main.c:892
 start_kernel+0x448/0x608 init/main.c:1139
 __primary_switched+0xb8/0xc0 arch/arm64/kernel/head.S:468

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/01 06:33 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: soft lockup in do_idle
2024/03/29 22:30 linux-6.1.y e5cd595e23c1 c52bcb23 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: soft lockup in do_idle
2024/01/07 18:03 linux-6.1.y 38fb82ecd144 d0304e9c .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: soft lockup in do_idle
2023/12/29 06:02 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: soft lockup in do_idle
2023/12/17 03:14 linux-6.1.y ba6f5fb46511 3222d10c .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: soft lockup in do_idle
2023/06/10 08:51 linux-6.1.y 2f3918bc53fb 9018a337 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: soft lockup in do_idle
2024/05/02 10:40 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_idle
2024/03/30 13:26 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_idle
2024/02/19 04:26 linux-6.1.y 8b4118fabd6e 578f7538 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_idle
2023/11/01 23:17 linux-6.1.y 32c9cdbe383c 69904c9f .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_idle
2023/09/16 16:12 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_idle
2023/08/16 10:05 linux-6.1.y 1321ab403b38 39990d51 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_idle
2024/04/06 16:54 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_idle
2024/03/27 01:53 linux-6.1.y e5cd595e23c1 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_idle
2024/02/13 16:36 linux-6.1.y f1bb70486c9c e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_idle
2023/08/12 02:53 linux-6.1.y 1321ab403b38 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_idle
* Struck through repros no longer work on HEAD.