syzbot


BUG: soft lockup in ipv6_get_lladdr

Status: auto-obsoleted due to no activity on 2024/10/29 17:12
Reported-by: syzbot+ce21246773fe37583da5@syzkaller.appspotmail.com
First crash: 114d, last: 114d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 BUG: soft lockup in ipv6_get_lladdr 1 1777d 1777d 0/1 auto-closed as invalid on 2020/05/11 08:23

Sample crash report:
RBP: 00007f18209e48e6 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f1820b05f80 R15: 00007ffc58279c08
 </TASK>
watchdog: BUG: soft lockup - CPU#0 stuck for 223s! [syz.3.142:1347]
Modules linked in:
CPU: 0 PID: 1347 Comm: syz.3.142 Tainted: G        W          6.1.90-syzkaller-00122-g7fa70ede91bb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:ipv6_get_lladdr+0x0/0x1f0 net/ipv6/addrconf.c:1886
Code: 46 00 fd eb 05 e8 b0 46 00 fd 8b 45 c4 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 99 46 00 fd eb e7 0f 1f 80 00 00 00 00 <55> 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 18 89 55 d4 49 89
RSP: 0018:ffffc90000007c58 EFLAGS: 00000202
RAX: 0000000000000101 RBX: 00000000ffffffff RCX: 0000000000000102
RDX: 0000000000000040 RSI: ffffc90000007cc0 RDI: ffff88811389e000
RBP: ffffc90000007d30 R08: ffffffff84780a7a R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000005
R13: ffff888136c294f0 R14: 1ffff92000000f94 R15: ffff888136c29370
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000133957000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1510
 expire_timers kernel/time/timer.c:1555 [inline]
 __run_timers+0x72a/0xa10 kernel/time/timer.c:1826
 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1839
 __do_softirq+0x1d8/0x661 kernel/softirq.c:617
 invoke_softirq kernel/softirq.c:472 [inline]
 __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:700
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:712
 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:preempt_schedule_irq+0xc2/0x140 kernel/sched/core.c:7056
Code: 4c 89 e7 e8 00 36 9f 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 34 f5 31 fc fb bf 01 00 00 00 <e8> a9 e4 ff ff fa bf 01 00 00 00 e8 be f6 31 fc 65 48 8b 1d 56 e3
RSP: 0018:ffffc90000cd6f40 EFLAGS: 00000246
RAX: 1ffff11023cbf3e1 RBX: 1ffff9200019adec RCX: ffffffff851f8900
RDX: 1ffff11023cbf28d RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc90000cd6fd8 R08: ffffffff87969000 R09: ffffffff87969008
R10: ffffffff87969018 R11: ffffffff87969010 R12: ffffc90000cd6f60
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff9200019ade8
 raw_irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:396
 irqentry_exit+0x30/0x40 kernel/entry/common.c:439
 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:update_stack_state+0x17f/0x460 arch/x86/kernel/unwind_frame.c:228
