general protection fault, probably for non-canonical address 0xdffffc000000006c: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000360-0x0000000000000367]
CPU: 1 PID: 4402 Comm: kworker/u4:7 Not tainted 5.15.179-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: loop3 loop_rootcg_workfn
RIP: 0010:__in6_dev_get include/net/addrconf.h:321 [inline]
RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:412 [inline]
RIP: 0010:find_match+0xb4/0xb90 net/ipv6/route.c:741
Code: 08 48 89 df e8 7d c5 aa f8 4c 89 64 24 38 48 89 d8 bb 60 03 00 00 48 03 18 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 45 89 ef 74 08 48 89 df e8 4b c5 aa f8 4c 8b 23 e8 23
RSP: 0018:ffffc90000dcf7a8 EFLAGS: 00010206
RAX: 000000000000006c RBX: 0000000000000360 RCX: dffffc0000000000
RDX: ffff888022178000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88802951102f R08: ffffffff891fc95d R09: ffffc90000dcfb70
R10: ffffc90000dcfb60 R11: dffffc0000000001 R12: ffffc90000dcfb70
R13: 0000000000000002 R14: 1ffff110052a2205 R15: ffffc90000dcfb60
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcaa4625fe4 CR3: 0000000064692000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rt6_nh_find_match+0xda/0x140 net/ipv6/route.c:781
nexthop_for_each_fib6_nh+0x1c8/0x400 net/ipv4/nexthop.c:1242
__find_rr_leaf+0x590/0x8e0 net/ipv6/route.c:822
find_rr_leaf net/ipv6/route.c:850 [inline]
rt6_select net/ipv6/route.c:894 [inline]
fib6_table_lookup+0x40f/0xbb0 net/ipv6/route.c:2183
ip6_pol_route+0x1e7/0x15b0 net/ipv6/route.c:2219
pol_lookup_func include/net/ip6_fib.h:582 [inline]
fib6_rule_lookup+0x37c/0x620 net/ipv6/fib6_rules.c:120
ip6_route_output_flags+0xc1/0x310 net/ipv6/route.c:2640
ip6_route_output include/net/ip6_route.h:98 [inline]
ip6_dst_lookup_tail+0x19c/0x11a0 net/ipv6/ip6_output.c:1101
ip6_dst_lookup_flow+0xb5/0x170 net/ipv6/ip6_output.c:1231
geneve_get_v6_dst+0x852/0xb80 drivers/net/geneve.c:895
geneve6_xmit_skb drivers/net/geneve.c:1032 [inline]
geneve_xmit+0x843/0x33b0 drivers/net/geneve.c:1116
__netdev_start_xmit include/linux/netdevice.h:5027 [inline]
netdev_start_xmit include/linux/netdevice.h:5041 [inline]
xmit_one net/core/dev.c:3648 [inline]
dev_hard_start_xmit+0x298/0x7a0 net/core/dev.c:3664
__dev_queue_xmit+0x1c8e/0x32b0 net/core/dev.c:4287
neigh_hh_output include/net/neighbour.h:493 [inline]
neigh_output include/net/neighbour.h:507 [inline]
ip6_finish_output2+0xead/0x15a0 net/ipv6/ip6_output.c:130
dst_output include/net/dst.h:452 [inline]
NF_HOOK include/linux/netfilter.h:302 [inline]
ndisc_send_skb+0xb98/0x1520 net/ipv6/ndisc.c:513
addrconf_rs_timer+0x357/0x610 net/ipv6/addrconf.c:3959
call_timer_fn+0x16d/0x560 kernel/time/timer.c:1451
expire_timers kernel/time/timer.c:1496 [inline]
__run_timers+0x67c/0x890 kernel/time/timer.c:1767
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780
handle_softirqs+0x3a7/0x930 kernel/softirq.c:558
__do_softirq kernel/softirq.c:592 [inline]
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x157/0x240 kernel/softirq.c:641
irq_exit_rcu+0x5/0x20 kernel/softirq.c:653
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5627
Code: 2b 00 74 08 4c 89 f7 e8 0c ac 67 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:ffffc9000304f400 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92000609e8c RCX: ffffffff96a95f03
RDX: dffffc0000000000 RSI: ffffffff8aab3d00 RDI: ffffffff8af9fa80
RBP: ffffc9000304f550 R08: dffffc0000000000 R09: fffffbfff2131e3a
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000609e88
R13: dffffc0000000000 R14: ffffc9000304f460 R15: 0000000000000246
local_lock_acquire+0x29/0x170 include/linux/local_lock_internal.h:29
activate_page mm/swap.c:334 [inline]
mark_page_accessed+0x956/0x1330 mm/swap.c:422
shmem_file_read_iter+0x4be/0xc10 mm/shmem.c:2610
do_iter_readv_writev+0x594/0x7a0 fs/read_write.c:-1
do_iter_read+0x1ec/0x760 fs/read_write.c:790
lo_read_simple drivers/block/loop.c:392 [inline]
do_req_filebacked drivers/block/loop.c:663 [inline]
loop_handle_cmd drivers/block/loop.c:2234 [inline]
loop_process_work+0x1d18/0x2af0 drivers/block/loop.c:2274
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Modules linked in:
---[ end trace 235c7ba9406c7674 ]---
RIP: 0010:__in6_dev_get include/net/addrconf.h:321 [inline]
RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:412 [inline]
RIP: 0010:find_match+0xb4/0xb90 net/ipv6/route.c:741
Code: 08 48 89 df e8 7d c5 aa f8 4c 89 64 24 38 48 89 d8 bb 60 03 00 00 48 03 18 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 45 89 ef 74 08 48 89 df e8 4b c5 aa f8 4c 8b 23 e8 23
RSP: 0018:ffffc90000dcf7a8 EFLAGS: 00010206
RAX: 000000000000006c RBX: 0000000000000360 RCX: dffffc0000000000
RDX: ffff888022178000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88802951102f R08: ffffffff891fc95d R09: ffffc90000dcfb70
R10: ffffc90000dcfb60 R11: dffffc0000000001 R12: ffffc90000dcfb70
R13: 0000000000000002 R14: 1ffff110052a2205 R15: ffffc90000dcfb60
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcaa4625fe4 CR3: 0000000064692000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 08 48 89 or %cl,-0x77(%rax)
3: df e8 fucomip %st(0),%st
5: 7d c5 jge 0xffffffcc
7: aa stos %al,%es:(%rdi)
8: f8 clc
9: 4c 89 64 24 38 mov %r12,0x38(%rsp)
e: 48 89 d8 mov %rbx,%rax
11: bb 60 03 00 00 mov $0x360,%ebx
16: 48 03 18 add (%rax),%rbx
19: 48 89 d8 mov %rbx,%rax
1c: 48 c1 e8 03 shr $0x3,%rax
20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
27: fc ff df
* 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction
2e: 45 89 ef mov %r13d,%r15d
31: 74 08 je 0x3b
33: 48 89 df mov %rbx,%rdi
36: e8 4b c5 aa f8 call 0xf8aac586
3b: 4c 8b 23 mov (%rbx),%r12
3e: e8 .byte 0xe8
3f: 23 .byte 0x23