syzbot


INFO: rcu detected stall in neigh_timer_handler

Status: upstream: reported on 2024/06/06 22:02
Reported-by: syzbot+cc0a32d4a33855c0f7c7@syzkaller.appspotmail.com
First crash: 169d, last: 59d
Similar bugs (15)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in neigh_timer_handler (6) netfilter 1 1445d 1445d 0/28 auto-closed as invalid on 2021/03/09 03:20
upstream INFO: rcu detected stall in neigh_timer_handler (8) net C done done 72 104d 163d 28/28 fixed on 2024/10/21 12:45
upstream INFO: rcu detected stall in neigh_timer_handler net 1 2191d 2191d 0/28 auto-closed as invalid on 2019/05/23 06:47
upstream INFO: rcu detected stall in neigh_timer_handler (2) net 2 1900d 1902d 13/28 fixed on 2019/10/09 10:54
upstream INFO: rcu detected stall in neigh_timer_handler (4) net 1 1816d 1816d 0/28 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in neigh_timer_handler (5) net 1 1548d 1548d 0/28 auto-closed as invalid on 2020/11/26 10:25
upstream INFO: rcu detected stall in neigh_timer_handler (3) net 2 1821d 1821d 0/28 closed as invalid on 2019/11/29 14:24
upstream INFO: rcu detected stall in neigh_timer_handler (7) net 1 1320d 1320d 0/28 auto-closed as invalid on 2021/07/11 19:14
linux-4.14 INFO: rcu detected stall in neigh_timer_handler 5 1665d 1785d 0/1 auto-closed as invalid on 2020/08/30 16:21
android-5-10 BUG: soft lockup in neigh_timer_handler 2 457d 465d 0/2 auto-obsoleted due to no activity on 2023/11/22 05:43
linux-4.19 BUG: soft lockup in neigh_timer_handler 4 742d 1000d 0/1 auto-obsoleted due to no activity on 2023/03/12 06:57
linux-4.14 BUG: soft lockup in neigh_timer_handler 3 1010d 1054d 0/1 auto-closed as invalid on 2022/06/16 21:59
android-6-1 BUG: soft lockup in neigh_timer_handler 2 371d 393d 0/2 auto-obsoleted due to no activity on 2024/02/16 02:11
android-54 BUG: soft lockup in neigh_timer_handler 3 156d 167d 0/2 auto-obsoleted due to no activity on 2024/09/18 13:19
upstream BUG: soft lockup in neigh_timer_handler net 1 489d 464d 0/28 auto-obsoleted due to no activity on 2023/10/20 21:15

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2644 jiffies s: 2149 root: 0x1/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 3921 Comm: syz.1.67 Not tainted 6.1.111-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:ktime_get_update_offsets_now+0x1/0x420 kernel/time/timekeeping.c:2310
Code: 00 00 00 00 fc ff df 80 3c 08 00 74 0c 48 c7 c7 00 f2 00 8d e8 50 a8 67 00 48 01 1d c9 68 86 0b 5b e9 13 f3 ec ff 0f 1f 00 55 <41> 57 41 56 41 55 41 54 53 48 83 ec 30 48 89 4c 24 18 48 89 54 24
RSP: 0018:ffffc90000006f58 EFLAGS: 00000046
RAX: 0000000000000046 RBX: ffff8880b8e2a628 RCX: ffff8880b8e2a728
RDX: ffff8880b8e2a6a8 RSI: ffff8880b8e2a628 RDI: ffff8880b8e2a508
RBP: ffff8880b8e2a510 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff8880b8e2a4c0 R15: ffff8880b8e271d8
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8592d35f40 CR3: 000000000d08e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 hrtimer_update_base kernel/time/hrtimer.c:632 [inline]
 hrtimer_interrupt+0x12f/0x980 kernel/time/hrtimer.c:1797
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:rcu_read_unlock_special+0x84/0x540 kernel/rcu/tree_plugin.h:682
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 2d 37 8e 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:ffffc90000007160 EFLAGS: 00000206
RAX: 7af3fd7ec90a9100 RBX: 1ffff92000000e34 RCX: ffffffff816af0fa
RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: ffffffff8b5d6dc0
RBP: ffffc90000007238 R08: dffffc0000000000 R09: fffffbfff223b85e
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8d32fe00
R13: ffff88802c815d98 R14: ffffc900000071a0 R15: 1ffff92000000e30
 __rcu_read_unlock+0x92/0x100 kernel/rcu/tree_plugin.h:426
 rcu_read_unlock include/linux/rcupdate.h:823 [inline]
 batadv_choose_next_candidate net/batman-adv/distributed-arp-table.c:601 [inline]
 batadv_dat_select_candidates net/batman-adv/distributed-arp-table.c:654 [inline]
 batadv_dat_forward_data+0xab5/0x1040 net/batman-adv/distributed-arp-table.c:685
 batadv_interface_tx+0xecf/0x1750 net/batman-adv/soft-interface.c:330
 __netdev_start_xmit include/linux/netdevice.h:4853 [inline]
 netdev_start_xmit include/linux/netdevice.h:4867 [inline]
 xmit_one net/core/dev.c:3627 [inline]
 dev_hard_start_xmit+0x261/0x8c0 net/core/dev.c:3643
 __dev_queue_xmit+0x1bb1/0x3cf0 net/core/dev.c:4293
 NF_HOOK+0x39d/0x450 include/linux/netfilter.h:302
 arp_solicit+0xc4d/0xe60 net/ipv4/arp.c:392
 neigh_probe net/core/neighbour.c:1075 [inline]
 neigh_timer_handler+0xa4b/0x1010 net/core/neighbour.c:1157
 call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504
 expire_timers kernel/time/timer.c:1549 [inline]
 __run_timers+0x67c/0x890 kernel/time/timer.c:1820
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833
 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
 __do_softirq kernel/softirq.c:605 [inline]
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666
 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:lock_release+0x637/0xa20 kernel/locking/lockdep.c:5686
