syzbot


BUG: soft lockup in addrconf_rs_timer (2)

Status: premoderation: reported on 2024/04/27 11:00
Reported-by: syzbot+a6ee70213daf2739890b@syzkaller.appspotmail.com
First crash: 77d, last: 10d
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 290d 354d 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 185d 185d 0/27 closed as invalid on 2024/03/12 13:17
android-6-1 BUG: soft lockup in addrconf_rs_timer 1 258d 258d 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) C 15 1d04h 21d 0/2 upstream: reported C repro on 2024/06/22 20:35
android-5-10 BUG: soft lockup in addrconf_rs_timer 2 348d 367d 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 396d 408d 3/3 fixed on 2023/07/30 15:47
linux-4.19 BUG: soft lockup in addrconf_rs_timer syz error 24 530d 1212d 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 568d 1770d 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 395d 408d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:06
upstream BUG: soft lockup in addrconf_rs_timer net 18 1574d 1770d 0/27 auto-closed as invalid on 2020/07/20 22:25
android-6-1 BUG: soft lockup in addrconf_rs_timer (2) syz 40 1d01h 61d 0/2 premoderation: reported syz repro on 2024/05/13 20:21
upstream BUG: soft lockup in addrconf_rs_timer (2) net C 51 388d 409d 23/27 fixed on 2023/07/04 09:17
android-5-15 BUG: soft lockup in addrconf_rs_timer 1 356d 356d 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 986d 1440d 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 4 2d18h 216d 0/3 upstream: reported C repro on 2023/12/10 10:27
upstream INFO: rcu detected stall in addrconf_rs_timer (6) lsm usb netfilter syz 254 11h35m 42d 0/27 upstream: reported syz repro on 2024/06/01 13:51
upstream INFO: rcu detected stall in addrconf_rs_timer (5) kvm 4 810d 810d 0/27 auto-closed as invalid on 2022/06/24 22:41
linux-6.1 INFO: rcu detected stall in addrconf_rs_timer 4 25d 50d 0/3 upstream: reported on 2024/05/24 18:08

Sample crash report:
RBP: 00007f4b5efb9f60 R08: 00007ffdcdbd40b0 R09: 00007f4b5e0ad6c0
R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f4b5efb9f6c
R13: 000000000000000b R14: 00007ffdcdbb3520 R15: 00007ffdcdbb3608
 </TASK>
