syzbot


BUG: soft lockup in smp_call_function

Status: upstream: reported C repro on 2024/04/02 06:05
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+0c78669af74220668cbf@syzkaller.appspotmail.com
First crash: 295d, last: 3h38m
Fix bisection the fix commit could be any of (bisect log):
  ea22d4195cca riscv: prevent pt_regs corruption for secondary idle threads
  ceab795a67dd ALSA: timer: Set lower bound of start tick time
  
Bug presence (4)
Date Name Commit Repro Result
2024/12/27 android14-6.1 (ToT) 4c2d86d81fa6 C [report] no output from test machine
2024/09/20 lts (merge base) ae9f2a70d69e C [report] no output from test machine
2024/09/20 upstream (ToT) baeb9a7d8b60 C [report] no output from test machine
2024/12/27 upstream (ToT) d6ef8b40d075 C Didn't crash
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: soft lockup in smp_call_function C error 2 876d 1005d 0/1 upstream: reported C repro on 2022/04/23 05:26
upstream BUG: soft lockup in smp_call_function kernel C done 1403 14h50m 1654d 0/28 upstream: reported C repro on 2020/07/12 23:02
linux-6.1 BUG: soft lockup in smp_call_function origin:upstream C 103 7h22m 676d 0/3 upstream: reported C repro on 2023/03/18 00:36
android-54 BUG: soft lockup in smp_call_function 1 1173d 1173d 0/2 auto-closed as invalid on 2022/03/05 18:04
linux-4.14 BUG: soft lockup in smp_call_function C 1 702d 1005d 0/1 upstream: reported C repro on 2022/04/23 04:43
linux-5.15 BUG: soft lockup in smp_call_function missing-backport origin:lts-only C error 185 3d11h 674d 0/3 upstream: reported C repro on 2023/03/19 12:10
android-5-15 BUG: soft lockup in smp_call_function origin:upstream C error inconclusive 940 1d06h 688d 0/2 upstream: reported C repro on 2023/03/05 21:20
android-54 BUG: soft lockup in smp_call_function (2) C 23 62d 360d 0/2 upstream: reported C repro on 2024/01/28 03:58
android-5-10 BUG: soft lockup in smp_call_function C error 87 12d 549d 0/2 upstream: reported C repro on 2023/07/22 22:59
upstream INFO: rcu detected stall in smp_call_function perf C 107 1382d 1638d 20/28 fixed on 2021/04/13 06:26
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/09/25 09:23 11m retest repro android14-6.1 log
2024/09/25 09:23 18m retest repro android14-6.1 report log

