syzbot


BUG: soft lockup in smp_call_function

Status: upstream: reported C repro on 2023/03/19 12:10
Bug presence: origin:lts-only
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+f61e8f4a149eefab5677@syzkaller.appspotmail.com
First crash: 667d, last: 2h40m
Bug presence (2)
Date Name Commit Repro Result
2024/11/11 linux-5.15.y (ToT) 3c17fc483905 C [report] INFO: rcu detected stall in smp_call_function
2024/11/11 upstream (ToT) 2d5404caa8c7 C Didn't crash
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 BUG: soft lockup in smp_call_function origin:upstream missing-backport C inconclusive 114 4d06h 288d 0/2 upstream: reported C repro on 2024/04/02 06:05
linux-4.19 BUG: soft lockup in smp_call_function C error 2 869d 998d 0/1 upstream: reported C repro on 2022/04/23 05:26
upstream BUG: soft lockup in smp_call_function kernel C done 1389 6h07m 1647d 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 102 5h08m 669d 0/3 upstream: reported C repro on 2023/03/18 00:36
android-54 BUG: soft lockup in smp_call_function 1 1166d 1166d 0/2 auto-closed as invalid on 2022/03/05 18:04
linux-4.14 BUG: soft lockup in smp_call_function C 1 695d 998d 0/1 upstream: reported C repro on 2022/04/23 04:43
android-5-15 BUG: soft lockup in smp_call_function origin:upstream C error inconclusive 940 15d 681d 0/2 upstream: reported C repro on 2023/03/05 21:20
android-54 BUG: soft lockup in smp_call_function (2) C 23 55d 353d 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 5d12h 542d 0/2 upstream: reported C repro on 2023/07/22 22:59
upstream INFO: rcu detected stall in smp_call_function perf C 107 1376d 1631d 20/28 fixed on 2021/04/13 06:26
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/12/14 16:32 17m retest repro linux-5.15.y report log
2024/12/14 12:58 17m retest repro linux-5.15.y report log
2024/11/06 11:57 18m retest repro linux-5.15.y OK log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/05/16 21:05 1m fix candidate upstream error job log
2024/03/26 04:25 3m fix candidate upstream error job log
2024/01/21 18:14 0m fix candidate upstream error job log
2023/12/17 05:33 0m fix candidate upstream error job log
2023/11/12 14:10 1m fix candidate upstream error job log

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-....: (344 ticks this GP) idle=efb/1/0x4000000000000002 softirq=6038/6038 fqs=5250 
	(detected by 1, t=10502 jiffies, g=7169, q=30)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 3737 Comm: syz-executor375 Not tainted 5.15.146-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:rcu_read_unlock_special+0xc3/0x520 kernel/rcu/tree_plugin.h:671
Code: 3a 09 00 00 42 c6 44 3a 0b 00 65 48 8b 04 25 28 00 00 00 48 3b 84 24 80 00 00 00 0f 85 59 04 00 00 48 8d 65 d8 5b 41 5c 41 5d <41> 5e 41 5f 5d c3 49 89 fd 4c 8d 74 24 60 4c 89 f3 48 c1 eb 03 80
RSP: 0018:ffffc90000006e88 EFLAGS: 00000046
RAX: 8135b38e4119b700 RBX: 1ffff11002cf3087 RCX: ffffffff816ba137
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff888016798000
RBP: ffffc90000006e98 R08: dffffc0000000000 R09: ffffed1002cf3001
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88801679843c R14: ffffc90000006e00 R15: 1ffff92000000dbc
FS:  000055555580b380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200003c0 CR3: 000000006f454000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 __rcu_read_unlock+0x92/0x100 kernel/rcu/tree_plugin.h:422
 rcu_read_unlock include/linux/rcupdate.h:728 [inline]
 __perf_event_output kernel/events/core.c:7728 [inline]
 perf_event_output_forward+0x292/0x310 kernel/events/core.c:7737
 __perf_event_overflow+0x35d/0x530 kernel/events/core.c:9432
 perf_swevent_overflow kernel/events/core.c:9508 [inline]
 perf_swevent_event+0x4c5/0x550 kernel/events/core.c:9546
 perf_tp_event+0x363/0xc40 kernel/events/core.c:9964
 perf_trace_run_bpf_submit+0xf7/0x1d0 kernel/events/core.c:9938
 perf_trace_preemptirq_template+0x31d/0x430 include/trace/events/preemptirq.h:14
 trace_irq_enable_rcuidle+0x10e/0x190 include/trace/events/preemptirq.h:40
 trace_hardirqs_on+0x57/0x80 kernel/trace/trace_preemptirq.c:44
 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:664