watchdog: BUG: soft lockup - CPU#0 stuck for 225s! [syz.4.950:2997]
Modules linked in:
CPU: 0 PID: 2997 Comm: syz.4.950 Not tainted 5.15.150-syzkaller-00330-g9044d25b8ff5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:unwind_next_frame+0x3af/0x700 arch/x86/kernel/unwind_frame.c:301
Code: eb 35 65 48 8b 05 c1 96 cd 7e 48 39 45 98 74 0b 48 8b 7d d0 e8 62 03 00 00 eb 1c 48 8b 5d d0 48 89 d8 48 c1 e8 03 80 3c 10 00 <74> 08 48 89 df e8 67 9a 7d 00 48 8b 03 4c 89 f7 48 89 45 d0 48 89
RSP: 0018:ffffc90000006df8 EFLAGS: 00000246
RAX: 1ffff92000152f04 RBX: ffffc90000a97820 RCX: 0000000000006e01
RDX: dffffc0000000000 RSI: ffffffff81ac000c RDI: ffffc90000a97f48
RBP: ffffc90000006e70 R08: ffffc90000006f68 R09: 000000000000002b
R10: ffffc90000006f70 R11: dffffc0000000001 R12: 0000000000000000
R13: ffffc90000006ed0 R14: ffffc90000006e80 R15: 1ffff92000000dd0
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f51ebece5e8 CR3: 0000000129c32000 CR4: 00000000003506b0
DR0: 0000000020000300 DR1: 0000000020000300 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:38 [inline]
 kasan_set_track+0x4b/0x70 mm/kasan/common.c:45
 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370
 ____kasan_slab_free+0x126/0x160 mm/kasan/common.c:365
 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:373
 kasan_slab_free include/linux/kasan.h:193 [inline]
 slab_free_hook mm/slub.c:1723 [inline]
 slab_free_freelist_hook+0xbd/0x190 mm/slub.c:1749
 slab_free mm/slub.c:3519 [inline]
 kmem_cache_free+0x116/0x2e0 mm/slub.c:3535
 kfree_skbmem+0x104/0x170
 __kfree_skb net/core/skbuff.c:758 [inline]
 consume_skb+0xb4/0x250 net/core/skbuff.c:930
 dummy_xmit+0x13f/0x1c0 drivers/net/dummy.c:64
 __netdev_start_xmit include/linux/netdevice.h:5059 [inline]
 netdev_start_xmit include/linux/netdevice.h:5073 [inline]
 xmit_one net/core/dev.c:3624 [inline]
 dev_hard_start_xmit+0x228/0x620 net/core/dev.c:3640
 __dev_queue_xmit+0x18b4/0x2e70 net/core/dev.c:4255
 dev_queue_xmit+0x17/0x20 net/core/dev.c:4288
 neigh_hh_output include/net/neighbour.h:501 [inline]
 neigh_output include/net/neighbour.h:515 [inline]
 ip6_finish_output2+0xf5e/0x16e0 net/ipv6/ip6_output.c:126
 __ip6_finish_output+0x60f/0x7c0 net/ipv6/ip6_output.c:197
 ip6_finish_output+0x31/0x210 net/ipv6/ip6_output.c:207
 NF_HOOK_COND include/linux/netfilter.h:294 [inline]
 ip6_output+0x1f7/0x4d0 net/ipv6/ip6_output.c:230
 dst_output include/net/dst.h:444 [inline]
 NF_HOOK include/linux/netfilter.h:305 [inline]
 ndisc_send_skb+0x73e/0xc90 net/ipv6/ndisc.c:509
 ndisc_send_rs+0x532/0x6a0 net/ipv6/ndisc.c:703
 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3977
 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1427
 expire_timers kernel/time/timer.c:1472 [inline]
 __run_timers+0x72a/0xa10 kernel/time/timer.c:1743
 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1756
 __do_softirq+0x26d/0x5bf kernel/softirq.c:565
 invoke_softirq kernel/softirq.c:425 [inline]
 __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:648
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:660
 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1096
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:finish_task_switch+0x16f/0x7b0 kernel/sched/core.c:5024
Code: 74 08 4c 89 ff e8 11 67 65 00 49 8b 1f 48 85 db 4c 8b 6d c0 0f 85 ce 00 00 00 4c 89 e7 e8 29 20 7c 03 fb 49 8d 9d 38 0b 00 00 <48> 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30
RSP: 0018:ffffc90000a96fc0 EFLAGS: 00000282
RAX: 0000000080000001 RBX: ffff88810de2edf8 RCX: 0000000000000002
RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc90000a97010 R08: ffffffff8191cba9 R09: fffffbfff0e0cb73
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f70378c0
R13: ffff88810de2e2c0 R14: 1ffff1103ee07081 R15: ffff8881f7038408
 context_switch kernel/sched/core.c:5155 [inline]
 __schedule+0xcd4/0x1590 kernel/sched/core.c:6512
 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:6916
 irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:392
 irqentry_exit+0x30/0x40 kernel/entry/common.c:426
 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1096
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:update_stack_state+0x295/0x460 arch/x86/kernel/unwind_frame.c:252
Code: 83 3e 00 48 8b 45 a8 4c 8b ad 78 ff ff ff 74 22 44 3b 7d a4 75 1c 48 3b 45 98 73 16 31 db 89 d8 48 81 c4 90 00 00 00 5b 41 5c <41> 5d 41 5e 41 5f 5d c3 4d 85 ed 4c 89 75 b0 74 77 49 bf 00 00 00
RSP: 0018:ffffc90000a972b8 EFLAGS: 00000282
RAX: 0000000000a97301 RBX: ffffc90000a97350 RCX: 1ffff92000152e77
RDX: 1ffff92000152e6e RSI: ffffc90000a97350 RDI: ffffc90000a973b8
RBP: ffffc90000a972d0 R08: dffffc0000000001 R09: ffffc90000a97360
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc90000a973a0 R15: dffffc0000000000
 __unwind_start+0x1f4/0x3a0 arch/x86/kernel/unwind_frame.c:397
 unwind_start arch/x86/include/asm/unwind.h:60 [inline]
 arch_stack_walk+0xdb/0x140 arch/x86/kernel/stacktrace.c:24
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 save_stack+0xf6/0x1e0 mm/page_owner.c:139
 __reset_page_owner+0x36/0x190 mm/page_owner.c:156
 reset_page_owner include/linux/page_owner.h:26 [inline]
 free_pages_prepare mm/page_alloc.c:1471 [inline]
 free_pcp_prepare mm/page_alloc.c:1543 [inline]
 free_unref_page_prepare+0x7c8/0x7d0 mm/page_alloc.c:3533
 free_unref_page+0xe8/0x750 mm/page_alloc.c:3615
 free_the_page mm/page_alloc.c:804 [inline]
 __free_pages+0x61/0xf0 mm/page_alloc.c:5852
 __vunmap+0x7bc/0x8f0 mm/vmalloc.c:2652
 __vfree mm/vmalloc.c:2700 [inline]
 vfree+0x7f/0xb0 mm/vmalloc.c:2731
 kcov_put kernel/kcov.c:408 [inline]
 kcov_close+0x2b/0x50 kernel/kcov.c:510
 __fput+0x3fe/0x910 fs/file_table.c:280
 ____fput+0x15/0x20 fs/file_table.c:308
 task_work_run+0x129/0x190 kernel/task_work.c:164
 exit_task_work include/linux/task_work.h:32 [inline]
 do_exit+0xc48/0x2ca0 kernel/exit.c:878
 do_group_exit+0x141/0x310 kernel/exit.c:1000
 get_signal+0x7a3/0x1630 kernel/signal.c:2896
 arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:867
 handle_signal_work kernel/entry/common.c:148 [inline]
 exit_to_user_mode_loop+0xa0/0xe0 kernel/entry/common.c:172
 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:208
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0x26/0x160 kernel/entry/common.c:301
 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f4b5ee2bbd9
