Oops: general protection fault, probably for non-canonical address 0xdffffc0000000014: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x00000000000000a0-0x00000000000000a7]
CPU: 0 UID: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.14.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: ipv6_addrconf addrconf_dad_work
RIP: 0010:rt6_get_pcpu_route net/ipv6/route.c:1411 [inline]
RIP: 0010:ip6_pol_route+0x4d1/0x15d0 net/ipv6/route.c:2264
Code: 89 f7 48 8b 03 65 4c 8b 30 31 ff 4c 89 f6 e8 76 27 25 f7 4d 85 f6 0f 84 da 00 00 00 49 8d 9e 98 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 12 0f 00 00 44 8b 3b 31 ff 44 89 fe e8
RSP: 0018:ffffc90000007380 EFLAGS: 00010206
RAX: 0000000000000014 RBX: 00000000000000a0 RCX: ffff888143ef9e00
RDX: 0000000000000100 RSI: 0000000000000008 RDI: 0000000000000000
RBP: ffffc900000074d0 R08: ffffffff8a9c9c2a R09: ffff88807a8b2000
R10: dffffc0000000000 R11: fffffbfff20778af R12: ffffc90000007450
R13: 1ffff92000000e8a R14: 0000000000000008 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fca2ac273b0 CR3: 00000000347e8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
pol_lookup_func include/net/ip6_fib.h:616 [inline]
fib6_rule_lookup+0x58c/0x790 net/ipv6/fib6_rules.c:119
ip6_route_input_lookup net/ipv6/route.c:2300 [inline]
ip6_route_input+0x859/0xd90 net/ipv6/route.c:2596
ip6_rcv_finish+0x140/0x3d0 net/ipv6/ip6_input.c:77
NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314
__netif_receive_skb_one_core net/core/dev.c:5893 [inline]
__netif_receive_skb+0x1ea/0x650 net/core/dev.c:6006
process_backlog+0x662/0x15b0 net/core/dev.c:6354
__napi_poll+0xcb/0x490 net/core/dev.c:7188
napi_poll net/core/dev.c:7257 [inline]
net_rx_action+0x89b/0x1240 net/core/dev.c:7379
handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561
do_softirq+0x11b/0x1e0 kernel/softirq.c:462
__local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:389
local_bh_enable include/linux/bottom_half.h:33 [inline]
rcu_read_unlock_bh include/linux/rcupdate.h:919 [inline]
__dev_queue_xmit+0x1775/0x3f50 net/core/dev.c:4676
neigh_output include/net/neighbour.h:539 [inline]
ip6_finish_output2+0x12bc/0x17c0 net/ipv6/ip6_output.c:141
ip6_finish_output+0x41e/0x840 net/ipv6/ip6_output.c:226
NF_HOOK include/linux/netfilter.h:314 [inline]
ndisc_send_skb+0xb52/0x1530 net/ipv6/ndisc.c:513
ndisc_send_ns+0xcc/0x160 net/ipv6/ndisc.c:671
addrconf_dad_work+0xb2d/0x16a0 net/ipv6/addrconf.c:4278
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xabe/0x18e0 kernel/workqueue.c:3319
worker_thread+0x870/0xd30 kernel/workqueue.c:3400
kthread+0x7a9/0x920 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:rt6_get_pcpu_route net/ipv6/route.c:1411 [inline]
RIP: 0010:ip6_pol_route+0x4d1/0x15d0 net/ipv6/route.c:2264
Code: 89 f7 48 8b 03 65 4c 8b 30 31 ff 4c 89 f6 e8 76 27 25 f7 4d 85 f6 0f 84 da 00 00 00 49 8d 9e 98 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 12 0f 00 00 44 8b 3b 31 ff 44 89 fe e8
RSP: 0018:ffffc90000007380 EFLAGS: 00010206
RAX: 0000000000000014 RBX: 00000000000000a0 RCX: ffff888143ef9e00
RDX: 0000000000000100 RSI: 0000000000000008 RDI: 0000000000000000
RBP: ffffc900000074d0 R08: ffffffff8a9c9c2a R09: ffff88807a8b2000
R10: dffffc0000000000 R11: fffffbfff20778af R12: ffffc90000007450
R13: 1ffff92000000e8a R14: 0000000000000008 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fca2ac273b0 CR3: 00000000347e8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 89 f7 mov %esi,%edi
2: 48 8b 03 mov (%rbx),%rax
5: 65 4c 8b 30 mov %gs:(%rax),%r14
9: 31 ff xor %edi,%edi
b: 4c 89 f6 mov %r14,%rsi
e: e8 76 27 25 f7 call 0xf7252789
13: 4d 85 f6 test %r14,%r14
16: 0f 84 da 00 00 00 je 0xf6
1c: 49 8d 9e 98 00 00 00 lea 0x98(%r14),%rbx
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 0f 85 12 0f 00 00 jne 0xf49
37: 44 8b 3b mov (%rbx),%r15d
3a: 31 ff xor %edi,%edi
3c: 44 89 fe mov %r15d,%esi
3f: e8 .byte 0xe8