RIP: 0010:rcu_read_unlock_special+0x84/0x520 kernel/rcu/tree_plugin.h:671
Code: f1 f1 f1 00 f2 f2 f2 49 89 04 17 66 41 c7 44 17 09 f3 f3 41 c6 44 17 0b f3 65 44 8b 25 bd d0 96 7e 41 f7 c4 00 00 f0 00 74 45 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 3a 00 00 00 00 66 42 c7 44 3a
RSP: 0018:ffffc900000075a0 EFLAGS: 00000206
RAX: 8135b38e4119b700 RBX: 1ffff92000000ebc RCX: ffffffff8162ee48
RDX: dffffc0000000000 RSI: ffffffff8a8b0f80 RDI: ffffffff8ad87e00
RBP: ffffc90000007678 R08: dffffc0000000000 R09: fffffbfff1f79e32
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8c923200
R13: ffff888016798458 R14: ffffc900000075e0 R15: 1ffff92000000eb8
 __rcu_read_unlock+0x92/0x100 kernel/rcu/tree_plugin.h:422
 rcu_read_unlock include/linux/rcupdate.h:728 [inline]
 is_bpf_text_address+0x24a/0x260 kernel/bpf/core.c:723
 kernel_text_address kernel/extable.c:151 [inline]
 __kernel_text_address+0x94/0x100 kernel/extable.c:105
 unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323
 arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:38 [inline]
 kasan_set_track+0x4b/0x80 mm/kasan/common.c:46
 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360
 ____kasan_slab_free+0xd8/0x120 mm/kasan/common.c:366
 kasan_slab_free include/linux/kasan.h:230 [inline]
 slab_free_hook mm/slub.c:1705 [inline]
 slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731
 slab_free mm/slub.c:3499 [inline]
 kmem_cache_free+0x91/0x1f0 mm/slub.c:3515
 rcu_do_batch kernel/rcu/tree.c:2523 [inline]
 rcu_core+0xa15/0x1650 kernel/rcu/tree.c:2763
 __do_softirq+0x3b3/0x93a kernel/softirq.c:558
 invoke_softirq kernel/softirq.c:432 [inline]
 __irq_exit_rcu+0x155/0x240 kernel/softirq.c:637
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:generic_exec_single+0x3d3/0x4d0 kernel/smp.c:532
Code: df eb 27 e8 4f d7 0b 00 0f 0b e9 58 fd ff ff e8 43 d7 0b 00 e8 9e 35 a8 08 4d 85 ff 0f 84 5e ff ff ff e8 30 d7 0b 00 fb 31 c0 <48> c7 44 24 20 0e 36 e0 45 4b c7 04 2c 00 00 00 00 66 43 c7 44 2c
RSP: 0018:ffffc900034979e0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888016798000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003497ab0 R08: ffffffff81745252 R09: fffffbfff1f79e32
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff92000692f40 R14: 0000000000000046 R15: 0000000000000200
 smp_call_function_single+0x257/0x530 kernel/smp.c:755
 task_function_call kernel/events/core.c:120 [inline]
 perf_install_in_context+0x6b6/0xa90 kernel/events/core.c:3019
 __do_sys_perf_event_open kernel/events/core.c:12672 [inline]
 __se_sys_perf_event_open+0x3608/0x4510 kernel/events/core.c:12266
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fd32d8edf49
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 18 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff4b1ab488 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fd32d8edf49
RDX: bfffffffffffffff RSI: 0000000000000000 RDI: 0000000020000180
RBP: 0000000000000000 R08: 0000000000000000 R09: 000000005580c610
R10: 00000000ffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 3.285 msecs

Crashes (184):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/14 06:19 linux-5.15.y 26c690eff0a5 551587c1 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in smp_call_function
2024/11/18 08:35 linux-5.15.y 0a51d2d4527b cfe3a04a .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/01/13 23:54 linux-5.15.y 26c690eff0a5 551587c1 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in smp_call_function
2025/01/09 01:35 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2025/01/08 21:38 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2025/01/05 21:40 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2025/01/04 22:56 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/11/30 02:16 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/11/13 05:30 linux-5.15.y 3c17fc483905 62026c85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/11/10 19:21 linux-5.15.y 3c17fc483905 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/11/10 13:34 linux-5.15.y 3c17fc483905 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/10/22 21:11 linux-5.15.y 74cdd62cb470 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/10/22 15:56 linux-5.15.y 74cdd62cb470 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/10/21 20:31 linux-5.15.y 584a40a22cb9 f1e4447c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/10/21 07:59 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/10/20 22:32 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/10/20 01:52 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/10/08 00:49 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/10/06 17:04 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/10/06 13:35 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/10/05 22:17 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/10/05 14:59 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/10/02 15:51 linux-5.15.y 3a5928702e71 02f9582a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/09/30 20:52 linux-5.15.y 3a5928702e71 bbd4e0a4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/09/29 14:46 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/09/27 22:42 linux-5.15.y 3a5928702e71 440b26ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/09/27 07:24 linux-5.15.y 3a5928702e71 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/09/23 19:09 linux-5.15.y 3a5928702e71 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/09/23 15:00 linux-5.15.y 3a5928702e71 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/09/22 02:37 linux-5.15.y 3a5928702e71 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/09/20 10:56 linux-5.15.y 3a5928702e71 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/09/17 12:59 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/09/15 14:06 linux-5.15.y 3a5928702e71 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/09/09 03:24 linux-5.15.y 14e468424d3e 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/09/05 06:32 linux-5.15.y 14e468424d3e dfbe2ed4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/08/31 00:53 linux-5.15.y fa93fa65db6e 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/08/30 23:31 linux-5.15.y fa93fa65db6e 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/08/30 11:45 linux-5.15.y fa93fa65db6e ee2602b8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/08/28 00:16 linux-5.15.y fa93fa65db6e 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/08/27 18:21 linux-5.15.y fa93fa65db6e 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/08/25 23:03 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/08/20 09:01 linux-5.15.y fa93fa65db6e 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/08/18 18:18 linux-5.15.y 7e89efd3ae1c dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/08/13 13:01 linux-5.15.y 7e89efd3ae1c 7b0f4b46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/08/13 00:53 linux-5.15.y 7e89efd3ae1c 7b0f4b46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2024/08/11 01:37 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2023/06/22 05:03 linux-5.15.y f67653019430 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in smp_call_function
2023/03/19 12:10 linux-5.15.y 8020ae3c051d 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: soft lockup in smp_call_function
2025/01/15 09:00 linux-5.15.y 4735586da88e 7315a7cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in smp_call_function
2024/11/30 05:40 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in smp_call_function
2024/09/02 22:34 linux-5.15.y fa93fa65db6e 8045124c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in smp_call_function
2024/09/02 18:50 linux-5.15.y fa93fa65db6e 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in smp_call_function
* Struck through repros no longer work on HEAD.