Code: 3c 3b 00 74 08 4c 89 f7 e8 16 82 77 00 f6 84 24 91 00 00 00 02 75 6f 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25
RSP: 0018:ffffc90004e271c0 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff920009c4e4a RCX: ffffc90004e27203
RDX: 0000000000000001 RSI: ffffffff8b0c14c0 RDI: ffffffff8b5d6dc0
RBP: ffffc90004e27300 R08: dffffc0000000000 R09: fffffbfff1d33cae
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920009c4e44
R13: 0000000000000246 R14: ffffc90004e27250 R15: dffffc0000000000
 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline]
 _raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:186
 spin_unlock include/linux/spinlock.h:391 [inline]
 zap_pte_range mm/memory.c:1515 [inline]
 zap_pmd_range mm/memory.c:1574 [inline]
 zap_pud_range mm/memory.c:1603 [inline]
 zap_p4d_range mm/memory.c:1624 [inline]
 unmap_page_range+0x2190/0x2740 mm/memory.c:1645
 unmap_vmas+0x48b/0x640 mm/memory.c:1730
 exit_mmap+0x252/0x9f0 mm/mmap.c:3227
 __mmput+0x115/0x3c0 kernel/fork.c:1199
 exit_mm+0x226/0x300 kernel/exit.c:565
 do_exit+0x9f6/0x26a0 kernel/exit.c:858
 do_group_exit+0x202/0x2b0 kernel/exit.c:1021
 get_signal+0x16f7/0x17d0 kernel/signal.c:2870
 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871
 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fdf0677def9
Code: Unable to access opcode bytes at 0x7fdf0677decf.
RSP: 002b:00007fdf0764d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: fffffffffffffff7 RBX: 00007fdf06935f80 RCX: 00007fdf0677def9
RDX: ffffffffffffffff RSI: 0000000040042408 RDI: 0000000000000007
RBP: 00007fdf067f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdf06935f80 R15: 00007ffde4223598
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/25 05:11 linux-6.1.y e526b12bf916 5643e0e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in neigh_timer_handler
2024/09/14 11:39 linux-6.1.y 5f55cad62cc9 c7e35043 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in neigh_timer_handler
2024/09/07 16:56 linux-6.1.y 699506173494 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in neigh_timer_handler
2024/06/06 22:02 linux-6.1.y 88690811da69 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in neigh_timer_handler
* Struck through repros no longer work on HEAD.