Code: Unable to access opcode bytes at RIP 0x7f4b5ee2bbaf.
RSP: 002b:00007f4b5e0ad0f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007f4b5efb9f68 RCX: 00007f4b5ee2bbd9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f4b5efb9f6c
RBP: 00007f4b5efb9f60 R08: 00007ffdcdbd40b0 R09: 00007f4b5e0ad6c0
R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f4b5efb9f6c
R13: 000000000000000b R14: 00007ffdcdbb3520 R15: 00007ffdcdbb3608
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 43 Comm: kworker/u4:2 Not tainted 5.15.150-syzkaller-00330-g9044d25b8ff5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline]
RIP: 0010:smp_call_function_many_cond+0x848/0x9b0 kernel/smp.c:969
Code: 89 fe 83 e6 01 31 ff e8 76 a8 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 07 e8 b1 a4 0a 00 eb 38 f3 90 42 0f b6 04 3b <84> c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 95 a4 0a 00 eb e4 44
RSP: 0018:ffffc900002cf880 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 1ffff1103ee07af1 RCX: ffff8881055b62c0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900002cf998 R08: ffffffff816592da R09: ffffed103ee271d3
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff8881f703d788 R14: ffff8881f7138e80 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd6464ae78 CR3: 000000000680f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1135
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:1201 [inline]
 text_poke_bp_batch+0x1c4/0x5d0 arch/x86/kernel/alternative.c:1392
 text_poke_flush arch/x86/kernel/alternative.c:1560 [inline]
 text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1567
 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146
 __jump_label_update+0x36a/0x380 kernel/jump_label.c:459
 jump_label_update+0x3af/0x450 kernel/jump_label.c:830
 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/0x460 mm/kfence/core.c:729
 process_one_work+0x6bb/0xc10 kernel/workqueue.c:2325
 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472
 kthread+0x421/0x510 kernel/kthread.c:337
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/03 18:42 android13-5.15-lts 9044d25b8ff5 f76a75f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in addrconf_rs_timer
2024/06/22 16:13 android13-5.15-lts 85445b5a2107 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in addrconf_rs_timer
2024/06/11 06:37 android13-5.15-lts 79bd336c7a94 b7d9eb04 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in addrconf_rs_timer
2024/04/27 10:59 android13-5.15-lts 5d96939590c0 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in addrconf_rs_timer
* Struck through repros no longer work on HEAD.