syzbot


BUG: soft lockup in addrconf_rs_timer (2)

Status: premoderation: reported on 2024/06/15 15:18
Reported-by: syzbot+c5e507d5898c8275a950@syzkaller.appspotmail.com
First crash: 4d04h, last: 4d04h
Similar bugs (18)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in addrconf_rs_timer (3) net syz 8 266d 330d 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 161d 161d 0/27 closed as invalid on 2024/03/12 13:17
android-6-1 BUG: soft lockup in addrconf_rs_timer 1 234d 234d 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 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.19 BUG: soft lockup in addrconf_rs_timer syz error 24 506d 1188d 0/1 upstream: reported syz repro on 2021/03/19 06:05
linux-4.14 BUG: soft lockup in addrconf_rs_timer C error 133 544d 1746d 0/1 upstream: reported C repro on 2019/09/08 14:09
linux-5.15 BUG: soft lockup in addrconf_rs_timer C error 36 371d 383d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:06
android-5-15 BUG: soft lockup in addrconf_rs_timer (2) 2 8d12h 53d 0/2 premoderation: reported on 2024/04/27 11:00
upstream BUG: soft lockup in addrconf_rs_timer net 18 1549d 1746d 0/27 auto-closed as invalid on 2020/07/20 22:25
android-6-1 BUG: soft lockup in addrconf_rs_timer (2) syz 15 1d11h 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 364d 384d 23/27 fixed on 2023/07/04 09:17
android-5-15 BUG: soft lockup in addrconf_rs_timer 1 332d 332d 0/2 auto-obsoleted due to no activity on 2023/10/21 14:14
upstream INFO: rcu detected stall in addrconf_rs_timer (4) net C error error 121 961d 1416d 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 192d 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 120 1h07m 18d 0/27 upstream: reported syz repro on 2024/06/01 13:51
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
linux-6.1 INFO: rcu detected stall in addrconf_rs_timer 4 1d02h 26d 0/3 upstream: reported on 2024/05/24 18:08

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz-executor.4:10971]
Modules linked in:
CPU: 0 PID: 10971 Comm: syz-executor.4 Tainted: G        W         5.10.214-syzkaller-00187-ge6f44899ce5d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:ipv6_get_ifaddr+0x169/0x3c0 net/ipv6/addrconf.c:2046
Code: 8d 9e f8 04 00 00 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 0c 75 83 fd 4c 39 2b 74 0a <e8> 32 e2 45 fd e9 2d 01 00 00 4c 89 f8 48 c1 e8 03 48 b9 00 00 00
RSP: 0018:ffffc90000007ba8 EFLAGS: 00000287
RAX: 1ffff1102540309f RBX: ffff88812a0184f8 RCX: dffffc0000000000
RDX: ffff888119e70000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000007c18 R08: ffffffff8424c8fd R09: ffffed1022e90221
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000007d00
R13: ffff8881357ce040 R14: ffff88812a018000 R15: ffff888115940c00
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e233000 CR3: 000000000660f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 ndisc_send_rs+0x9a/0x6a0 net/ipv6/ndisc.c:672
 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3962
 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1450
 expire_timers kernel/time/timer.c:1495 [inline]
 __run_timers+0x72a/0xa10 kernel/time/timer.c:1789
 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1802
 __do_softirq+0x268/0x5bb kernel/softirq.c:309
 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+0x60/0x80 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:405 [inline]
 __irq_exit_rcu+0x128/0x150 kernel/softirq.c:435
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:447
 sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1094
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:preempt_schedule_irq+0xc2/0x140 kernel/sched/core.c:5065
Code: 4c 89 e7 e8 00 ec f7 fc f6 44 24 21 02 74 0b 0f 0b 48 f7 03 08 00 00 00 74 4d bf 01 00 00 00 e8 b4 be 98 fc fb bf 01 00 00 00 <e8> 89 e6 ff ff fa bf 01 00 00 00 e8 3e c0 98 fc 65 48 8b 1d d6 1a
RSP: 0018:ffffc9000108f720 EFLAGS: 00000246
RAX: 1ffff110233ce146 RBX: ffff888119e70000 RCX: ffffffff84b17b00
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001
RBP: ffffc9000108f7b0 R08: dffffc0000000000 R09: ffffed10233ce001
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000108f740
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff92000211ee4
 irqentry_exit_cond_resched kernel/entry/common.c:365 [inline]
 irqentry_exit+0x4f/0x60 kernel/entry/common.c:395
 sysvec_apic_timer_interrupt+0xcb/0xe0 arch/x86/kernel/apic/apic.c:1094
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:kfree+0x15f/0x270
Code: ce 49 8b bc 24 d8 00 00 00 48 31 c7 48 31 f7 4a 89 3c 31 48 89 d1 48 83 c1 08 49 8b 3c 24 65 48 0f c7 0f 0f 94 c0 a8 01 74 9a <65> 48 8b 04 25 28 00 00 00 48 3b 45 d0 0f 85 f0 00 00 00 48 83 c4
RSP: 0018:ffffc9000108f8a0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff888122f18600 RCX: ffffc9000108f8b0
RDX: ffff888122f18600 RSI: ffffc9000108f8b8 RDI: ffffffff856013e0
RBP: ffffc9000108f8f8 R08: 0000000000000002 R09: ffffc9000108f630
R10: 00000000806e6b48 R11: 000000008918d772 R12: ffff888100043800
R13: ffffffff816ac2d3 R14: ffff88810915f400 R15: ffffea00048bc600
 kcov_put kernel/kcov.c:409 [inline]
 kcov_close+0x33/0x50 kernel/kcov.c:510
 __fput+0x309/0x760 fs/file_table.c:281
 ____fput+0x15/0x20 fs/file_table.c:314
 task_work_run+0x129/0x190 kernel/task_work.c:165
 exit_task_work include/linux/task_work.h:32 [inline]
 do_exit+0xc83/0x2a50 kernel/exit.c:861
 do_group_exit+0x141/0x310 kernel/exit.c:983
 get_signal+0x10a0/0x1410 kernel/signal.c:2782
 arch_do_signal_or_restart+0xbd/0x17c0 arch/x86/kernel/signal.c:805
 handle_signal_work kernel/entry/common.c:145 [inline]
 exit_to_user_mode_loop+0x9b/0xd0 kernel/entry/common.c:169
 exit_to_user_mode_prepare kernel/entry/common.c:199 [inline]
 irqentry_exit_to_user_mode+0x5a/0x80 kernel/entry/common.c:287
 irqentry_exit+0x12/0x60 kernel/entry/common.c:375
 sysvec_apic_timer_interrupt+0xcb/0xe0 arch/x86/kernel/apic/apic.c:1094
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0033:0x7f11100a6ea9
Code: Unable to access opcode bytes at RIP 0x7f11100a6e7f.
RSP: 002b:00007f110f4210c8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 00007f11101ddf80 RCX: 00007f11100a6ea9
RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000003
RBP: 00007f1110115ff4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f11101ddf80 R15: 00007ffec325b2a8
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4056 Comm: kworker/u4:5 Tainted: G        W         5.10.214-syzkaller-00187-ge6f44899ce5d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:__sanitizer_cov_trace_pc+0x5d/0x60 kernel/kcov.c:207
Code: 0a 00 00 83 fa 02 75 21 48 8b 91 c0 0a 00 00 48 8b 32 48 8d 7e 01 8b 89 bc 0a 00 00 48 39 cf 73 08 48 89 44 f2 08 48 89 3a 5d <c3> 66 90 55 48 89 e5 4c 8b 45 08 65 48 8b 15 70 c1 97 7e 65 8b 05
RSP: 0018:ffffc90000eaf718 EFLAGS: 00000293
RAX: ffffffff815fbf04 RBX: 1ffff920001d5eed RCX: ffff888115e88000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000eaf810 R08: ffffffff815fbed6 R09: ffffed103ee0aec9
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000001 R14: ffffc90000eaf768 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7ab16de000 CR3: 000000000660f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 <NMI>
 </NMI>
 smp_call_function_many_cond+0x94e/0xa30 kernel/smp.c:653
 smp_call_function_many kernel/smp.c:716 [inline]
 smp_call_function kernel/smp.c:738 [inline]
 on_each_cpu+0xa8/0x1a0 kernel/smp.c:837
 text_poke_sync arch/x86/kernel/alternative.c:1318 [inline]
 text_poke_bp_batch+0x1d4/0x600 arch/x86/kernel/alternative.c:1509
 text_poke_flush arch/x86/kernel/alternative.c:1677 [inline]
 text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1684
 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:126
 __jump_label_update+0x36a/0x380 kernel/jump_label.c:459
 jump_label_update+0x379/0x400 kernel/jump_label.c:825
 static_key_enable_cpuslocked+0x12f/0x250 kernel/jump_label.c:177
 static_key_enable+0x1a/0x30 kernel/jump_label.c:190
 toggle_allocation_gate+0xbf/0x450 mm/kfence/core.c:624
 process_one_work+0x6dc/0xbd0 kernel/workqueue.c:2301
 worker_thread+0xaea/0x1510 kernel/workqueue.c:2447
 kthread+0x34b/0x3d0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (7617 ticks this GP) idle=022/1/0x4000000000000000 softirq=48035/48036 fqs=4914 last_accelerate: dff6/1bcb dyntick_enabled: 1
	(t=10003 jiffies g=36441 q=460473)