Code: ff ff ff e8 73 6a f7 ff 85 c0 0f 85 22 01 00 00 48 8b 85 48 ff ff ff 42 80 3c 30 00 74 08 4c 89 e7 e8 15 e7 84 00 4d 8b 24 24 <48> 8b 85 50 ff ff ff 42 80 3c 30 00 74 0c 48 8b bd 70 ff ff ff e8
RSP: 0018:ffffc90000cd70d0 EFLAGS: 00000246
RAX: 1ffff9200019ae45 RBX: ffffc90000cd7248 RCX: ffffc90000cd7ca0
RDX: 1ffff9200019ae46 RSI: ffffc90000cd7c90 RDI: ffffc90000cd7278
RBP: ffffc90000cd7188 R08: ffffc90000cd7308 R09: 000000000000000b
R10: ffffc90000cd7310 R11: dffffc0000000001 R12: ffffc90000cd0000
R13: ffffc90000cd7270 R14: dffffc0000000000 R15: ffffc90000cd7220
 unwind_next_frame+0x3cb/0x700 arch/x86/kernel/unwind_frame.c:315
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 save_stack+0xf6/0x1e0 mm/page_owner.c:147
 __reset_page_owner+0x54/0x190 mm/page_owner.c:168
 reset_page_owner include/linux/page_owner.h:26 [inline]
 free_pages_prepare mm/page_alloc.c:1498 [inline]
 free_pcp_prepare mm/page_alloc.c:1572 [inline]
 free_unref_page_prepare+0x83d/0x850 mm/page_alloc.c:3498
 free_unref_page+0xb2/0x5c0 mm/page_alloc.c:3594
 free_the_page mm/page_alloc.c:798 [inline]
 __free_pages+0x61/0xf0 mm/page_alloc.c:5803
 __vunmap+0x9f3/0xb60 mm/vmalloc.c:2728
 __vfree mm/vmalloc.c:2776 [inline]
 vfree+0x5c/0x80 mm/vmalloc.c:2807
 kcov_put kernel/kcov.c:428 [inline]
 kcov_close+0x2b/0x50 kernel/kcov.c:524
 __fput+0x3ab/0x870 fs/file_table.c:320
 ____fput+0x15/0x20 fs/file_table.c:348
 task_work_run+0x24d/0x2e0 kernel/task_work.c:179
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xbd5/0x2b80 kernel/exit.c:875
 do_group_exit+0x21a/0x2d0 kernel/exit.c:1025
 get_signal+0x169d/0x1820 kernel/signal.c:2880
 arch_do_signal_or_restart+0xb0/0x16f0 arch/x86/kernel/signal.c:871
 exit_to_user_mode_loop+0x74/0xa0 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:210
 irqentry_exit_to_user_mode+0x9/0x10 kernel/entry/common.c:316
 irqentry_exit+0x12/0x40 kernel/entry/common.c:419
 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0033:0x7f18209773b9
Code: Unable to access opcode bytes at 0x7f182097738f.
RSP: 002b:00007f1821797048 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 00007f1820b05f80 RCX: 00007f18209773b9
RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000004
RBP: 00007f18209e48e6 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f1820b05f80 R15: 00007ffc58279c08
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 1662 Comm: syz.2.245 Tainted: G        W          6.1.90-syzkaller-00122-g7fa70ede91bb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:check_preemption_disabled+0x1/0x110 lib/smp_processor_id.c:13
Code: ff ff 5d c3 cc cc cc cc cc 55 48 89 e5 48 c7 c7 e0 f9 c9 85 48 c7 c6 20 fa c9 85 e8 09 00 00 00 5d c3 0f 1f 80 00 00 00 00 55 <48> 89 e5 41 57 41 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00
RSP: 0018:ffffc900001affe0 EFLAGS: 00000046
RAX: ffffffff8184149e RBX: ffffffff86541a30 RCX: ffff888121403cc0
RDX: 0000000000010302 RSI: ffffffff85c9fa20 RDI: ffffffff85c9f9e0
RBP: ffffc900001afff0 R08: ffffffff87969040 R09: ffffffff87969048
R10: ffffffff87969058 R11: ffffffff87969050 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007eff967b96c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007eff96798d58 CR3: 00000001338ea000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 irq_work_run+0x13/0xf0 kernel/irq_work.c:252
 __sysvec_irq_work+0x63/0x1b0 arch/x86/kernel/irq_work.c:22
 sysvec_irq_work+0x41/0xb0 arch/x86/kernel/irq_work.c:17
 asm_sysvec_irq_work+0x1b/0x20 arch/x86/include/asm/idtentry.h:679