Sample crash report:
 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446
 kthread+0x26d/0x300 kernel/kthread.c:386
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
watchdog: BUG: soft lockup - CPU#1 stuck for 226s! [kworker/u4:0:8]
Modules linked in:
CPU: 1 PID: 8 Comm: kworker/u4:0 Not tainted 6.1.75-syzkaller-00123-g60534eef4739 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x10/0x60 kernel/kcov.c:207
Code: 89 fb e8 13 00 00 00 48 8b 3d 54 a7 d9 05 48 89 de e8 64 1e 46 00 5b 5d c3 cc 55 48 89 e5 48 8b 45 08 65 48 8b 0d 90 0f 8d 7e <65> 8b 15 91 0f 8d 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74
RSP: 0018:ffffc90000087830 EFLAGS: 00000202
RAX: ffffffff816bc3fc RBX: 1ffff1103ee07919 RCX: ffff888100382880
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000087830 R08: ffffffff816bc3c5 R09: ffffed103ee2707b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000800000000 R14: ffff8881f703c8c8 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff85c16818 CR3: 0000000006c0f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 csd_lock_wait kernel/smp.c:453 [inline]
 smp_call_function_many_cond+0x86c/0x930 kernel/smp.c:998
 on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1166
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:1329 [inline]
 text_poke_bp_batch+0x1e9/0x730 arch/x86/kernel/alternative.c:1529
 text_poke_flush arch/x86/kernel/alternative.c:1720 [inline]
 text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1727
 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146
 __jump_label_update+0x36a/0x380 kernel/jump_label.c:455
 jump_label_update+0x3af/0x450 kernel/jump_label.c:801
 static_key_enable_cpuslocked+0x12f/0x250 kernel/jump_label.c:177
 static_key_enable+0x1a/0x30 kernel/jump_label.c:190
 toggle_allocation_gate+0xbf/0x450 mm/kfence/core.c:804
 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299
 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446
 kthread+0x26d/0x300 kernel/kthread.c:386
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (115):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/05 17:02 android14-6.1 60534eef4739 77230c29 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/04/02 05:56 android14-6.1 931187cc187d 6baf5069 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/10/08 18:53 android14-6.1 0e8b65e41ffd 402f1df0 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/04/16 10:28 android14-6.1 77fec6cefe26 0d592ce4 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/04/02 06:31 android14-6.1 931187cc187d 6baf5069 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/09 13:06 android14-6.1 338203a81721 f3234354 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2025/01/22 05:18 android14-6.1 d12538e9da37 da72ac06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2025/01/11 05:23 android14-6.1 770852bf7d99 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2025/01/11 03:55 android14-6.1 770852bf7d99 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2025/01/10 17:32 android14-6.1 770852bf7d99 67d7ec0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2025/01/06 11:39 android14-6.1 e2b9748880b9 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2025/01/02 12:21 android14-6.1 e2b9748880b9 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/12/30 08:25 android14-6.1 3f924195e222 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/12/29 13:49 android14-6.1 3f924195e222 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/12/21 16:16 android14-6.1 3e3f2b9e9fca d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/12/18 23:45 android14-6.1 e50cf165f4e7 a0626d3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/12/17 07:02 android14-6.1 e93c64d68326 eec85da6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/12/14 22:09 android14-6.1 22b7ded8b55b 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/12/08 15:24 android14-6.1 c276c53965a8 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/12/07 19:04 android14-6.1 c276c53965a8 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/12/06 17:19 android14-6.1 fddf80a6acf0 946d28f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/12/05 14:22 android14-6.1 182b090f35f3 29f61fce .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/12/05 09:29 android14-6.1 182b090f35f3 29f61fce .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/12/05 08:15 android14-6.1 997d1e6f69f1 b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/12/05 05:13 android14-6.1 997d1e6f69f1 b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/12/04 12:51 android14-6.1 997d1e6f69f1 b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/12/01 22:16 android14-6.1 a887a44ace2a 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/11/30 21:06 android14-6.1 a887a44ace2a 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/11/28 15:51 android14-6.1 93460febf9b8 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/11/26 07:00 android14-6.1 7cd56b010fcf 11dbc254 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/11/24 10:14 android14-6.1 226e9f92a06c 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/11/22 17:52 android14-6.1 672918d43222 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/11/18 11:20 android14-6.1 defe0024cfb0 e7bb5d6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/11/18 02:52 android14-6.1 defe0024cfb0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/11/12 22:00 android14-6.1 38859a233e31 62026c85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/11/06 03:00 android14-6.1 976b055754d7 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/11/05 06:05 android14-6.1 fadb08b36671 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/11/05 06:04 android14-6.1 fadb08b36671 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/11/03 01:44 android14-6.1 fadb08b36671 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/11/02 04:11 android14-6.1 fadb08b36671 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/10/30 13:42 android14-6.1 19b68814b1cd fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/10/27 18:13 android14-6.1 a874ed06eb34 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/10/19 18:24 android14-6.1 1fe91f863a7f cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/08/16 03:59 android14-6.1 d6a513a78492 e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/08/02 20:46 android14-6.1 4ac7f55b9824 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/07/31 02:13 android14-6.1 7fa70ede91bb 6fde257d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/07/26 15:03 android14-6.1 d7387786c269 3f86dfed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/07/21 17:05 android14-6.1 6d6afa9d3f8f b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/07/17 15:18 android14-6.1 7de5ae52b126 215bec2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/06/27 09:09 android14-6.1 74a3c59c8087 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/06/27 01:38 android14-6.1 74a3c59c8087 c6d33a01 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/06/24 01:19 android14-6.1 1a72e2f692ac edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/06/23 20:07 android14-6.1 1a72e2f692ac edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/14 05:54 android14-6.1 cfa154389a65 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
* Struck through repros no longer work on HEAD.