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: 5843 Comm: syz-executor Not tainted 6.13.0-rc4-syzkaller-00078-g059dd502b263 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:sctp_v4_get_dst+0xa6d/0x12d0 net/sctp/protocol.c:498 Code: 18 00 0f 85 e9 06 00 00 4d 8b 36 4d 39 e6 0f 84 c7 02 00 00 e8 34 f3 3c f7 49 8d 7e 3d 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <0f> b6 04 18 38 d0 7f 08 84 c0 0f 85 ad 06 00 00 45 0f b6 6e 3d 31 RSP: 0018:ffffc90000007570 EFLAGS: 00010206 RAX: 0000000000000007 RBX: dffffc0000000000 RCX: ffffffff8a5c5c4c RDX: 0000000000000005 RSI: ffffffff8a5c5c1c RDI: 000000000000003d RBP: ffffc90000007720 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000005 R12: ffff888059ab6088 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888026c323a4 FS: 00005555603c9500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f12299f27e0 CR3: 0000000034c32000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sctp_transport_route+0x12e/0x350 net/sctp/transport.c:455 sctp_packet_config+0x808/0xf40 net/sctp/output.c:103 sctp_outq_select_transport+0x1e4/0x740 net/sctp/outqueue.c:869 sctp_outq_flush_ctrl net/sctp/outqueue.c:903 [inline] sctp_outq_flush+0x493/0x3380 net/sctp/outqueue.c:1212 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1818 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1198 [inline] sctp_do_sm+0x179c/0x5c90 net/sctp/sm_sideeffect.c:1169 sctp_generate_timeout_event+0x1b8/0x3d0 net/sctp/sm_sideeffect.c:295 call_timer_fn+0x1a0/0x610 kernel/time/timer.c:1793 expire_timers kernel/time/timer.c:1844 [inline] __run_timers+0x6e8/0x930 kernel/time/timer.c:2418 __run_timer_base kernel/time/timer.c:2430 [inline] __run_timer_base kernel/time/timer.c:2422 [inline] run_timer_base+0x114/0x190 kernel/time/timer.c:2439 run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2449 handle_softirqs+0x213/0x8f0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__sanitizer_cov_trace_pc+0x18/0x70 kernel/kcov.c:213 Code: 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 48 8b 15 e4 8a 6a 7e 65 8b 05 e5 8a 6a 7e a9 00 01 ff 00 <48> 8b 34 24 74 1d f6 c4 01 74 43 a9 00 00 0f 00 75 3c a9 00 00 f0 RSP: 0018:ffffc90003e3f7e8 EFLAGS: 00000246 RAX: 0000000080000000 RBX: ffff88805af899b0 RCX: ffff88805af8a24f RDX: ffff88805d0a5a00 RSI: dffffc0000000000 RDI: ffff88805af89d32 RBP: ffffffff9a713500 R08: 0000000000000005 R09: 000000000000001f R10: 0000000000000000 R11: 0000000000000001 R12: ffff88805af89980 R13: 0000000000000001 R14: 0000000000000000 R15: ffff88805af89980 skb_peek include/linux/skbuff.h:2136 [inline] tcp_send_head include/net/tcp.h:2023 [inline] tcp_write_xmit+0x16b/0x8d10 net/ipv4/tcp_output.c:2760 __tcp_push_pending_frames+0xaf/0x390 net/ipv4/tcp_output.c:3012 tcp_push+0x221/0x6f0 net/ipv4/tcp.c:751 tcp_sendmsg_locked+0x28d1/0x3770 net/ipv4/tcp.c:1326 tcp_sendmsg+0x2e/0x50 net/ipv4/tcp.c:1358 inet_sendmsg+0xb9/0x140 net/ipv4/af_inet.c:851 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg net/socket.c:726 [inline] sock_write_iter+0x4ac/0x5b0 net/socket.c:1147 new_sync_write fs/read_write.c:586 [inline] vfs_write+0x5ae/0x1150 fs/read_write.c:679 ksys_write+0x207/0x250 fs/read_write.c:731 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:0x7f122c9847a0 Code: 40 00 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d a1 7d 1c 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffd012a5478 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007ffd012a59f0 RCX: 00007f122c9847a0 RDX: 0000000000000030 RSI: 00005555603e1d00 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00000000000003e0 R09: 00005555603e0960 R10: 00005555603e1934 R11: 0000000000000202 R12: 0000000000000030 R13: 00005555603e1d00 R14: 0000000000000000 R15: 00007ffd012a59d0 Modules linked in: vkms_vblank_simulate: vblank timer overrun ---[ end trace 0000000000000000 ]--- RIP: 0010:sctp_v4_get_dst+0xa6d/0x12d0 net/sctp/protocol.c:498 Code: 18 00 0f 85 e9 06 00 00 4d 8b 36 4d 39 e6 0f 84 c7 02 00 00 e8 34 f3 3c f7 49 8d 7e 3d 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <0f> b6 04 18 38 d0 7f 08 84 c0 0f 85 ad 06 00 00 45 0f b6 6e 3d 31 RSP: 0018:ffffc90000007570 EFLAGS: 00010206 RAX: 0000000000000007 RBX: dffffc0000000000 RCX: ffffffff8a5c5c4c RDX: 0000000000000005 RSI: ffffffff8a5c5c1c RDI: 000000000000003d RBP: ffffc90000007720 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000005 R12: ffff888059ab6088 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888026c323a4 FS: 00005555603c9500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f12299f27e0 CR3: 0000000034c32000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 18 00 sbb %al,(%rax) 2: 0f 85 e9 06 00 00 jne 0x6f1 8: 4d 8b 36 mov (%r14),%r14 b: 4d 39 e6 cmp %r12,%r14 e: 0f 84 c7 02 00 00 je 0x2db 14: e8 34 f3 3c f7 call 0xf73cf34d 19: 49 8d 7e 3d lea 0x3d(%r14),%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: 0f b6 04 18 movzbl (%rax,%rbx,1),%eax <-- trapping instruction 2e: 38 d0 cmp %dl,%al 30: 7f 08 jg 0x3a 32: 84 c0 test %al,%al 34: 0f 85 ad 06 00 00 jne 0x6e7 3a: 45 0f b6 6e 3d movzbl 0x3d(%r14),%r13d 3f: 31 .byte 0x31