RIP: 0010:update_stack_state+0x19d/0x460 arch/x86/kernel/unwind_frame.c:228
Code: 4c 89 e7 e8 15 e7 84 00 4d 8b 24 24 48 8b 85 50 ff ff ff 42 80 3c 30 00 74 0c 48 8b bd 70 ff ff ff e8 f7 e6 84 00 4d 8b 6f 10 <48> 8b 45 b0 42 0f b6 04 30 84 c0 75 7a 45 8b 3f 45 85 ff 48 8b 45
RSP: 0018:ffffc900001b0110 EFLAGS: 00000246
RAX: 1ffff9200003604e RBX: ffffc900001b0288 RCX: ffffc900001b0f10
RDX: 1ffff9200003604e RSI: ffffc900001b0f00 RDI: ffffc900001b02b8
RBP: ffffc900001b01c8 R08: ffffc900001b0348 R09: 000000000000000c
R10: ffffc900001b0350 R11: dffffc0000000001 R12: ffffc900001a9000
R13: ffffc900001b1000 R14: dffffc0000000000 R15: ffffc900001b0260
 unwind_next_frame+0x3cb/0x700 arch/x86/kernel/unwind_frame.c:315
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 ref_tracker_free+0x101/0x7d0 lib/ref_tracker.c:121
 netdev_tracker_free include/linux/netdevice.h:4083 [inline]
 netdev_put include/linux/netdevice.h:4100 [inline]
 neigh_destroy+0x316/0x560 net/core/neighbour.c:912
 neigh_release include/net/neighbour.h:455 [inline]
 neigh_cleanup_and_release+0x73/0x1b0 net/core/neighbour.c:103
 neigh_del net/core/neighbour.c:225 [inline]
 neigh_remove_one+0x4d5/0x560 net/core/neighbour.c:246
 neigh_forced_gc net/core/neighbour.c:279 [inline]
 neigh_alloc net/core/neighbour.c:485 [inline]
 ___neigh_create+0x447/0x1db0 net/core/neighbour.c:648
 __neigh_create+0x32/0x40 net/core/neighbour.c:737
 ip6_finish_output2+0x9d0/0x1840 net/ipv6/ip6_output.c:125
 __ip6_finish_output net/ipv6/ip6_output.c:201 [inline]
 ip6_finish_output+0x50f/0xa60 net/ipv6/ip6_output.c:212
 NF_HOOK_COND include/linux/netfilter.h:294 [inline]
 ip6_output+0x1f7/0x4d0 net/ipv6/ip6_output.c:233
 dst_output include/net/dst.h:444 [inline]
 NF_HOOK include/linux/netfilter.h:305 [inline]
 ndisc_send_skb+0x7cf/0xdc0 net/ipv6/ndisc.c:509
 ndisc_send_rs+0x47d/0x5f0 net/ipv6/ndisc.c:719
 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3984
 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1510
 expire_timers kernel/time/timer.c:1555 [inline]
 __run_timers+0x72a/0xa10 kernel/time/timer.c:1826
 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1839
 __do_softirq+0x1d8/0x661 kernel/softirq.c:617
 invoke_softirq kernel/softirq.c:472 [inline]
 __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:700
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:712
 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:__schedule+0x0/0x1550 kernel/sched/core.c:6625
Code: 89 25 44 6d 2b 02 eb 05 e8 cd 33 58 fc 48 c7 c7 a0 24 a1 87 e8 e1 e4 01 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc cc <55> 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec e0 00
RSP: 0018:ffffc90000f17cd8 EFLAGS: 00000246
RAX: 1ffff110242808f1 RBX: 1ffff920001e2fa0 RCX: ffffffff851f8900
RDX: 1ffffffff0f2d208 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc90000f17d68 R08: ffffffff87969040 R09: ffffffff87969048
R10: ffffffff87969058 R11: ffffffff87969050 R12: ffffc90000f17d00
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff920001e2f9c
 raw_irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:396
 irqentry_exit+0x30/0x40 kernel/entry/common.c:439
 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:__sanitizer_cov_trace_pc+0x45/0x60 kernel/kcov.c:212
Code: ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 6c 0b 00 00 00 74 2c 8b 91 48 0b 00 00 83 fa 02 75 21 48 8b 91 50 0b 00 00 48 8b 32 <48> 8d 7e 01 8b 89 4c 0b 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2
RSP: 0018:ffffc90000f17e60 EFLAGS: 00000246
RAX: ffffffff81c63d85 RBX: 0000000000000000 RCX: ffff888121403cc0
RDX: ffffc90007c43000 RSI: 0000000000000032 RDI: ffff888113b62d80
RBP: ffffc90000f17e60 R08: ffffffff81cadcad R09: ffffed10200f5355
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000200006c0
R13: ffff888113b62d80 R14: ffff888113b62d81 R15: ffff888113b62d80
 fput+0x15/0x1b0 fs/file_table.c:370
 fdput include/linux/file.h:46 [inline]
 __do_sys_ioctl fs/ioctl.c:873 [inline]
 __se_sys_ioctl+0x177/0x190 fs/ioctl.c:856
 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
 x64_sys_call+0x98/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17
 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:0x7eff959773b9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007eff967b9048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007eff95b05f80 RCX: 00007eff959773b9
RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000004
RBP: 00007eff959e48e6 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007eff95b05f80 R15: 00007ffcd19c13b8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/31 17:07 android14-6.1 7fa70ede91bb 6fde257d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in ipv6_get_lladdr
* Struck through repros no longer work on HEAD.