syzbot


BUG: soft lockup in mrp_join_timer (2)

Status: closed as invalid on 2023/11/01 18:32
Subsystems: net
[Documentation on labels]
First crash: 212d, last: 212d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 BUG: soft lockup in mrp_join_timer 1 1136d 1136d 0/1 auto-closed as invalid on 2021/07/20 15:25
linux-4.19 BUG: soft lockup in mrp_join_timer (2) 58 433d 1111d 0/1 upstream: reported on 2021/04/16 18:29
upstream BUG: soft lockup in mrp_join_timer net 1 1344d 1340d 0/26 auto-closed as invalid on 2020/10/25 16:14
linux-4.19 BUG: soft lockup in mrp_join_timer 2 1270d 1285d 0/1 auto-closed as invalid on 2021/03/07 20:15
upstream INFO: rcu detected stall in mrp_join_timer (3) net 1 133d 133d 0/26 closed as invalid on 2024/02/01 10:31
upstream INFO: rcu detected stall in mrp_join_timer (2) net 57 787d 1536d 0/26 auto-closed as invalid on 2022/07/04 18:27

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz-executor.5:30326]
Modules linked in:
irq event stamp: 0
hardirqs last  enabled at (0): [<0000000000000000>] 0x0
hardirqs last disabled at (0): [<ffffffff814d74f7>] copy_process+0x21e7/0x7400 kernel/fork.c:2442
softirqs last  enabled at (0): [<ffffffff814d7538>] copy_process+0x2228/0x7400 kernel/fork.c:2446
softirqs last disabled at (0): [<0000000000000000>] 0x0
CPU: 0 PID: 30326 Comm: syz-executor.5 Not tainted 6.6.0-rc1-syzkaller-00204-gd1a783daa443 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x70 kernel/locking/spinlock.c:194
Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 e6 cc 25 f7 48 89 df e8 be 4b 26 f7 f7 c5 00 02 00 00 75 1f 9c 58 f6 c4 02 75 2f <bf> 01 00 00 00 e8 b5 b4 17 f7 65 8b 05 a6 01 c1 75 85 c0 74 12 5b
RSP: 0018:ffffc90000007c30 EFLAGS: 00000246
RAX: 0000000000000046 RBX: ffff888078a43108 RCX: 1ffffffff1d9cb7b
RDX: 0000000000000000 RSI: ffffffff8ae92920 RDI: ffffffff8a42bb2e
RBP: 0000000000000246 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff8ece2657 R11: 0000000000000000 R12: 0000000000000246
R13: ffff888078a43108 R14: ffff888078a430f0 R15: 0000000000000001
FS:  00007f9c36e8e6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff3f1a2bf00 CR3: 0000000076434000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
 skb_dequeue+0x126/0x180 net/core/skbuff.c:3684
 mrp_queue_xmit net/802/mrp.c:363 [inline]
 mrp_join_timer+0xa1/0x120 net/802/mrp.c:608
 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700
 expire_timers kernel/time/timer.c:1751 [inline]
 __run_timers+0x764/0xb10 kernel/time/timer.c:2022
 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035
 __do_softirq+0x218/0x965 kernel/softirq.c:553
 invoke_softirq kernel/softirq.c:427 [inline]
 __irq_exit_rcu kernel/softirq.c:632 [inline]
 irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1074
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:generic_exec_single+0xb4/0x380 kernel/smp.c:396
Code: 82 cc 51 0d 41 0f 92 c4 31 ff 44 89 e6 e8 d4 6f 0b 00 45 84 e4 0f 84 12 02 00 00 e8 96 74 0b 00 48 89 ee 89 df e8 ec fb ff ff <31> db e8 85 74 0b 00 89 d8 5b 5d 41 5c 41 5d 41 5e c3 e8 75 74 0b
RSP: 0018:ffffc900157f7ab0 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff8880488b1dc0 RSI: ffffffff817c5bb0 RDI: 0000000000000007
RBP: ffffc900157f7b60 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 000000000000f30e R12: ffffffff81adcd60
R13: ffffc900157f7c30 R14: ffffc900157f7b68 R15: ffff8880488b1dd4
 smp_call_function_single+0x1da/0x650 kernel/smp.c:636
 task_function_call+0xe9/0x170 kernel/events/core.c:120
 perf_install_in_context+0x2da/0x580 kernel/events/core.c:2871
 __do_sys_perf_event_open+0x16c0/0x2b30 kernel/events/core.c:12673
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f9c3607cae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9c36e8e0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007f9c3619bf80 RCX: 00007f9c3607cae9
RDX: ffefffffffffffff RSI: 0000000000000000 RDI: 0000000020000600
RBP: 00007f9c360c847a R08: 0000000000000009 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f9c3619bf80 R15: 00007ffc54da2d18
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 27143 Comm: kworker/u4:45 Not tainted 6.6.0-rc1-syzkaller-00204-gd1a783daa443 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:300 [inline]
RIP: 0010:smp_call_function_many_cond+0x4d6/0x1570 kernel/smp.c:844
Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 fc 4c 89 fd 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 dc 8c 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 3c 0e 00 00 8b 43 08 31
RSP: 0018:ffffc90005f0f928 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffff8880b9844180 RCX: 0000000000000000
RDX: ffff88804b5f9dc0 RSI: ffffffff817c41a4 RDI: 0000000000000005
RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffffed1017308831
R13: 0000000000000001 R14: ffff8880b993d8c0 R15: ffff8880b9844188
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbec7633000 CR3: 000000000c976000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1012
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:1998 [inline]
 text_poke_bp_batch+0x2ce/0x960 arch/x86/kernel/alternative.c:2208
 text_poke_flush arch/x86/kernel/alternative.c:2399 [inline]
 text_poke_flush arch/x86/kernel/alternative.c:2396 [inline]
 text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2406
 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
 jump_label_update+0x32e/0x410 kernel/jump_label.c:829
 static_key_enable_cpuslocked+0x1b5/0x270 kernel/jump_label.c:205
 static_key_enable+0x1a/0x20 kernel/jump_label.c:218
 toggle_allocation_gate mm/kfence/core.c:830 [inline]
 toggle_allocation_gate+0xf4/0x250 mm/kfence/core.c:822
 process_one_work+0x887/0x15d0 kernel/workqueue.c:2630
 process_scheduled_works kernel/workqueue.c:2703 [inline]
 worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784
 kthread+0x33a/0x430 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/02 05:06 bpf d1a783daa443 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce BUG: soft lockup in mrp_join_timer
* Struck through repros no longer work on HEAD.