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: 1 UID: 0 PID: 16600 Comm: syz.0.1897 Not tainted 6.11.0-rc6-syzkaller-00070-gc763c4339688 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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 05 98 11 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:ffffc90000a16e40 EFLAGS: 00010202 RAX: 000000000000000e RBX: 0000000000000070 RCX: ffff88802fa63c00 RDX: 0000000000000100 RSI: ffff88805707506e RDI: 000000000000ffff RBP: ffffc90000a170b0 R08: ffffffff8981d25c R09: ffffffff898732e0 R10: 0000000000000002 R11: ffff88802fa63c00 R12: dffffc0000000000 R13: 0000000000000005 R14: ffff888057075060 R15: 0000000000000000 FS: 00007fb237f7f6c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002001f000 CR3: 0000000024c52000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tcp_gso_segment+0x3e3/0x1d20 net/ipv4/tcp_offload.c:170 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+0xfc9/0x1730 net/ipv6/ip6_output.c:141 ip6_finish_output+0x41e/0x810 net/ipv6/ip6_output.c:226 NF_HOOK include/linux/netfilter.h:314 [inline] ip6_xmit+0xef8/0x18b0 net/ipv6/ip6_output.c:366 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+0x7b/0xa0 net/ipv4/tcp_input.c:5707 tcp_rcv_state_process+0x180a/0x4570 net/ipv4/tcp_input.c:6938 tcp_v6_do_rcv+0x8bc/0x13a0 net/ipv6/tcp_ipv6.c:1665 tcp_v6_rcv+0x253a/0x2fb0 net/ipv6/tcp_ipv6.c:1912 ip6_protocol_deliver_rcu+0xc79/0x1580 net/ipv6/ip6_input.c:438 ip6_input_finish+0x187/0x2d0 net/ipv6/ip6_input.c:483 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 __netif_receive_skb_one_core net/core/dev.c:5661 [inline] __netif_receive_skb+0x1ea/0x650 net/core/dev.c:5775 process_backlog+0x662/0x15b0 net/core/dev.c:6108 __napi_poll+0xcb/0x490 net/core/dev.c:6772 napi_poll net/core/dev.c:6841 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6963 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 do_softirq+0x11b/0x1e0 kernel/softirq.c:455 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382 sk_wait_data+0x250/0x510 net/core/sock.c:3052 tcp_recvmsg_locked+0xcef/0x2640 net/ipv4/tcp.c:2471 tcp_recvmsg+0x25d/0x920 net/ipv4/tcp.c:2593 inet6_recvmsg+0x16a/0x730 net/ipv6/af_inet6.c:680 sock_recvmsg_nosec net/socket.c:1046 [inline] sock_recvmsg+0x109/0x280 net/socket.c:1068 ____sys_recvmsg+0x1db/0x470 net/socket.c:2816 ___sys_recvmsg net/socket.c:2858 [inline] __sys_recvmsg+0x2f0/0x3e0 net/socket.c:2888 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:0x7fb23717cef9 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:00007fb237f7f038 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 00007fb237336130 RCX: 00007fb23717cef9 RDX: 0000000040000110 RSI: 00000000200008c0 RDI: 0000000000000008 RBP: 00007fb2371ef01e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fb237336130 R15: 00007fb23745fa28 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 05 98 11 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:ffffc90000a16e40 EFLAGS: 00010202 RAX: 000000000000000e RBX: 0000000000000070 RCX: ffff88802fa63c00 RDX: 0000000000000100 RSI: ffff88805707506e RDI: 000000000000ffff RBP: ffffc90000a170b0 R08: ffffffff8981d25c R09: ffffffff898732e0 R10: 0000000000000002 R11: ffff88802fa63c00 R12: dffffc0000000000 R13: 0000000000000005 R14: ffff888057075060 R15: 0000000000000000 FS: 00007fb237f7f6c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002001f000 CR3: 0000000024c52000 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 05 98 11 f8 call 0xf811981f 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)