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: 8934 Comm: syz-executor.1 Not tainted 6.9.0-syzkaller-08284-gea5f6ad9ad96 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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 05 a8 4b 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:ffffc90000a16e20 EFLAGS: 00010202
RAX: 000000000000000e RBX: 0000000000000070 RCX: ffff888021e68000
RDX: 0000000080000302 RSI: ffff88806be3fa6e RDI: 000000000000ffff
RBP: ffffc90000a17090 R08: ffffffff894a64ec R09: ffffffff894fa970
R10: 0000000000000002 R11: ffff888021e68000 R12: dffffc0000000000
R13: 0000000000000005 R14: ffff88806be3fa60 R15: 0000000000000000
FS: 00007fa19fc8e6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002003f000 CR3: 0000000015b26000 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+0x580/0x1120 net/core/dev.c:3659
validate_xmit_skb_list+0x95/0x130 net/core/dev.c:3709
sch_direct_xmit+0x11a/0x5f0 net/sched/sch_generic.c:328
__dev_xmit_skb net/core/dev.c:3857 [inline]
__dev_queue_xmit+0x1ce4/0x3d30 net/core/dev.c:4359
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:5660
tcp_rcv_state_process+0x1807/0x4570 net/ipv4/tcp_input.c:6885
tcp_v6_do_rcv+0x8b1/0x13b0 net/ipv6/tcp_ipv6.c:1673
tcp_v6_rcv+0x2555/0x2fc0 net/ipv6/tcp_ipv6.c:1920
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:5624 [inline]
__netif_receive_skb+0x1ea/0x650 net/core/dev.c:5738
process_backlog+0x391/0x7d0 net/core/dev.c:6067
__napi_poll+0xcb/0x490 net/core/dev.c:6721
napi_poll net/core/dev.c:6790 [inline]
net_rx_action+0x7bb/0x10a0 net/core/dev.c:6906
handle_softirqs+0x2d6/0x990 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:2465
tcp_recvmsg+0x25d/0x920 net/ipv4/tcp.c:2587
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:2803
___sys_recvmsg net/socket.c:2845 [inline]
__sys_recvmsg+0x2f0/0x3e0 net/socket.c:2875
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa19ee7cee9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa19fc8e0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002f
RAX: ffffffffffffffda RBX: 00007fa19efabf80 RCX: 00007fa19ee7cee9
RDX: 0000000040000110 RSI: 00000000200008c0 RDI: 0000000000000009
RBP: 00007fa19eec949e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fa19efabf80 R15: 00007ffd2a50c068
Modules linked in:
---[ 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 05 a8 4b 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:ffffc90000a16e20 EFLAGS: 00010202
RAX: 000000000000000e RBX: 0000000000000070 RCX: ffff888021e68000
RDX: 0000000080000302 RSI: ffff88806be3fa6e RDI: 000000000000ffff
RBP: ffffc90000a17090 R08: ffffffff894a64ec R09: ffffffff894fa970
R10: 0000000000000002 R11: ffff888021e68000 R12: dffffc0000000000
R13: 0000000000000005 R14: ffff88806be3fa60 R15: 0000000000000000
FS: 00007fa19fc8e6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002003f000 CR3: 0000000015b26000 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 a8 4b f8 call 0xf84ba81f
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)