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: 0 UID: 0 PID: 28212 Comm: syz.0.10219 Not tainted 6.13.0-rc4-syzkaller-00004-gf07044dd0df0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:sctp_copy_local_addr_list+0x2bc/0x5a0 net/sctp/protocol.c:142 Code: 20 00 0f 85 ac 02 00 00 48 8b 1b 4c 39 fb 0f 84 98 01 00 00 e8 e5 d5 3c f7 48 8d 7b 3d 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <42> 0f b6 04 20 38 d0 7f 08 84 c0 0f 85 86 02 00 00 44 0f b6 6b 3d RSP: 0018:ffffc9000e4978d0 EFLAGS: 00010206 RAX: 0000000000000007 RBX: 0000000000000000 RCX: ffffc9000e77f000 RDX: 0000000000000005 RSI: ffffffff8a5c796b RDI: 000000000000003d RBP: ffffc9000e4979b0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 00000008aa1414ac R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88807f06ea88 FS: 00007fe2ba7346c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe2ba733f98 CR3: 0000000030e5e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sctp_copy_one_addr net/sctp/bind_addr.c:466 [inline] sctp_bind_addr_copy+0xe0/0x530 net/sctp/bind_addr.c:56 sctp_connect_new_asoc+0x1d8/0x790 net/sctp/socket.c:1095 sctp_sendmsg_new_asoc net/sctp/socket.c:1693 [inline] sctp_sendmsg+0x162a/0x1f10 net/sctp/socket.c:2004 inet_sendmsg+0x119/0x140 net/ipv4/af_inet.c:851 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg net/socket.c:726 [inline] __sys_sendto+0x42a/0x4f0 net/socket.c:2197 __do_sys_sendto net/socket.c:2204 [inline] __se_sys_sendto net/socket.c:2200 [inline] __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2200 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:0x7fe2b9985d29 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:00007fe2ba734038 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fe2b9b75fa0 RCX: 00007fe2b9985d29 RDX: 0000000000000401 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fe2b9a01aa8 R08: 0000000020000000 R09: 000000000000001c R10: 0000000000000101 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe2b9b75fa0 R15: 00007fff1cc95488 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:sctp_copy_local_addr_list+0x2bc/0x5a0 net/sctp/protocol.c:142 Code: 20 00 0f 85 ac 02 00 00 48 8b 1b 4c 39 fb 0f 84 98 01 00 00 e8 e5 d5 3c f7 48 8d 7b 3d 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <42> 0f b6 04 20 38 d0 7f 08 84 c0 0f 85 86 02 00 00 44 0f b6 6b 3d RSP: 0018:ffffc9000e4978d0 EFLAGS: 00010206 RAX: 0000000000000007 RBX: 0000000000000000 RCX: ffffc9000e77f000 RDX: 0000000000000005 RSI: ffffffff8a5c796b RDI: 000000000000003d RBP: ffffc9000e4979b0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 00000008aa1414ac R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88807f06ea88 FS: 00007fe2ba7346c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe325b452d8 CR3: 0000000030e5e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 20 00 and %al,(%rax) 2: 0f 85 ac 02 00 00 jne 0x2b4 8: 48 8b 1b mov (%rbx),%rbx b: 4c 39 fb cmp %r15,%rbx e: 0f 84 98 01 00 00 je 0x1ac 14: e8 e5 d5 3c f7 call 0xf73cd5fe 19: 48 8d 7b 3d lea 0x3d(%rbx),%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 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 2f: 38 d0 cmp %dl,%al 31: 7f 08 jg 0x3b 33: 84 c0 test %al,%al 35: 0f 85 86 02 00 00 jne 0x2c1 3b: 44 0f b6 6b 3d movzbl 0x3d(%rbx),%r13d