syzbot


BUG: soft lockup in garp_join_timer

Status: auto-obsoleted due to no activity on 2023/03/01 00:21
Reported-by: syzbot+c8fad93d6042c360ee83@syzkaller.appspotmail.com
First crash: 1050d, last: 542d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in garp_join_timer net 1 1192d 1192d 0/26 auto-closed as invalid on 2021/04/19 17:30
linux-5.15 BUG: soft lockup in garp_join_timer 1 222d 222d 0/3 auto-obsoleted due to no activity on 2023/12/25 14:40
upstream INFO: rcu detected stall in garp_join_timer (2) net 25 831d 1531d 0/26 auto-closed as invalid on 2022/05/15 13:33
linux-4.19 INFO: rcu detected stall in garp_join_timer 7 1538d 1570d 0/1 auto-closed as invalid on 2020/06/07 13:30
upstream INFO: rcu detected stall in garp_join_timer net 1 1610d 1610d 0/26 closed as invalid on 2019/11/29 14:24
linux-4.14 INFO: rcu detected stall in garp_join_timer 4 1534d 1549d 0/1 auto-closed as invalid on 2020/06/12 11:13
linux-4.19 INFO: rcu detected stall in garp_join_timer (2) 1 1405d 1405d 0/1 auto-closed as invalid on 2020/10/18 11:34
linux-4.19 INFO: rcu detected stall in garp_join_timer (3) 1 1198d 1198d 0/1 auto-closed as invalid on 2021/05/13 13:34

