Oops: general protection fault, probably for non-canonical address 0xdffffc000000000e: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077]
CPU: 1 PID: 15996 Comm: syz.5.3491 Not tainted 6.10.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:skb_segment+0x19da/0x42b0 net/core/skbuff.c:4700
Code: 00 00 fe e9 bc ea ff ff e8 93 0d cf f8 48 8b 84 24 d0 00 00 00 48 8d 78 70 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 09 3c 03 7f 05 e8 85 9a 2b f9 48 8b 84 24 d0
RSP: 0018:ffffc90000a178f8 EFLAGS: 00010212
RAX: dffffc0000000000 RBX: 0000000000020048 RCX: ffffffff88c01512
RDX: 000000000000000e RSI: ffffffff88c025ed RDI: 0000000000000070
RBP: ffffc90000a17aa8 R08: 0000000000000005 R09: 000000000000ffff
R10: 000000000000ffff R11: aaaa0aaaaaaaaaaa R12: ffff88807ecdae40
R13: 000000000001fffe R14: 000000000001fffe R15: 000000000000ffff
FS: 00007ff6fbadf6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002003f000 CR3: 000000005a43a000 CR4: 0000000000350ef0
Call Trace:
tcp_gso_segment+0x35b/0x1850 net/ipv4/tcp_offload.c:167
tcp6_gso_segment net/ipv6/tcpv6_offload.c:178 [inline]
tcp6_gso_segment+0x1f9/0x12e0 net/ipv6/tcpv6_offload.c:151
ipv6_gso_segment+0x7b5/0x1c70 net/ipv6/ip6_offload.c:152
skb_mac_gso_segment+0x2a9/0x650 net/core/gso.c:53
__skb_gso_segment+0x333/0x710 net/core/gso.c:124
skb_gso_segment include/net/gso.h:83 [inline]
validate_xmit_skb+0x33a/0xee0 net/core/dev.c:3659
__dev_queue_xmit+0x6eb/0x4130 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+0x1100/0x18b0 net/ipv6/ip6_output.c:137
__ip6_finish_output net/ipv6/ip6_output.c:211 [inline]
ip6_finish_output+0x3f9/0x1300 net/ipv6/ip6_output.c:222
NF_HOOK_COND include/linux/netfilter.h:303 [inline]
ip6_output+0x1f8/0x540 net/ipv6/ip6_output.c:243
dst_output include/net/dst.h:450 [inline]
NF_HOOK include/linux/netfilter.h:314 [inline]
NF_HOOK include/linux/netfilter.h:308 [inline]
ip6_xmit+0x125f/0x2030 net/ipv6/ip6_output.c:358
inet6_csk_xmit+0x3ce/0x740 net/ipv6/inet6_connection_sock.c:135
__tcp_transmit_skb+0x1adb/0x3dc0 net/ipv4/tcp_output.c:1466
tcp_transmit_skb net/ipv4/tcp_output.c:1484 [inline]
tcp_write_xmit+0x12a6/0x8480 net/ipv4/tcp_output.c:2829
__tcp_push_pending_frames+0xaf/0x390 net/ipv4/tcp_output.c:3014
tcp_push_pending_frames include/net/tcp.h:2102 [inline]
tcp_data_snd_check net/ipv4/tcp_input.c:5693 [inline]
tcp_rcv_state_process+0xf38/0x4f30 net/ipv4/tcp_input.c:6918
tcp_v6_do_rcv+0x42f/0x16e0 net/ipv6/tcp_ipv6.c:1669
tcp_v6_rcv+0x2e24/0x3ad0 net/ipv6/tcp_ipv6.c:1916
ip6_protocol_deliver_rcu+0x188/0x1530 net/ipv6/ip6_input.c:438
ip6_input_finish+0x14f/0x2f0 net/ipv6/ip6_input.c:483
NF_HOOK include/linux/netfilter.h:314 [inline]
NF_HOOK include/linux/netfilter.h:308 [inline]
ip6_input+0xa1/0xd0 net/ipv6/ip6_input.c:492
dst_input include/net/dst.h:460 [inline]
ip6_rcv_finish net/ipv6/ip6_input.c:79 [inline]
NF_HOOK include/linux/netfilter.h:314 [inline]
NF_HOOK include/linux/netfilter.h:308 [inline]
ipv6_rcv+0x265/0x680 net/ipv6/ip6_input.c:310
__netif_receive_skb_one_core+0x12e/0x1e0 net/core/dev.c:5625
__netif_receive_skb+0x1d/0x160 net/core/dev.c:5739
process_backlog+0x133/0x760 net/core/dev.c:6068
__napi_poll.constprop.0+0xba/0x550 net/core/dev.c:6722
napi_poll net/core/dev.c:6791 [inline]
net_rx_action+0x9b6/0xf10 net/core/dev.c:6907
handle_softirqs+0x219/0x8f0 kernel/softirq.c:554
do_softirq kernel/softirq.c:455 [inline]
do_softirq+0xb2/0xf0 kernel/softirq.c:442
__local_bh_enable_ip+0x100/0x120 kernel/softirq.c:382
sk_wait_data+0x1ab/0x510 net/core/sock.c:3031
tcp_recvmsg_locked+0x80e/0x2700 net/ipv4/tcp.c:2468
tcp_recvmsg+0x12e/0x680 net/ipv4/tcp.c:2590
inet6_recvmsg+0x12b/0x6a0 net/ipv6/af_inet6.c:680
sock_recvmsg_nosec net/socket.c:1046 [inline]
sock_recvmsg+0xfe/0x250 net/socket.c:1068
____sys_recvmsg+0x21f/0x6b0 net/socket.c:2804
___sys_recvmsg+0x115/0x1a0 net/socket.c:2846
__sys_recvmsg+0x114/0x1e0 net/socket.c:2876
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:0x7ff6fad75bd9
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:00007ff6fbadf048 EFLAGS: 00000246 ORIG_RAX: 000000000000002f
RAX: ffffffffffffffda RBX: 00007ff6faf041e8 RCX: 00007ff6fad75bd9
RDX: 0000000040000110 RSI: 00000000200008c0 RDI: 000000000000000a
RBP: 00007ff6fade4e60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007ff6faf041e8 R15: 00007ffe7d6eb1b8
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:skb_segment+0x19da/0x42b0 net/core/skbuff.c:4700
Code: 00 00 fe e9 bc ea ff ff e8 93 0d cf f8 48 8b 84 24 d0 00 00 00 48 8d 78 70 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 09 3c 03 7f 05 e8 85 9a 2b f9 48 8b 84 24 d0
RSP: 0018:ffffc90000a178f8 EFLAGS: 00010212
RAX: dffffc0000000000 RBX: 0000000000020048 RCX: ffffffff88c01512
RDX: 000000000000000e RSI: ffffffff88c025ed RDI: 0000000000000070
RBP: ffffc90000a17aa8 R08: 0000000000000005 R09: 000000000000ffff
R10: 000000000000ffff R11: aaaa0aaaaaaaaaaa R12: ffff88807ecdae40
R13: 000000000001fffe R14: 000000000001fffe R15: 000000000000ffff
FS: 00007ff6fbadf6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002003f000 CR3: 000000005a43a000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 00 fe add %bh,%dh
2: e9 bc ea ff ff jmp 0xffffeac3
7: e8 93 0d cf f8 call 0xf8cf0d9f
c: 48 8b 84 24 d0 00 00 mov 0xd0(%rsp),%rax
13: 00
14: 48 8d 78 70 lea 0x70(%rax),%rdi
18: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
1f: fc ff df
22: 48 89 fa mov %rdi,%rdx
25: 48 c1 ea 03 shr $0x3,%rdx
* 29: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction
2d: 84 c0 test %al,%al
2f: 74 09 je 0x3a
31: 3c 03 cmp $0x3,%al
33: 7f 05 jg 0x3a
35: e8 85 9a 2b f9 call 0xf92b9abf
3a: 48 rex.W
3b: 8b .byte 0x8b
3c: 84 24 d0 test %ah,(%rax,%rdx,8)