syzbot


BUG: soft lockup in smp_call_function

Status: upstream: reported C repro on 2023/07/22 22:59
Reported-by: syzbot+a47a3be3b3669f03dbd0@syzkaller.appspotmail.com
First crash: 237d, last: 36d
Cause bisection: failed (error log, bisect log)
  
Similar bugs (9)
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 553d 682d 0/1 upstream: reported C repro on 2022/04/23 05:26
upstream BUG: soft lockup in smp_call_function kernel C done 947 2d10h 1331d 0/26 upstream: reported C repro on 2020/07/12 23:02
linux-6.1 BUG: soft lockup in smp_call_function 34 11d 353d 0/3 upstream: reported on 2023/03/18 00:36
android-54 BUG: soft lockup in smp_call_function 1 850d 850d 0/2 auto-closed as invalid on 2022/03/05 18:04
linux-4.14 BUG: soft lockup in smp_call_function C 1 379d 682d 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 69 5d00h 351d 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 6 23d 365d 0/2 upstream: reported C repro on 2023/03/05 21:20
android-54 BUG: soft lockup in smp_call_function (2) C 1 22d 37d 0/2 upstream: reported C repro on 2024/01/28 03:58
upstream INFO: rcu detected stall in smp_call_function perf C 107 1059d 1314d 20/26 fixed on 2021/04/13 06:26
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/08/26 16:11 27m retest repro android13-5.10-lts report log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/01/28 13:58 1h42m bisect fix android13-5.10-lts job log (0) log
2023/12/27 20:08 1h15m bisect fix android13-5.10-lts job log (0) log
2023/11/27 03:16 1h15m bisect fix android13-5.10-lts job log (0) log
2023/10/27 16:05 1h15m bisect fix android13-5.10-lts job log (0) log
2023/09/26 09:47 1h15m bisect fix android13-5.10-lts job log (0) log

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [kworker/u4:2:110]
Modules linked in:
CPU: 0 PID: 110 Comm: kworker/u4:2 Not tainted 5.10.186-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:229 [inline]
RIP: 0010:smp_call_function_single+0x27d/0x510 kernel/smp.c:517
Code: 00 44 8b 6c 24 48 44 89 ee 83 e6 01 31 ff e8 ca e7 0a 00 41 83 e5 01 75 0a e8 0f e4 0a 00 e9 eb 00 00 00 f3 90 42 0f b6 04 23 <84> c0 75 15 f7 44 24 48 01 00 00 00 0f 84 cd 00 00 00 e8 ec e3 0a
RSP: 0018:ffffc90000c97720 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 1ffff92000192eed RCX: ffff88810e52a780
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000c97810 R08: ffffffff815fa3c6 R09: ffffed103ee2aec9
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000001 R14: ffffc90000c97768 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f04813789f8 CR3: 000000000660f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 smp_call_function_many_cond+0x94e/0xa30 kernel/smp.c:653
 smp_call_function_many kernel/smp.c:716 [inline]
 smp_call_function kernel/smp.c:738 [inline]
 on_each_cpu+0xa8/0x1a0 kernel/smp.c:837
 text_poke_sync arch/x86/kernel/alternative.c:1300 [inline]
 text_poke_bp_batch+0x1d4/0x600 arch/x86/kernel/alternative.c:1491
 text_poke_flush arch/x86/kernel/alternative.c:1659 [inline]
 text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1666
 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:126
 __jump_label_update+0x36a/0x380 kernel/jump_label.c:459
 jump_label_update+0x379/0x400 kernel/jump_label.c:825
 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:624
 process_one_work+0x6dc/0xbd0 kernel/workqueue.c:2298
 worker_thread+0xaea/0x1510 kernel/workqueue.c:2444
 kthread+0x34b/0x3d0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/22 22:47 android13-5.10-lts 59b65efafe20 27cbe77f .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in smp_call_function
2023/07/22 16:45 android13-5.10-lts 59b65efafe20 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in smp_call_function
2023/07/11 08:01 android13-5.10-lts 59b65efafe20 52ae002a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in smp_call_function
* Struck through repros no longer work on HEAD.