Sample crash report:
device bridge644 entered promiscuous mode
watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [syz-executor.4:15204]
Modules linked in:
irq event stamp: 3581275
hardirqs last  enabled at (3581274): [<ffffffff81003ce4>] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (3581275): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (5160): [<ffffffff86d86716>] tcp_sendmsg+0x36/0x40 net/ipv4/tcp.c:1463
softirqs last disabled at (6313): [<ffffffff813927d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (6313): [<ffffffff813927d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 1 PID: 15204 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xa3/0xe0 kernel/locking/spinlock.c:184
Code: 48 c7 c0 88 82 f1 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 2f 48 83 3d 7c 31 d8 01 00 74 15 48 89 df 57 9d <0f> 1f 44 00 00 eb b2 e8 fb eb e6 f8 eb c0 0f 0b 0f 0b 48 c7 c7 88
RSP: 0018:ffff8880ba107cb0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3051 RBX: 0000000000000286 RCX: 1ffff110062a45a7
RDX: dffffc0000000000 RSI: ffff888031522d18 RDI: 0000000000000286
RBP: ffff888038e9eea8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff888038e9eea8 R14: 0000000000000000 R15: 0000000000000000
FS:  00007fc734706700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe763ffd78 CR3: 0000000009e6d000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 spin_unlock_irqrestore include/linux/spinlock.h:384 [inline]
 skb_dequeue+0x125/0x180 net/core/skbuff.c:2839
 garp_queue_xmit net/802/garp.c:274 [inline]
 garp_join_timer+0xc3/0xf0 net/802/garp.c:426
 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338
 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375
 __run_timers kernel/time/timer.c:1696 [inline]
 run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709
 __do_softirq+0x265/0x980 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x215/0x260 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:lock_acquire+0x1ec/0x3c0 kernel/locking/lockdep.c:3911
Code: 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 b7 01 00 00 48 83 3d 09 2e a6 08 00 0f 84 2a 01 00 00 48 8b 7c 24 08 57 9d <0f> 1f 44 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b
RSP: 0018:ffff888099a67668 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3051 RBX: ffff888031522440 RCX: f571382d69872f36
RDX: dffffc0000000000 RSI: 00000000580e209d RDI: 0000000000000286
RBP: ffffffff89f85fa0 R08: 000000005eaf3dab R09: 0000000000000001
R10: ffff888031522cf0 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000002 R15: 0000000000000000
 rcu_lock_acquire include/linux/rcupdate.h:242 [inline]
 rcu_read_lock include/linux/rcupdate.h:627 [inline]
 lock_page_memcg+0x36/0x220 mm/memcontrol.c:1908
 page_remove_file_rmap+0x36/0xa30 mm/rmap.c:1212
 page_remove_rmap+0xe5/0x120 mm/rmap.c:1297
 zap_pte_range mm/memory.c:1350 [inline]
 zap_pmd_range mm/memory.c:1463 [inline]
 zap_pud_range mm/memory.c:1492 [inline]
 zap_p4d_range mm/memory.c:1513 [inline]
 unmap_page_range+0x147d/0x2c50 mm/memory.c:1534
 unmap_single_vma+0x198/0x300 mm/memory.c:1579
 unmap_vmas+0xa9/0x180 mm/memory.c:1609
 exit_mmap+0x2b9/0x530 mm/mmap.c:3093
 __mmput kernel/fork.c:1016 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1037
 exit_mm kernel/exit.c:549 [inline]
 do_exit+0xaec/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fc7361935a9
Code: Bad RIP value.
RSP: 002b:00007fc734706168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffe0 RBX: 00007fc7362b3f80 RCX: 00007fc7361935a9
RDX: 0000000000000012 RSI: 0000000020000100 RDI: 0000000000000006
RBP: 00007fc7361ee7b0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe7640042f R14: 00007fc734706300 R15: 0000000000022000
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 15266 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
RIP: 0010:__preempt_count_sub arch/x86/include/asm/preempt.h:81 [inline]
RIP: 0010:preempt_count_sub+0x5a/0x150 kernel/sched/core.c:3273
Code: 00 8b 0d 59 ca e2 0b 85 c9 75 18 65 8b 05 3e 72 c0 7e 25 ff ff ff 7f 39 c3 7f 1a 81 fb fe 00 00 00 76 6a 65 8b 05 26 72 c0 7e <f7> db 65 01 1d 1d 72 c0 7e 5b c3 e8 b6 e4 31 02 85 c0 74 f5 48 c7
RSP: 0018:ffff8880ba007938 EFLAGS: 00000002
RAX: 0000000000010102 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff8880ba024cc0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: ffffffff8c66501b R12: 0000000000010101
R13: ffff888026b7d518 R14: ffff8880ba024d40 R15: dffffc0000000000
FS:  00007fe45aab8700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32b27000 CR3: 0000000097ec7000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
 _raw_spin_unlock_irqrestore+0x66/0xe0 kernel/locking/spinlock.c:184
 __run_hrtimer kernel/time/hrtimer.c:1463 [inline]
 __hrtimer_run_queues+0x397/0xe60 kernel/time/hrtimer.c:1527
 hrtimer_interrupt+0x326/0x9e0 kernel/time/hrtimer.c:1585
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline]
 smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
RIP: 0010:__ieee80211_beacon_get+0x19e/0x1a30 net/mac80211/tx.c:4289
Code: 15 00 00 4c 8b a3 88 f5 ff ff 31 ff 41 83 e4 01 44 89 e6 e8 c4 b4 bf f9 45 84 e4 0f 84 f4 07 00 00 e8 86 b3 bf f9 4c 8b 34 24 <31> ff 4c 89 f6 e8 08 b5 bf f9 4d 85 f6 0f 84 d8 07 00 00 e8 6a b3
RSP: 0018:ffff8880ba007c18 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff13
RAX: ffff888049d84500 RBX: ffff8880406aa4f8 RCX: ffffffff87a2d1dc
RDX: 0000000000000100 RSI: ffffffff87a2d1ea RDI: 0000000000000001
RBP: ffff888040599b00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
R13: ffff888040599b00 R14: ffff888094f96958 R15: ffff8880ba007d60
 ieee80211_beacon_get_tim+0x88/0x890 net/mac80211/tx.c:4463
 ieee80211_beacon_get include/net/mac80211.h:4484 [inline]
 mac80211_hwsim_beacon_tx+0xff/0x680 drivers/net/wireless/mac80211_hwsim.c:1577
 __iterate_interfaces+0x2e1/0x4a0 net/mac80211/util.c:614
 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:650
 mac80211_hwsim_beacon+0xc9/0x190 drivers/net/wireless/mac80211_hwsim.c:1615
 __tasklet_hrtimer_trampoline+0x29/0xa0 kernel/softirq.c:601
 tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522
 __do_softirq+0x265/0x980 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x215/0x260 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:compound_head include/linux/page-flags.h:144 [inline]
RIP: 0010:PageAnon include/linux/page-flags.h:418 [inline]
RIP: 0010:page_remove_rmap+0x35/0x120 mm/rmap.c:1296
Code: 89 f3 e8 3e 52 d2 ff 48 8d 7d 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 cf 00 00 00 4c 8b 75 08 <31> ff 49 89 ec 4d 89 f5 41 83 e5 01 4c 89 ee e8 97 53 d2 ff 4d 85
RSP: 0018:ffff888060e07740 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff818ba030
RDX: 1ffffd40004d74e9 RSI: ffffffff81903332 RDI: ffffea00026ba748
RBP: ffffea00026ba740 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: dead000000000100
R13: ffffea00026ba740 R14: dead000000000100 R15: 00007fe45b4aa000
 zap_pte_range mm/memory.c:1350 [inline]
 zap_pmd_range mm/memory.c:1463 [inline]
 zap_pud_range mm/memory.c:1492 [inline]
 zap_p4d_range mm/memory.c:1513 [inline]
 unmap_page_range+0x147d/0x2c50 mm/memory.c:1534
 unmap_single_vma+0x198/0x300 mm/memory.c:1579
 unmap_vmas+0xa9/0x180 mm/memory.c:1609
 exit_mmap+0x2b9/0x530 mm/mmap.c:3093
 __mmput kernel/fork.c:1016 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1037
 exit_mm kernel/exit.c:549 [inline]
 do_exit+0xaec/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fe45c5455a9
Code: Bad RIP value.
RSP: 002b:00007fe45aab8168 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffea RBX: 00007fe45c665f80 RCX: 00007fe45c5455a9
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 000000002001d000
RBP: 00007fe45c5a07b0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc112c494f R14: 00007fe45aab8300 R15: 0000000000022000

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/01 00:21 linux-4.19.y 3f8a27f9e27b 2a71366b .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2022/09/14 14:32 linux-4.19.y 3f8a27f9e27b b884348d .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2022/08/27 11:11 linux-4.19.y 3f8a27f9e27b 07177916 .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2022/08/10 04:40 linux-4.19.y 3f8a27f9e27b c2a623d6 .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2022/07/28 03:34 linux-4.19.y 3f8a27f9e27b fb95c74d .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2022/07/15 17:52 linux-4.19.y 3f8a27f9e27b 5d921b08 .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2022/05/01 02:40 linux-4.19.y 3f8a27f9e27b 2df221f6 .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2022/04/04 18:09 linux-4.19.y 3f8a27f9e27b 5915c2cb .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2022/03/01 03:45 linux-4.19.y 3f8a27f9e27b 45a13a73 .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2022/02/20 07:38 linux-4.19.y 3f8a27f9e27b 3cd800e4 .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2022/01/23 18:54 linux-4.19.y 3f8a27f9e27b 214351e1 .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2021/12/30 01:26 linux-4.19.y 3f8a27f9e27b 6cc879d4 .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2021/12/17 18:07 linux-4.19.y 3f8a27f9e27b 44068e19 .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2021/10/31 21:15 linux-4.19.y 3f8a27f9e27b 098b5d53 .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2021/09/28 19:45 linux-4.19.y c2276d585654 d82cb927 .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2021/08/30 14:49 linux-4.19.y e23d55af0e1f 8f58a0ef .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2021/07/12 00:02 linux-4.19.y fcfbdfe9626e 8f5a7b8c .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2021/06/11 07:00 linux-4.19.y 9a2dc0e6c531 1ba81399 .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer
2022/05/03 14:47 linux-4.19.y 3f8a27f9e27b 2df221f6 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in garp_join_timer
* Struck through repros no longer work on HEAD.