NMI backtrace for cpu 0
CPU: 0 PID: 10971 Comm: syz-executor.4 Tainted: G        W    L    5.10.214-syzkaller-00187-ge6f44899ce5d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118
 dump_stack+0x15/0x17 lib/dump_stack.c:135
 nmi_cpu_backtrace lib/nmi_backtrace.c:105 [inline]
 nmi_trigger_cpumask_backtrace+0x2b5/0x300 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x10/0x20 arch/x86/kernel/apic/hw_nmi.c:39
 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
 rcu_dump_cpu_stacks+0x199/0x2b0 kernel/rcu/tree_stall.h:337
 print_cpu_stall kernel/rcu/tree_stall.h:576 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:659 [inline]
 rcu_pending kernel/rcu/tree.c:3783 [inline]
 rcu_sched_clock_irq+0xf8a/0x1890 kernel/rcu/tree.c:2590
 update_process_times+0x198/0x200 kernel/time/timer.c:1748
 tick_sched_handle kernel/time/tick-sched.c:225 [inline]
 tick_sched_timer+0x188/0x240 kernel/time/tick-sched.c:1389
 __run_hrtimer kernel/time/hrtimer.c:1583 [inline]
 __hrtimer_run_queues+0x3d7/0xa50 kernel/time/hrtimer.c:1647
 hrtimer_interrupt+0x39a/0x8b0 kernel/time/hrtimer.c:1709
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1083 [inline]
 __sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1100
 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline]
 sysvec_apic_timer_interrupt+0xba/0xe0 arch/x86/kernel/apic/apic.c:1094
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:slab_alloc_node mm/slub.c:2910 [inline]
RIP: 0010:slab_alloc mm/slub.c:2955 [inline]
RIP: 0010:kmem_cache_alloc_trace+0xe5/0x2e0 mm/slub.c:2972
Code: 0f 84 a8 00 00 00 4c 8b 6d c0 0f 1f 44 00 00 49 8b 04 24 65 48 8b 50 08 49 8b 04 24 65 48 03 05 a1 7f 5a 7e 48 3b 50 08 75 e5 <48> 8b 38 48 85 ff 0f 84 bb 00 00 00 48 83 78 10 00 0f 84 b0 00 00
RSP: 0018:ffffc90000007908 EFLAGS: 00000246
RAX: ffff8881f7059aa0 RBX: 0000000000000a20 RCX: 0000000000000000
RDX: 00000000000c28e0 RSI: 0000000000000060 RDI: ffffffff8683ac20
RBP: ffffc90000007950 R08: ffffffff8428e90c R09: ffffed1021ff6b2a
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888100043680
R13: ffffffff83c79125 R14: 0000000000000a20 R15: 0000000000000048
 kmalloc include/linux/slab.h:552 [inline]
 dst_cow_metrics_generic+0x55/0x1c0 net/core/dst.c:201
 dst_metrics_write_ptr include/net/dst.h:117 [inline]
 dst_metric_set include/net/dst.h:178 [inline]
 icmp6_dst_alloc+0x385/0x560 net/ipv6/route.c:3173
 ndisc_send_skb+0x25a/0xc00 net/ipv6/ndisc.c:489

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/15 15:18 android13-5.10-lts e6f44899ce5d f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in addrconf_rs_timer
* Struck through repros no longer work on HEAD.