syzbot


INFO: rcu detected stall in addrconf_rs_timer

Status: upstream: reported on 2024/05/24 18:08
Reported-by: syzbot+8c2bd9d58eb3944b2c1b@syzkaller.appspotmail.com
First crash: 25d, last: 12h24m
Similar bugs (23)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in addrconf_rs_timer (2) net 362 1721d 1743d 13/27 fixed on 2019/10/21 12:31
linux-4.14 INFO: rcu detected stall in addrconf_rs_timer C error 220 1384d 1747d 0/1 upstream: reported C repro on 2019/09/06 14:33
upstream INFO: rcu detected stall in addrconf_rs_timer net 38 2007d 2103d 0/27 closed as dup on 2019/01/02 16:33
linux-4.19 INFO: rcu detected stall in addrconf_rs_timer 45 1735d 1747d 0/1 auto-closed as invalid on 2019/12/17 18:46
linux-4.19 BUG: soft lockup in addrconf_rs_timer syz error 24 505d 1187d 0/1 upstream: reported syz repro on 2021/03/19 06:05
linux-5.15 BUG: soft lockup in addrconf_rs_timer C error 36 370d 383d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:06
upstream INFO: rcu detected stall in addrconf_rs_timer (3) net C inconclusive done 81 1643d 1639d 15/27 fixed on 2020/02/18 14:31
linux-4.19 INFO: rcu detected stall in addrconf_rs_timer (2) 5 1385d 1459d 0/1 auto-closed as invalid on 2020/12/31 12:17
upstream INFO: rcu detected stall in addrconf_rs_timer (5) kvm 4 785d 785d 0/27 auto-closed as invalid on 2022/06/24 22:41
upstream INFO: rcu detected stall in addrconf_rs_timer (4) net C error error 121 961d 1415d 0/27 closed as invalid on 2022/02/08 10:39
linux-5.15 INFO: rcu detected stall in addrconf_rs_timer origin:upstream C error 3 97d 191d 0/3 upstream: reported C repro on 2023/12/10 10:27
upstream INFO: rcu detected stall in addrconf_rs_timer (6) netfilter mm usb syz 100 54m 17d 0/27 upstream: reported syz repro on 2024/06/01 13:51
upstream BUG: soft lockup in addrconf_rs_timer (3) net syz 8 265d 329d 0/27 auto-obsoleted due to no activity on 2024/01/05 16:48
upstream BUG: soft lockup in addrconf_rs_timer (4) net 1 160d 160d 0/27 closed as invalid on 2024/03/12 13:17
android-6-1 BUG: soft lockup in addrconf_rs_timer 1 233d 233d 0/2 auto-obsoleted due to no activity on 2024/01/27 13:54
android-5-10 BUG: soft lockup in addrconf_rs_timer (2) 1 3d14h 3d14h 0/2 premoderation: reported on 2024/06/15 15:18
android-5-10 BUG: soft lockup in addrconf_rs_timer 2 324d 342d 0/2 auto-obsoleted due to no activity on 2023/10/29 01:38
linux-6.1 BUG: soft lockup in addrconf_rs_timer C done 26 371d 383d 3/3 fixed on 2023/07/30 15:47
linux-4.14 BUG: soft lockup in addrconf_rs_timer C error 133 543d 1745d 0/1 upstream: reported C repro on 2019/09/08 14:09
android-5-15 BUG: soft lockup in addrconf_rs_timer (2) 2 7d22h 52d 0/2 premoderation: reported on 2024/04/27 11:00
android-6-1 BUG: soft lockup in addrconf_rs_timer (2) syz 15 21h56m 36d 0/2 premoderation: reported syz repro on 2024/05/13 20:21
upstream BUG: soft lockup in addrconf_rs_timer (2) net C 51 363d 384d 23/27 fixed on 2023/07/04 09:17
android-5-15 BUG: soft lockup in addrconf_rs_timer 1 331d 331d 0/2 auto-obsoleted due to no activity on 2023/10/21 14:14

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2646 jiffies s: 1657 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: 3837 Comm: syz-executor.0 Not tainted 6.1.94-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:rdtsc_ordered arch/x86/include/asm/msr.h:215 [inline]
RIP: 0010:read_tsc+0x0/0x10 arch/x86/kernel/tsc.c:1095
Code: 36 96 31 03 48 8d bc 24 80 00 00 00 48 be 00 00 00 00 00 fc ff df e9 53 fd ff ff e8 1a 16 59 09 66 2e 0f 1f 84 00 00 00 00 00 <0f> 01 f9 66 90 48 c1 e2 20 48 09 d0 c3 0f 1f 00 48 c7 c0 cc 5b 73
RSP: 0018:ffffc90000006b08 EFLAGS: 00000046
RAX: 1ffffffff19ecc6c RBX: ffffffff8cf66360 RCX: dffffc0000000000
RDX: 0000000000010301 RSI: 0000000000000000 RDI: ffffffff8cf66360
RBP: 000000000000424c R08: ffffffff817a0bf1 R09: fffffbfff1ce7146
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b98271c0
R13: 000000000000424c R14: 0000000000000000 R15: ffff8880b982a8a8
FS:  00007fb187fe96c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc2c3ffa290 CR3: 0000000058c9b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 tk_clock_read kernel/time/timekeeping.c:195 [inline]
 timekeeping_get_delta kernel/time/timekeeping.c:255 [inline]
 timekeeping_get_ns kernel/time/timekeeping.c:388 [inline]
 ktime_get+0xe4/0x270 kernel/time/timekeeping.c:848
 clockevents_program_event+0xe1/0x310 kernel/time/clockevents.c:326
 hrtimer_interrupt+0x546/0x980 kernel/time/hrtimer.c:1825
 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:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:203
