Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 PID: 9911 Comm: syz.0.1490 Not tainted 6.10.0-rc6-syzkaller-00165-g0ec986ed7bab #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:reuseport_add_sock+0x27e/0x5e0 net/core/sock_reuseport.c:350 Code: 00 0f b7 5d 00 bf 01 00 00 00 89 de e8 1b 99 2e f8 83 fb 01 0f 85 a3 01 00 00 e8 6d 95 2e f8 49 8d 7e 12 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 4b 02 00 00 41 0f b7 5e 12 49 8d 7e 14 RSP: 0018:ffffc90009db7c98 EFLAGS: 00010202 RAX: 0000000000000002 RBX: ffff88807d98df98 RCX: ffff888021099e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000012 RBP: 0000000000000001 R08: ffffffff896790dd R09: 1ffffffff1f5a93d R10: dffffc0000000000 R11: fffffbfff1f5a93e R12: ffff88807d98dac0 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f9a9f6d66c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9a9f6d5fa8 CR3: 000000007ee6a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sctp_hash_endpoint net/sctp/input.c:762 [inline] sctp_hash_endpoint+0x52a/0x600 net/sctp/input.c:790 sctp_listen_start net/sctp/socket.c:8565 [inline] sctp_inet_listen+0x767/0xa20 net/sctp/socket.c:8620 __sys_listen+0x1b7/0x230 net/socket.c:1881 __do_sys_listen net/socket.c:1890 [inline] __se_sys_listen net/socket.c:1888 [inline] __x64_sys_listen+0x5a/0x70 net/socket.c:1888 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9a9e975bd9 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:00007f9a9f6d6048 EFLAGS: 00000246 ORIG_RAX: 0000000000000032 RAX: ffffffffffffffda RBX: 00007f9a9eb04110 RCX: 00007f9a9e975bd9 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000008 RBP: 00007f9a9e9e4aa1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a9eb04110 R15: 00007ffd3770d4f8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:reuseport_add_sock+0x27e/0x5e0 net/core/sock_reuseport.c:350 Code: 00 0f b7 5d 00 bf 01 00 00 00 89 de e8 1b 99 2e f8 83 fb 01 0f 85 a3 01 00 00 e8 6d 95 2e f8 49 8d 7e 12 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 4b 02 00 00 41 0f b7 5e 12 49 8d 7e 14 RSP: 0018:ffffc90009db7c98 EFLAGS: 00010202 RAX: 0000000000000002 RBX: ffff88807d98df98 RCX: ffff888021099e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000012 RBP: 0000000000000001 R08: ffffffff896790dd R09: 1ffffffff1f5a93d R10: dffffc0000000000 R11: fffffbfff1f5a93e R12: ffff88807d98dac0 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f9a9f6d66c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9a9f6d5fa8 CR3: 000000007ee6a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 0f add %cl,(%rdi) 2: b7 5d mov $0x5d,%bh 4: 00 bf 01 00 00 00 add %bh,0x1(%rdi) a: 89 de mov %ebx,%esi c: e8 1b 99 2e f8 call 0xf82e992c 11: 83 fb 01 cmp $0x1,%ebx 14: 0f 85 a3 01 00 00 jne 0x1bd 1a: e8 6d 95 2e f8 call 0xf82e958c 1f: 49 8d 7e 12 lea 0x12(%r14),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 4b 02 00 00 jne 0x282 37: 41 0f b7 5e 12 movzwl 0x12(%r14),%ebx 3c: 49 8d 7e 14 lea 0x14(%r14),%rdi