syzbot


INFO: rcu detected stall in addrconf_rs_timer

Status: upstream: reported C repro on 2023/12/10 10:27
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+6048fb0d928dbb84c58f@syzkaller.appspotmail.com
First crash: 139d, last: 44d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2024/03/14 upstream (ToT) 480e035fc4c7 C [report] BUG: soft lockup in smp_call_function
Similar bugs (20)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in addrconf_rs_timer (2) net 362 1669d 1691d 13/26 fixed on 2019/10/21 12:31
linux-4.14 INFO: rcu detected stall in addrconf_rs_timer C error 220 1332d 1695d 0/1 upstream: reported C repro on 2019/09/06 14:33
upstream INFO: rcu detected stall in addrconf_rs_timer net 38 1955d 2051d 0/26 closed as dup on 2019/01/02 16:33
linux-4.19 INFO: rcu detected stall in addrconf_rs_timer 45 1683d 1695d 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 453d 1135d 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 318d 331d 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 1591d 1587d 15/26 fixed on 2020/02/18 14:31
linux-4.19 INFO: rcu detected stall in addrconf_rs_timer (2) 5 1333d 1406d 0/1 auto-closed as invalid on 2020/12/31 12:17
upstream INFO: rcu detected stall in addrconf_rs_timer (5) kvm 4 733d 733d 0/26 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 909d 1363d 0/26 closed as invalid on 2022/02/08 10:39
upstream BUG: soft lockup in addrconf_rs_timer (3) net syz 8 213d 277d 0/26 auto-obsoleted due to no activity on 2024/01/05 16:48
upstream BUG: soft lockup in addrconf_rs_timer (4) net 1 108d 108d 0/26 closed as invalid on 2024/03/12 13:17
android-6-1 BUG: soft lockup in addrconf_rs_timer 1 181d 181d 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 272d 290d 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 319d 331d 3/3 fixed on 2023/07/30 15:47
linux-4.14 BUG: soft lockup in addrconf_rs_timer C error 133 491d 1693d 0/1 upstream: reported C repro on 2019/09/08 14:09
android-5-15 BUG: soft lockup in addrconf_rs_timer (2) 1 16h02m 16h01m 0/2 premoderation: reported on 2024/04/27 11:00
upstream BUG: soft lockup in addrconf_rs_timer (2) net C 51 311d 332d 23/26 fixed on 2023/07/04 09:17
android-5-15 BUG: soft lockup in addrconf_rs_timer 1 279d 279d 0/2 auto-obsoleted due to no activity on 2023/10/21 14:14
upstream BUG: soft lockup in addrconf_rs_timer net 18 1497d 1693d 0/26 auto-closed as invalid on 2020/07/20 22:25

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [kworker/1:4:4012]
Modules linked in:
irq event stamp: 10841
hardirqs last  enabled at (10840): [<ffff800011976ce0>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:81 [inline]
hardirqs last  enabled at (10840): [<ffff800011976ce0>] exit_to_kernel_mode+0x100/0x178 arch/arm64/kernel/entry-common.c:91
hardirqs last disabled at (10841): [<ffff800011976f28>] enter_el1_irq_or_nmi+0x10/0x1c arch/arm64/kernel/entry-common.c:227
softirqs last  enabled at (10382): [<ffff800010903ed0>] spin_unlock_bh include/linux/spinlock.h:408 [inline]
softirqs last  enabled at (10382): [<ffff800010903ed0>] __fib6_clean_all+0x2ac/0x428 net/ipv6/ip6_fib.c:2254
softirqs last disabled at (10387): [<ffff8000081b6568>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (10387): [<ffff8000081b6568>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (10387): [<ffff8000081b6568>] __irq_exit_rcu+0x264/0x4d4 kernel/softirq.c:637
CPU: 1 PID: 4012 Comm: kworker/1:4 Not tainted 5.15.151-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Workqueue: ipv6_addrconf addrconf_dad_work
pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : queued_write_lock_slowpath+0x174/0x49c kernel/locking/qrwlock.c:78
lr : instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
lr : atomic_or include/linux/atomic/atomic-instrumented.h:377 [inline]
lr : queued_write_lock_slowpath+0x11c/0x49c kernel/locking/qrwlock.c:74
sp : ffff800008017300
x29: ffff800008017380 x28: ffff80001485e008 x27: 00000000000000ff
x26: 0000000000000100 x25: 1ffff00001002e6a x24: 1ffff00002d5ef67
x23: 1ffff00001002e64 x22: dfff800000000000 x21: ffff800008017350
x20: ffff800016af7b38 x19: ffff800016af7b3c x18: 0000000000000101
x17: 0000000000000000 x16: ffff80000830421c x15: 000000000000000a
x14: 1ffff0000292206a x13: dfff800000000000 x12: 0000000000000001
x11: 1ffff00002d5ef67 x10: 0000000000000000 x9 : 0000000000000000
x8 : 00000000000001ff x7 : ffff80000fdf5340 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008305374
x2 : 0000000000000001 x1 : 0000000000000004 x0 : 0000000000000001
Call trace:
 __cmpwait_case_32 arch/arm64/include/asm/cmpxchg.h:252 [inline]
 __cmpwait arch/arm64/include/asm/cmpxchg.h:278 [inline]
 queued_write_lock_slowpath+0x174/0x49c kernel/locking/qrwlock.c:78
 queued_write_lock include/asm-generic/qrwlock.h:97 [inline]
 do_raw_write_lock+0x464/0x534 kernel/locking/spinlock_debug.c:210
 __raw_write_lock_bh include/linux/rwlock_api_smp.h:204 [inline]
 _raw_write_lock_bh+0x12c/0x1c4 kernel/locking/spinlock.c:324
 neigh_forced_gc net/core/neighbour.c:236 [inline]
 neigh_alloc net/core/neighbour.c:429 [inline]
 ___neigh_create+0x294/0x24fc net/core/neighbour.c:591
 __neigh_create+0x44/0x58 net/core/neighbour.c:679
 ip6_finish_output2+0xc74/0x1c4c net/ipv6/ip6_output.c:123
 __ip6_finish_output+0x580/0x6ec net/ipv6/ip6_output.c:197
 ip6_finish_output+0x40/0x218 net/ipv6/ip6_output.c:207
 NF_HOOK_COND include/linux/netfilter.h:291 [inline]
 ip6_output+0x270/0x594 net/ipv6/ip6_output.c:230
 dst_output include/net/dst.h:443 [inline]
 NF_HOOK include/linux/netfilter.h:302 [inline]
 ndisc_send_skb+0xbf8/0x1788 net/ipv6/ndisc.c:509
 ndisc_send_rs+0x494/0x5fc net/ipv6/ndisc.c:703
 addrconf_rs_timer+0x308/0x5a8 net/ipv6/addrconf.c:3957
 call_timer_fn+0x19c/0x8f0 kernel/time/timer.c:1421
 expire_timers kernel/time/timer.c:1466 [inline]
 __run_timers+0x554/0x718 kernel/time/timer.c:1737
 run_timer_softirq+0x7c/0x114 kernel/time/timer.c:1750
 __do_softirq+0x344/0xdb0 kernel/softirq.c:558
 do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
 invoke_softirq kernel/softirq.c:439 [inline]
 __irq_exit_rcu+0x264/0x4d4 kernel/softirq.c:637
 irq_exit+0x14/0x88 kernel/softirq.c:661
 handle_domain_irq+0xf4/0x178 kernel/irq/irqdesc.c:710
 gic_handle_irq+0x78/0x1c8 drivers/irqchip/irq-gic-v3.c:758
 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:899
 do_interrupt_handler+0x74/0x94 arch/arm64/kernel/entry-common.c:267
 el1_interrupt+0x30/0x58 arch/arm64/kernel/entry-common.c:454
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:470
 el1h_64_irq+0x78/0x7c arch/arm64/kernel/entry.S:580
 mutex_spin_on_owner+0x140/0x2fc kernel/locking/mutex.c:364
 mutex_optimistic_spin+0x4c/0x2bc kernel/locking/mutex.c:469
 __mutex_lock_common+0x1b4/0x2154 kernel/locking/mutex.c:599
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0xa4/0xf8 kernel/locking/mutex.c:743
 rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72
 addrconf_dad_work+0xcc/0x126c net/ipv6/addrconf.c:4111
 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310
 worker_thread+0x910/0x1034 kernel/workqueue.c:2457
 kthread+0x37c/0x45c kernel/kthread.c:319
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/14 04:12 linux-5.15.y 574362648507 f919f202 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in addrconf_rs_timer
2024/03/07 14:55 linux-5.15.y 574362648507 2b789849 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in addrconf_rs_timer
2023/12/10 10:26 linux-5.15.y 8a1d809b0545 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in addrconf_rs_timer
* Struck through repros no longer work on HEAD.