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: 185d, last: 9d08h
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 (2)
Date Name Commit Repro Result
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
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 766d 895d 0/1 upstream: reported C repro on 2022/04/23 05:26
upstream BUG: soft lockup in smp_call_function kernel C done 1218 7h26m 1544d 0/28 upstream: reported C repro on 2020/07/12 23:02
linux-6.1 BUG: soft lockup in smp_call_function 77 25d 566d 0/3 upstream: reported on 2023/03/18 00:36
android-54 BUG: soft lockup in smp_call_function 1 1064d 1064d 0/2 auto-closed as invalid on 2022/03/05 18:04
linux-4.14 BUG: soft lockup in smp_call_function C 1 592d 895d 0/1 upstream: reported C repro on 2022/04/23 04:43
linux-5.15 BUG: soft lockup in smp_call_function origin:upstream missing-backport C error 162 2d02h 565d 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 937 7d14h 578d 0/2 upstream: reported C repro on 2023/03/05 21:20
android-54 BUG: soft lockup in smp_call_function (2) C 23 23d 250d 0/2 upstream: reported C repro on 2024/01/28 03:58
android-5-10 BUG: soft lockup in smp_call_function C error 79 13d 439d 0/2 upstream: reported C repro on 2023/07/22 22:59
upstream INFO: rcu detected stall in smp_call_function perf C 107 1273d 1528d 20/28 fixed on 2021/04/13 06:26
Last patch testing requests (5)
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
2024/09/09 22:58 14m retest repro android14-6.1 OK log
2024/07/16 19:46 13m retest repro android14-6.1 report log
2024/07/16 19:46 10m retest repro android14-6.1 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 (73):
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/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
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/06/23 13:49 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/18 02:18 android14-6.1 bda57805ab9f ce6011bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/06/17 22:49 android14-6.1 de6fb073c606 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/06/16 18:10 android14-6.1 25216be1ac5e f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/06/16 13:39 android14-6.1 25216be1ac5e f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/06/16 04:00 android14-6.1 25216be1ac5e f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/06/14 22:20 android14-6.1 25216be1ac5e f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/06/14 14:00 android14-6.1 4c45e2f34089 8d849073 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/06/14 11:21 android14-6.1 4c45e2f34089 8d849073 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/06/14 02:43 android14-6.1 7c734edeaafd a9616ff5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/06/11 10:35 android14-6.1 ec795e4eaa8a b7d9eb04 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/06/10 15:31 android14-6.1 ac9706483e98 048c640a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/06/09 18:50 android14-6.1 ac9706483e98 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/06/07 00:40 android14-6.1 bfacfd198eca 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/06/01 11:43 android14-6.1 74c507aab139 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/05/31 17:37 android14-6.1 6b75fd483519 0c378259 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/05/31 09:48 android14-6.1 6b75fd483519 0c378259 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/05/27 20:19 android14-6.1 68c821783c76 761766e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/05/26 05:51 android14-6.1 68c821783c76 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/05/26 04:25 android14-6.1 68c821783c76 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/05/21 14:00 android14-6.1 34a15d350726 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/05/19 22:49 android14-6.1 bd552fcbbd0f c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/05/19 07:32 android14-6.1 4ed706c20a76 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/05/15 10:10 android14-6.1 274e3e96961d 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/05/11 03:57 android14-6.1 4d55129aea65 f7c35481 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/05/09 04:58 android14-6.1 fae94bc4e7ae 20bf80e1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/05/06 07:27 android14-6.1 1794308d463f 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/05/05 19:22 android14-6.1 1794308d463f 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/05/04 23:13 android14-6.1 1794308d463f 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/05/04 21:39 android14-6.1 1794308d463f 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/05/04 12:36 android14-6.1 1794308d463f 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/05/01 23:18 android14-6.1 6657c436ed73 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/29 03:42 android14-6.1 08cc4037cf32 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/28 22:45 android14-6.1 08cc4037cf32 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/04/26 14:17 android14-6.1 fa87a072a7fc 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/26 09:56 android14-6.1 fa87a072a7fc 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/04/26 05:44 android14-6.1 fa87a072a7fc 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/25 13:43 android14-6.1 c61278bb705a 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/24 23:47 android14-6.1 c61278bb705a 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/24 12:08 android14-6.1 d0c6724b0f6f 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/22 08:37 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/22 01:10 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/21 05:11 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/18 20:15 android14-6.1 692e3553d2e9 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/16 01:24 android14-6.1 26f2c9be9ebe b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/15 00:43 android14-6.1 b76ed1185975 c8349e48 .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 06:32 android14-6.1 cfa154389a65 c8349e48 .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
2024/04/14 03:29 android14-6.1 cfa154389a65 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/13 09:52 android14-6.1 cfa154389a65 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/13 00:12 android14-6.1 cfa154389a65 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/12 01:30 android14-6.1 ca4095789fda 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/04/08 19:14 android14-6.1 56ba301cac0b 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/07 06:27 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
2024/04/02 04:14 android14-6.1 931187cc187d 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in smp_call_function
2024/04/01 21:05 android14-6.1 931187cc187d 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in smp_call_function
* Struck through repros no longer work on HEAD.