syzbot


BUG: soft lockup in garp_join_timer

Status: auto-closed as invalid on 2021/04/19 17:30
Subsystems: net
[Documentation on labels]
First crash: 1191d, last: 1191d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: soft lockup in garp_join_timer 1 221d 221d 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 541d 1049d 0/1 auto-obsoleted due to no activity on 2023/03/01 00:21

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 133s! [syz-executor.4:17597]
Modules linked in:
irq event stamp: 33521041
hardirqs last  enabled at (33521040): [<ffffffff88fbf2d2>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
hardirqs last  enabled at (33521040): [<ffffffff88fbf2d2>] _raw_spin_unlock_irqrestore+0x42/0x50 kernel/locking/spinlock.c:191
hardirqs last disabled at (33521041): [<ffffffff88f9845c>] sysvec_apic_timer_interrupt+0xc/0x100 arch/x86/kernel/apic/apic.c:1096
softirqs last  enabled at (22813156): [<ffffffff89000eaf>] asm_call_irq_on_stack+0xf/0x20
softirqs last disabled at (22813159): [<ffffffff89000eaf>] asm_call_irq_on_stack+0xf/0x20
CPU: 1 PID: 17597 Comm: syz-executor.4 Not tainted 5.11.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x25/0x50 kernel/locking/spinlock.c:191
Code: f8 5d c3 66 90 55 48 89 fd 48 83 c7 18 53 48 89 f3 48 8b 74 24 10 e8 7a d2 5c f8 48 89 ef e8 42 87 5d f8 f6 c7 02 75 1a 53 9d <bf> 01 00 00 00 e8 f1 8d 51 f8 65 8b 05 fa fc 05 77 85 c0 74 0a 5b
RSP: 0018:ffffc90000db0cc8 EFLAGS: 00000246
RAX: 0000000001ff7d90 RBX: 0000000000000246 RCX: ffffffff81584977
RDX: 0000000000000000 RSI: 0000000000000102 RDI: 0000000000000000
RBP: ffff8880a1fb1cb8 R08: 0000000000000001 R09: ffffffff8ed31877
R10: fffffbfff1da630e R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880a1fb1cb8 R14: ffffffff87123700 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556e348d7308 CR3: 000000001f183000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline]
 skb_dequeue+0x125/0x180 net/core/skbuff.c:3054
 garp_queue_xmit net/802/garp.c:258 [inline]
 garp_join_timer+0xc6/0xf0 net/802/garp.c:410
 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1417
 expire_timers kernel/time/timer.c:1462 [inline]
 __run_timers.part.0+0x67c/0xa50 kernel/time/timer.c:1731
 __run_timers kernel/time/timer.c:1712 [inline]
 run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1744
 __do_softirq+0x2bc/0xa29 kernel/softirq.c:343
 asm_call_irq_on_stack+0xf/0x20
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
 do_softirq_own_stack+0xaa/0xd0 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:226 [inline]
 __irq_exit_rcu kernel/softirq.c:420 [inline]
 irq_exit_rcu+0x134/0x200 kernel/softirq.c:432
 sysvec_apic_timer_interrupt+0x4d/0x100 arch/x86/kernel/apic/apic.c:1096
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:628
RIP: 0010:zap_pte_range mm/memory.c:1227 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1368 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1397 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1418 [inline]
RIP: 0010:unmap_page_range+0x9db/0x2640 mm/memory.c:1439
Code: 00 00 4c 39 fb 0f 84 39 0e 00 00 49 89 c7 49 8d 87 00 f0 ff ff 48 89 04 24 e8 61 c2 cd ff 4c 89 e8 48 c1 e8 03 42 80 3c 30 00 <0f> 85 d1 17 00 00 4d 8b 65 00 31 ff 4c 89 e3 48 83 e3 9f 48 89 de
RSP: 0018:ffffc90013427798 EFLAGS: 00000246
RAX: 1ffff110149331b5 RBX: 00007ff2d1e00000 RCX: 0000000000000000
RDX: ffff8880b0f0b780 RSI: ffffffff81a5075f RDI: 0000000000000003
RBP: ffffea00027f1c80 R08: 00007ff2d1e00000 R09: 0000000000000000
R10: ffffffff81a5073c R11: 0000000000000000 R12: ffffea00027f1cb0
R13: ffff8880a4998da8 R14: dffffc0000000000 R15: 00007ff2d1db6000
 unmap_single_vma+0x198/0x300 mm/memory.c:1484
 unmap_vmas+0x168/0x2e0 mm/memory.c:1516
 exit_mmap+0x2b1/0x5a0 mm/mmap.c:3220
 __mmput+0x122/0x470 kernel/fork.c:1083
 mmput+0x53/0x60 kernel/fork.c:1104
 exit_mm kernel/exit.c:501 [inline]
 do_exit+0xb6a/0x2ae0 kernel/exit.c:812
 do_group_exit+0x125/0x310 kernel/exit.c:922
 get_signal+0x3e9/0x20a0 kernel/signal.c:2770
 arch_do_signal_or_restart+0x2a8/0x1eb0 arch/x86/kernel/signal.c:811
 handle_signal_work kernel/entry/common.c:147 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0x148/0x250 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:302
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e219
Code: Unable to access opcode bytes at RIP 0x45e1ef.
RSP: 002b:00007ff2cf880c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffe7 RBX: 0000000000000003 RCX: 000000000045e219
RDX: 0000000020000080 RSI: 00000000c020f509 RDI: 0000000000000003
RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00000000016afb5f R14: 00007ff2cf8819c0 R15: 000000000119bf8c
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 15725 Comm: kworker/u4:8 Not tainted 5.11.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__lock_release kernel/locking/lockdep.c:5149 [inline]
RIP: 0010:lock_release+0x30a/0x710 kernel/locking/lockdep.c:5457
Code: 03 80 3c 02 00 0f 85 aa 03 00 00 49 8d bf 78 09 00 00 48 8b 1b 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 9c 03 00 00 41 8d 45 ff 49 89 9f 78 09 00 00 44 39 e0 0f 84
RSP: 0018:ffffc90009997bc8 EFLAGS: 00000046
RAX: dffffc0000000000 RBX: bef775806edbfef8 RCX: ffffc90009997c18
RDX: 1ffff1100e3c512f RSI: 0000000000000000 RDI: ffff888071e28978
RBP: 1ffff92001332f7b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000002
R13: 0000000000000003 R14: ffff888071e28980 R15: ffff888071e28000
FS:  0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c011035760 CR3: 0000000080d58000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 rcu_lock_release include/linux/rcupdate.h:264 [inline]
 rcu_read_unlock include/linux/rcupdate.h:702 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
 batadv_nc_worker+0x7a3/0xe50 net/batman-adv/network-coding.c:715
 process_one_work+0x98d/0x15f0 kernel/workqueue.c:2275
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
 kthread+0x3b1/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/19 17:22 upstream 1e2a199f6ccd 63631df1 .config console log report info ci-upstream-kasan-gce BUG: soft lockup in garp_join_timer
* Struck through repros no longer work on HEAD.