Code: e8 25 00 00 00 0f 0b 0f 1f 00 53 48 89 fb e8 17 00 00 00 48 8b 3d 18 f9 e8 0c 48 89 de 5b e9 67 a9 56 00 cc cc cc cc cc cc cc <48> 8b 04 24 65 48 8b 0d e4 db 77 7e 65 8b 15 e5 db 77 7e f7 c2 00
RSP: 0018:ffffc90000006d80 EFLAGS: 00000202
RAX: 0000000000000301 RBX: ffff8880720cd500 RCX: ffff8880213c1dc0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000000
RBP: 0000000000000008 R08: ffffffff88c59432 R09: ffffed100e419ab9
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100dea2f75
R13: dffffc0000000000 R14: ffff88806f517b40 R15: ffff88806f517ba8
 nf_conntrack_confirm include/net/netfilter/nf_conntrack_core.h:61 [inline]
 nf_confirm+0x3c0/0x550 net/netfilter/nf_conntrack_proto.c:154
 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline]
 nf_hook_slow+0xae/0x1e0 net/netfilter/core.c:614
 nf_hook+0x2c0/0x450 include/linux/netfilter.h:257
 NF_HOOK_COND include/linux/netfilter.h:290 [inline]
 ip_output+0x1f2/0x2b0 net/ipv4/ip_output.c:430
 iptunnel_xmit+0x513/0x920 net/ipv4/ip_tunnel_core.c:82
 udp_tunnel_xmit_skb+0x230/0x350 net/ipv4/udp_tunnel_core.c:172
 geneve_xmit_skb drivers/net/geneve.c:1010 [inline]
 geneve_xmit+0x16b7/0x3550 drivers/net/geneve.c:1122
 __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
 dev_queue_xmit include/linux/netdevice.h:3021 [inline]
 neigh_hh_output include/net/neighbour.h:528 [inline]
 neigh_output include/net/neighbour.h:542 [inline]
 ip6_finish_output2+0xea9/0x1530 net/ipv6/ip6_output.c:134
 __ip6_finish_output net/ipv6/ip6_output.c:201 [inline]
 ip6_finish_output+0x6a0/0xa80 net/ipv6/ip6_output.c:212
 dst_output include/net/dst.h:444 [inline]
 NF_HOOK include/linux/netfilter.h:302 [inline]
 ndisc_send_skb+0xbab/0x14e0 net/ipv6/ndisc.c:509
 addrconf_rs_timer+0x357/0x610 net/ipv6/addrconf.c:3962
 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:preempt_schedule_irq+0xf2/0x1c0 kernel/sched/core.c:6870
Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 97 00 00 00 bf 01 00 00 00 e8 f9 c0 ca f6 e8 14 b6 fd f6 fb bf 01 00 00 00 <e8> 99 b4 ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 29 74 4e f7 48
RSP: 0018:ffffc90005c37a60 EFLAGS: 00000286
RAX: 3519a727a6b83700 RBX: 1ffff92000b86f54 RCX: ffffffff816ad40a
RDX: dffffc0000000000 RSI: ffffffff8aec0240 RDI: 0000000000000001
RBP: ffffc90005c37b20 R08: dffffc0000000000 R09: fffffbfff2093a4b
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000b86f4c
R13: 1ffff92000b86f50 R14: ffffc90005c37a80 R15: dffffc0000000000
 irqentry_exit+0x53/0x80 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666
Code: 2b 00 74 08 4c 89 f7 e8 4f ab 77 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25
RSP: 0018:ffffc90005c37be0 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92000b86f88 RCX: ffffffff816b2042
RDX: dffffc0000000000 RSI: ffffffff8aec13c0 RDI: ffffffff8b3d4660
RBP: ffffc90005c37d30 R08: dffffc0000000000 R09: fffffbfff2093a4b
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000b86f84
R13: dffffc0000000000 R14: ffffc90005c37c40 R15: 0000000000000246
 __might_fault+0xbd/0x110 mm/memory.c:5835
 _copy_from_user+0x26/0x170 lib/usercopy.c:14
 copy_from_user include/linux/uaccess.h:161 [inline]
 restore_altstack+0x95/0x150 kernel/signal.c:4248
 __do_sys_rt_sigreturn+0x19d/0x250 arch/x86/kernel/signal.c:678
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fb18727cf29
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:00007fb187fe90c8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 00007fb1873b3f80 RCX: 00007fb18727cf29
RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000006
RBP: 00007fb1872ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fb1873b3f80 R15: 00007fff351b0458
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/18 17:02 linux-6.1.y eb44d83053d6 639d6cdf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in addrconf_rs_timer
2024/06/13 23:23 linux-6.1.y ae9f2a70d69e a9616ff5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in addrconf_rs_timer
2024/06/03 11:24 linux-6.1.y 88690811da69 0aba2352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in addrconf_rs_timer
2024/05/24 18:08 linux-6.1.y 4078fa637fcd a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in addrconf_rs_timer
* Struck through repros no longer work on HEAD.