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 PID: 28448 Comm: syz.1.5791 Not tainted 6.10.0-rc6-syzkaller-00215-g22f902dfc51e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:skb_segment+0x2e9b/0x46f0 net/core/skbuff.c:4700 Code: 44 24 18 48 89 44 24 38 44 8b ac 24 b0 00 00 00 e9 3c de ff ff e8 35 2a 44 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:ffffc90000a16f80 EFLAGS: 00010202 RAX: 000000000000000e RBX: 0000000000000070 RCX: ffff88802b023c00 RDX: 0000000080000302 RSI: ffff888062d1c8ee RDI: 000000000000ffff RBP: ffffc90000a171f0 R08: ffffffff8951db2c R09: ffffffff89572170 R10: 0000000000000002 R11: ffff88802b023c00 R12: dffffc0000000000 R13: 0000000000000005 R14: ffff888062d1c8e0 R15: 0000000000000000 FS: 00007f0fefa846c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002003f000 CR3: 000000007adf0000 CR4: 00000000003526f0 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+0x580/0x1120 net/core/dev.c:3659 __dev_queue_xmit+0x175c/0x3d30 net/core/dev.c:4385 dev_queue_xmit include/linux/netdevice.h:3095 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip6_finish_output2+0xfc0/0x1670 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+0x466/0x700 net/ipv6/inet6_connection_sock.c:135 __tcp_transmit_skb+0x1eda/0x3b80 net/ipv4/tcp_output.c:1466 tcp_transmit_skb net/ipv4/tcp_output.c:1484 [inline] tcp_write_xmit+0x18b3/0x69d0 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:2102 [inline] tcp_data_snd_check+0x7b/0xa0 net/ipv4/tcp_input.c:5684 tcp_rcv_state_process+0x1807/0x4570 net/ipv4/tcp_input.c:6909 tcp_v6_do_rcv+0x8b1/0x13b0 net/ipv6/tcp_ipv6.c:1669 tcp_v6_rcv+0x2555/0x2fc0 net/ipv6/tcp_ipv6.c:1916 ip6_protocol_deliver_rcu+0xc76/0x1570 net/ipv6/ip6_input.c:438 ip6_input_finish+0x186/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:5625 [inline] __netif_receive_skb+0x1ea/0x650 net/core/dev.c:5739 process_backlog+0x391/0x7d0 net/core/dev.c:6068 __napi_poll+0xcb/0x490 net/core/dev.c:6722 napi_poll net/core/dev.c:6791 [inline] net_rx_action+0x7bb/0x10a0 net/core/dev.c:6907 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:3031 tcp_recvmsg_locked+0xcef/0x2640 net/ipv4/tcp.c:2468 tcp_recvmsg+0x25d/0x920 net/ipv4/tcp.c:2590 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:2804 ___sys_recvmsg net/socket.c:2846 [inline] __sys_recvmsg+0x2f0/0x3e0 net/socket.c:2876 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:0x7f0feed75bd9 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:00007f0fefa84048 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 00007f0feef03f60 RCX: 00007f0feed75bd9 RDX: 0000000040000110 RSI: 00000000200008c0 RDI: 0000000000000007 RBP: 00007f0feede4aa1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0feef03f60 R15: 00007f0fef02fa68 Modules linked in: vkms_vblank_simulate: vblank timer overrun ---[ end trace 0000000000000000 ]--- RIP: 0010:skb_segment+0x2e9b/0x46f0 net/core/skbuff.c:4700 Code: 44 24 18 48 89 44 24 38 44 8b ac 24 b0 00 00 00 e9 3c de ff ff e8 35 2a 44 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:ffffc90000a16f80 EFLAGS: 00010202 RAX: 000000000000000e RBX: 0000000000000070 RCX: ffff88802b023c00 RDX: 0000000080000302 RSI: ffff888062d1c8ee RDI: 000000000000ffff RBP: ffffc90000a171f0 R08: ffffffff8951db2c R09: ffffffff89572170 R10: 0000000000000002 R11: ffff88802b023c00 R12: dffffc0000000000 R13: 0000000000000005 R14: ffff888062d1c8e0 R15: 0000000000000000 FS: 00007f0fefa846c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002003f000 CR3: 000000007adf0000 CR4: 00000000003526f0 ---------------- 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 35 2a 44 f8 call 0xf8442a4f 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)