Oops: general protection fault, probably for non-canonical address 0xdffffc000000000e: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077] CPU: 0 UID: 0 PID: 20819 Comm: syz.0.5040 Not tainted 6.10.0-syzkaller-12030-g66ebbdfdeb09 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:skb_segment+0x2e9b/0x46f0 net/core/skbuff.c:4722 Code: 44 24 18 48 89 44 24 38 44 8b ac 24 b0 00 00 00 e9 3c de ff ff e8 c5 4c 42 f8 48 8b 44 24 20 48 8d 58 70 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 3b 0a 00 00 8b 03 48 89 84 24 88 00 00 RSP: 0018:ffffc9000974e3a0 EFLAGS: 00010202 RAX: 000000000000000e RBX: 0000000000000070 RCX: 0000000000040000 RDX: ffffc9001a22c000 RSI: 0000000000018dfa RDI: 0000000000018dfb RBP: ffffc9000974e610 R08: ffffffff895113cc R09: ffffffff895673f0 R10: 0000000000000002 R11: ffff88805943bc00 R12: dffffc0000000000 R13: 0000000000000003 R14: ffff888075390b60 R15: 0000000000000000 FS: 00007f288ed586c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020188000 CR3: 000000002c150000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tcp_gso_segment+0x37c/0x1c00 net/ipv4/tcp_offload.c:167 ipv6_gso_segment+0xb55/0x2120 net/ipv6/ip6_offload.c:152 skb_mac_gso_segment+0x383/0x740 net/core/gso.c:53 __skb_gso_segment+0x324/0x4c0 net/core/gso.c:124 skb_gso_segment include/net/gso.h:83 [inline] validate_xmit_skb+0x585/0x1120 net/core/dev.c:3661 __dev_queue_xmit+0x17a4/0x3e90 net/core/dev.c:4415 dev_queue_xmit include/linux/netdevice.h:3105 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip6_finish_output2+0xfc2/0x1680 net/ipv6/ip6_output.c:137 ip6_finish_output+0x41e/0x810 net/ipv6/ip6_output.c:222 NF_HOOK include/linux/netfilter.h:314 [inline] ip6_xmit+0xefe/0x17f0 net/ipv6/ip6_output.c:358 inet6_csk_xmit+0x468/0x710 net/ipv6/inet6_connection_sock.c:135 __tcp_transmit_skb+0x1ed1/0x3b30 net/ipv4/tcp_output.c:1466 tcp_transmit_skb net/ipv4/tcp_output.c:1484 [inline] tcp_write_xmit+0x18b4/0x6a10 net/ipv4/tcp_output.c:2829 __tcp_push_pending_frames+0x9b/0x360 net/ipv4/tcp_output.c:3014 tcp_push_pending_frames include/net/tcp.h:2106 [inline] tcp_data_snd_check net/ipv4/tcp_input.c:5702 [inline] tcp_rcv_established+0x1026/0x2020 net/ipv4/tcp_input.c:6227 tcp_v6_do_rcv+0x5c8/0x13a0 net/ipv6/tcp_ipv6.c:1640 sk_backlog_rcv include/net/sock.h:1111 [inline] __release_sock+0x1c8/0x350 net/core/sock.c:3004 __sk_flush_backlog+0x36/0xc0 net/core/sock.c:3024 sk_flush_backlog include/net/sock.h:1174 [inline] tcp_sendmsg_locked+0x3cbb/0x4e10 net/ipv4/tcp.c:1160 tcp_sendmsg+0x30/0x50 net/ipv4/tcp.c:1354 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0xef/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2204 __do_sys_sendto net/socket.c:2216 [inline] __se_sys_sendto net/socket.c:2212 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2212 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:0x7f288df75f19 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:00007f288ed58048 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f288e105f60 RCX: 00007f288df75f19 RDX: 00000000d0d0c2ac RSI: 0000000020000080 RDI: 0000000000000003 RBP: 00007f288dfe4e68 R08: 0000000000000000 R09: 0000000000000042 R10: 0000000000000040 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f288e105f60 R15: 00007ffe79899448 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:skb_segment+0x2e9b/0x46f0 net/core/skbuff.c:4722 Code: 44 24 18 48 89 44 24 38 44 8b ac 24 b0 00 00 00 e9 3c de ff ff e8 c5 4c 42 f8 48 8b 44 24 20 48 8d 58 70 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 3b 0a 00 00 8b 03 48 89 84 24 88 00 00 RSP: 0018:ffffc9000974e3a0 EFLAGS: 00010202 RAX: 000000000000000e RBX: 0000000000000070 RCX: 0000000000040000 RDX: ffffc9001a22c000 RSI: 0000000000018dfa RDI: 0000000000018dfb RBP: ffffc9000974e610 R08: ffffffff895113cc R09: ffffffff895673f0 R10: 0000000000000002 R11: ffff88805943bc00 R12: dffffc0000000000 R13: 0000000000000003 R14: ffff888075390b60 R15: 0000000000000000 FS: 00007f288ed586c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020188000 CR3: 000000002c150000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 44 24 18 rex.R and $0x18,%al 3: 48 89 44 24 38 mov %rax,0x38(%rsp) 8: 44 8b ac 24 b0 00 00 mov 0xb0(%rsp),%r13d f: 00 10: e9 3c de ff ff jmp 0xffffde51 15: e8 c5 4c 42 f8 call 0xf8424cdf 1a: 48 8b 44 24 20 mov 0x20(%rsp),%rax 1f: 48 8d 58 70 lea 0x70(%rax),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 3b 0a 00 00 jne 0xa72 37: 8b 03 mov (%rbx),%eax 39: 48 rex.W 3a: 89 .byte 0x89 3b: 84 24 88 test %ah,(%rax,%rcx,4)