syzbot


BUG: soft lockup in garp_join_timer (2)

Status: closed as invalid on 2025/02/20 20:55
Subsystems: net
[Documentation on labels]
First crash: 67d, last: 49d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in garp_join_timer net 1 1512d 1512d 0/28 auto-closed as invalid on 2021/04/19 17:30
linux-5.15 BUG: soft lockup in garp_join_timer 1 542d 542d 0/3 auto-obsoleted due to no activity on 2023/12/25 14:40
linux-4.19 BUG: soft lockup in garp_join_timer 19 862d 1370d 0/1 auto-obsoleted due to no activity on 2023/03/01 00:21
upstream INFO: rcu detected stall in garp_join_timer (3) net 3 249d 319d 0/28 auto-obsoleted due to no activity on 2024/10/03 12:56
upstream INFO: rcu detected stall in garp_join_timer (2) net 25 1151d 1851d 0/28 auto-closed as invalid on 2022/05/15 13:33

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 143s! [syz.2.1339:10380]
Modules linked in:
irq event stamp: 24114861
hardirqs last  enabled at (24114860): [<ffffffff8bc90a53>] irqentry_exit+0x63/0x90 kernel/entry/common.c:357
hardirqs last disabled at (24114861): [<ffffffff8bc8e65e>] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049
softirqs last  enabled at (24085438): [<ffffffff8161e427>] __do_softirq kernel/softirq.c:595 [inline]
softirqs last  enabled at (24085438): [<ffffffff8161e427>] invoke_softirq kernel/softirq.c:435 [inline]
softirqs last  enabled at (24085438): [<ffffffff8161e427>] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
softirqs last disabled at (24085441): [<ffffffff8161e427>] __do_softirq kernel/softirq.c:595 [inline]
softirqs last disabled at (24085441): [<ffffffff8161e427>] invoke_softirq kernel/softirq.c:435 [inline]
softirqs last disabled at (24085441): [<ffffffff8161e427>] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
CPU: 0 UID: 0 PID: 10380 Comm: syz.2.1339 Not tainted 6.13.0-rc7-syzkaller-00019-gc45323b7560e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:get_random_u32+0x5a0/0xab0
Code: 4c 21 f3 0f 85 9a 00 00 00 e8 9c 01 4c fc 48 8b 5c 24 20 4d 85 ff 75 07 e8 8d 01 4c fc eb 06 e8 86 01 4c fc fb 48 8b 44 24 28 <42> 0f b6 04 28 84 c0 0f 85 a0 01 00 00 8b 84 24 60 01 00 00 48 c7
RSP: 0018:ffffc90000007960 EFLAGS: 00000246
RAX: 1ffff92000000f58 RBX: 1ffff92000000f34 RCX: ffff888057e88000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000007b40 R08: ffffffff855380c6 R09: 1ffffffff2854b2e
R10: dffffc0000000000 R11: fffffbfff2854b2f R12: 1ffff110170c7585
R13: dffffc0000000000 R14: 0000000000000046 R15: 0000000000000200
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c30b0b3 CR3: 000000000e736000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 __get_random_u32_below+0x14/0x90 drivers/char/random.c:567
 get_random_u32_below include/linux/random.h:63 [inline]
 garp_join_timer_arm net/802/garp.c:411 [inline]
 garp_join_timer+0xd5/0x120 net/802/garp.c:425
 call_timer_fn+0x187/0x650 kernel/time/timer.c:1793
 expire_timers kernel/time/timer.c:1844 [inline]
 __run_timers kernel/time/timer.c:2418 [inline]
 __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2430
 run_timer_base kernel/time/timer.c:2439 [inline]
 run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2449
 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561
 __do_softirq kernel/softirq.c:595 [inline]
 invoke_softirq kernel/softirq.c:435 [inline]
 __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678
 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
 sysvec_irq_work+0xa3/0xc0 arch/x86/kernel/irq_work.c:17
 </IRQ>
 <TASK>
 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738
RIP: 0010:raw_spin_rq_unlock_irq+0x19/0x90 kernel/sched/sched.h:1536
Code: 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 57 41 56 53 48 89 fb 66 90 48 89 df e8 fe f2 5b 0a e8 79 73 37 00 fb 5b <41> 5e 41 5f c3 cc cc cc cc f3 0f 1e fa 49 bf 00 00 00 00 00 fc ff
RSP: 0018:ffffc90004b1f248 EFLAGS: 00000286
RAX: 4a3002b21ba1e400 RBX: ffff8880b863e8c0 RCX: ffffffff817b387a
RDX: dffffc0000000000 RSI: ffffffff8c0a98e0 RDI: ffffffff8c5fb220
RBP: ffffc90004b1f470 R08: ffffffff942a5967 R09: 1ffffffff2854b2c
R10: dffffc0000000000 R11: fffffbfff2854b2d R12: ffffc90004b1f3f0
R13: 1ffff110170c7ed9 R14: ffff888057e88000 R15: ffff888057e88770
 __schedule+0x1a09/0x4c30 kernel/sched/core.c:6760
 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078
 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:kernfs_put+0x362/0x370 fs/kernfs/dir.c:589
