Oops: general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f]
CPU: 1 UID: 0 PID: 7508 Comm: syz.3.450 Not tainted 6.13.0-rc3-syzkaller-00044-gaef25be35d23 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024
RIP: 0010:sctp_v6_get_dst+0xc82/0x2070 net/sctp/ipv6.c:345
Code: 28 00 0f 85 dc 11 00 00 4d 8b 3f 4d 39 e7 0f 84 31 02 00 00 e8 ef d8 30 f7 49 8d 7f 3d 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 9f 11 00 00 41 0f b6 5f 3d
RSP: 0018:ffffc900031d7250 EFLAGS: 00010206
RAX: 0000000000000007 RBX: 0000000000000000 RCX: ffffc9000cc7a000
RDX: 0000000000000005 RSI: ffffffff8a687601 RDI: 000000000000003d
RBP: ffffc900031d7430 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88807accc088
R13: dffffc0000000000 R14: 000000000000000a R15: 0000000000000000
FS: 00007ff9fb5666c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c388bea CR3: 000000002f7f6000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
sctp_transport_route+0x12e/0x350 net/sctp/transport.c:455
sctp_assoc_add_peer+0x743/0x14b0 net/sctp/associola.c:662
sctp_process_param net/sctp/sm_make_chunk.c:2576 [inline]
sctp_process_init+0x2733/0x2d60 net/sctp/sm_make_chunk.c:2396
sctp_sf_do_unexpected_init.isra.0+0x96f/0x16e0 net/sctp/sm_statefuns.c:1612
sctp_do_sm+0x17f/0x5c90 net/sctp/sm_sideeffect.c:1166
sctp_assoc_bh_rcv+0x392/0x6f0 net/sctp/associola.c:1051
sctp_inq_push+0x1d8/0x270 net/sctp/inqueue.c:88
sctp_backlog_rcv+0x169/0x590 net/sctp/input.c:331
sk_backlog_rcv include/net/sock.h:1121 [inline]
__release_sock+0x35f/0x400 net/core/sock.c:3083
release_sock+0x5a/0x220 net/core/sock.c:3637
sctp_wait_for_connect+0x1c6/0x5c0 net/sctp/socket.c:9360
__sctp_connect+0x9c9/0xc60 net/sctp/socket.c:1247
sctp_connect net/sctp/socket.c:4819 [inline]
sctp_inet_connect+0x15f/0x200 net/sctp/socket.c:4834
__sys_connect_file+0x13e/0x1a0 net/socket.c:2055
__sys_connect+0x14f/0x170 net/socket.c:2074
__do_sys_connect net/socket.c:2080 [inline]
__se_sys_connect net/socket.c:2077 [inline]
__x64_sys_connect+0x72/0xb0 net/socket.c:2077
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff9fa785d29
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:00007ff9fb566038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007ff9fa975fa0 RCX: 00007ff9fa785d29
RDX: 0000000000000054 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 00007ff9fa801a20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff9fa975fa0 R15: 00007ffcb8efc788
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:sctp_v6_get_dst+0xc82/0x2070 net/sctp/ipv6.c:345
Code: 28 00 0f 85 dc 11 00 00 4d 8b 3f 4d 39 e7 0f 84 31 02 00 00 e8 ef d8 30 f7 49 8d 7f 3d 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 9f 11 00 00 41 0f b6 5f 3d
RSP: 0018:ffffc900031d7250 EFLAGS: 00010206
RAX: 0000000000000007 RBX: 0000000000000000 RCX: ffffc9000cc7a000
RDX: 0000000000000005 RSI: ffffffff8a687601 RDI: 000000000000003d
RBP: ffffc900031d7430 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88807accc088
R13: dffffc0000000000 R14: 000000000000000a R15: 0000000000000000
FS: 00007ff9fb5666c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7003348178 CR3: 000000002f7f6000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 28 00 sub %al,(%rax)
2: 0f 85 dc 11 00 00 jne 0x11e4
8: 4d 8b 3f mov (%r15),%r15
b: 4d 39 e7 cmp %r12,%r15
e: 0f 84 31 02 00 00 je 0x245
14: e8 ef d8 30 f7 call 0xf730d908
19: 49 8d 7f 3d lea 0x3d(%r15),%rdi
1d: 48 89 f8 mov %rdi,%rax
20: 48 89 fa mov %rdi,%rdx
23: 48 c1 e8 03 shr $0x3,%rax
27: 83 e2 07 and $0x7,%edx
* 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction
2f: 38 d0 cmp %dl,%al
31: 7f 08 jg 0x3b
33: 84 c0 test %al,%al
35: 0f 85 9f 11 00 00 jne 0x11da
3b: 41 0f b6 5f 3d movzbl 0x3d(%r15),%ebx