Code: 89 de 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d e9 f3 a3 42 ff e8 de df 5c ff eb 05 e8 d7 df 5c ff 48 83 c4 18 5b 41 5c 41 5d <41> 5e 41 5f 5d c3 cc cc cc cc 0f 1f 40 00 90 90 90 90 90 90 90 90
RSP: 0018:ffffc90004b1f608 EFLAGS: 00000296
RAX: ffffffff8242a255 RBX: 0000000000000000 RCX: ffff888057e88000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff82429f92 R09: 1ffff110068fcfe0
R10: dffffc0000000000 R11: ffffed10068fcfe1 R12: ffff888032068b88
R13: dffffc0000000000 R14: ffff888032068b00 R15: ffff8880600b52c0
 dpm_sysfs_remove+0x5d/0xc0 drivers/base/power/sysfs.c:834
 device_del+0x291/0x9b0 drivers/base/core.c:3829
 device_unregister+0x20/0xc0 drivers/base/core.c:3895
 hci_conn_cleanup net/bluetooth/hci_conn.c:174 [inline]
 hci_conn_del+0x8c4/0xc40 net/bluetooth/hci_conn.c:1164
 hci_conn_hash_flush+0x258/0x350 net/bluetooth/hci_conn.c:2699
 hci_dev_close_sync+0xa42/0x11c0 net/bluetooth/hci_sync.c:5213
 hci_dev_do_close net/bluetooth/hci_core.c:482 [inline]
 hci_unregister_dev+0x20b/0x510 net/bluetooth/hci_core.c:2697
 vhci_release+0x80/0xd0 drivers/bluetooth/hci_vhci.c:664
 __fput+0x23c/0xa50 fs/file_table.c:450
 task_work_run+0x24f/0x310 kernel/task_work.c:239
 exit_task_work include/linux/task_work.h:43 [inline]
 do_exit+0xa2a/0x28e0 kernel/exit.c:938
 do_group_exit+0x207/0x2c0 kernel/exit.c:1087
 get_signal+0x16b2/0x1750 kernel/signal.c:3017
 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
 irqentry_exit_to_user_mode+0x7e/0x250 kernel/entry/common.c:231
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0033:0x7fd570c45983
Code: Unable to access opcode bytes at 0x7fd570c45959.
RSP: 002b:00007ffeaff03ea8 EFLAGS: 00000206
RAX: 0000000081cfbec0 RBX: 00007fd571aa5720 RCX: ffffffff81cfbec0
RDX: 0000000000001ec0 RSI: ffffffff81cfbec0 RDI: 0000000000000018
RBP: ffffffff81cfbec0 R08: 00007fd570f60000 R09: 00007fd570f62000
R10: 0000000081cfbec4 R11: 0000000000000018 R12: 0000000000000018
R13: 0000000000000000 R14: ffffffff81cfb8b5 R15: 000000000000a805
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 1144 Comm: kworker/u8:6 Not tainted 6.13.0-rc7-syzkaller-00019-gc45323b7560e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline]
RIP: 0010:smp_call_function_many_cond+0x19f3/0x2c60 kernel/smp.c:884
Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 c6 e6 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 71 e2 0b 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 55 e2
RSP: 0018:ffffc90003fef6e0 EFLAGS: 00000293
RAX: ffffffff8193a01b RBX: 1ffff110170c8c89 RCX: ffff8880270cbc00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003fef8e0 R08: ffffffff81939fea R09: 1ffffffff2854b10
R10: dffffc0000000000 R11: fffffbfff2854b11 R12: dffffc0000000000
R13: ffff8880b8646448 R14: ffff8880b873fac0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe52c6a7d60 CR3: 000000000e736000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:2114 [inline]
 text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2324
 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline]
 text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2522
 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210
 static_key_enable+0x1a/0x20 kernel/jump_label.c:223
 toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:849
 process_one_work kernel/workqueue.c:3236 [inline]
 process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3317
 worker_thread+0x870/0xd30 kernel/workqueue.c:3398
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/22 05:24 bpf c45323b7560e da72ac06 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce BUG: soft lockup in garp_join_timer
2025/01/04 04:21 bpf ccb98ccef0e5 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce BUG: soft lockup in garp_join_timer
* Struck through repros no longer work on HEAD.