------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:2034! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 21005 Comm: syz-executor.3 Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/16/2023 RIP: 0010:pskb_expand_head+0xc4a/0x1170 net/core/skbuff.c:2034 Code: 8d 75 ff e9 0f fe ff ff e8 d3 1e 7a f9 48 c7 c6 80 46 5e 8b 4c 89 f7 e8 c4 e2 b5 f9 0f 0b e8 bd 1e 7a f9 0f 0b e8 b6 1e 7a f9 <0f> 0b e8 af 1e 7a f9 48 89 df e8 07 54 ff ff e9 75 f5 ff ff e8 9d RSP: 0018:ffffc90014f3f538 EFLAGS: 00010216 RAX: 000000000000d622 RBX: ffff8880282cd000 RCX: ffffc9000c131000 RDX: 0000000000040000 RSI: ffffffff880a04fa RDI: 0000000000000005 RBP: 0000000000000002 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000820 R13: dffffc0000000000 R14: ffff8880282cd0d0 R15: 0000000000000000 FS: 00007fc177222700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdfe5c53000 CR3: 0000000076cf0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_ensure_writable net/core/skbuff.c:5983 [inline] skb_ensure_writable+0x2cb/0x450 net/core/skbuff.c:5975 __bpf_try_make_writable net/core/filter.c:1658 [inline] sk_skb_try_make_writable net/core/filter.c:1881 [inline] ____sk_skb_pull_data net/core/filter.c:1895 [inline] sk_skb_pull_data+0x8b/0xa0 net/core/filter.c:1884 bpf_prog_53daab6e9cefb4fc+0x1a/0x1c bpf_dispatcher_nop_func include/linux/bpf.h:1168 [inline] __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run include/linux/filter.h:607 [inline] bpf_prog_run_pin_on_cpu include/linux/filter.h:624 [inline] sk_psock_verdict_recv+0x36d/0x7a0 net/core/skmsg.c:1201 tcp_read_skb+0x177/0x670 net/ipv4/tcp.c:1775 sk_psock_verdict_data_ready+0xad/0xd0 net/core/skmsg.c:1220 tcp_data_ready+0x10a/0x520 net/ipv4/tcp_input.c:5006 tcp_data_queue+0x25d3/0x4c50 net/ipv4/tcp_input.c:5080 tcp_rcv_established+0x829/0x1f90 net/ipv4/tcp_input.c:6019 tcp_v4_do_rcv+0x65a/0x9c0 net/ipv4/tcp_ipv4.c:1722 sk_backlog_rcv include/net/sock.h:1113 [inline] __release_sock+0x133/0x3b0 net/core/sock.c:2917 __sk_flush_backlog+0x26/0x40 net/core/sock.c:2937 sk_flush_backlog include/net/sock.h:1203 [inline] tcp_sendmsg_locked+0x2395/0x2960 net/ipv4/tcp.c:1325 tcp_sendmsg+0x2f/0x50 net/ipv4/tcp.c:1487 inet_sendmsg+0x9d/0xe0 net/ipv4/af_inet.c:825 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg+0xde/0x190 net/socket.c:747 __sys_sendto+0x23a/0x340 net/socket.c:2144 __do_sys_sendto net/socket.c:2156 [inline] __se_sys_sendto net/socket.c:2152 [inline] __x64_sys_sendto+0xe1/0x1b0 net/socket.c:2152 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc17648c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc177222168 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fc1765abf80 RCX: 00007fc17648c169 RDX: 0000000000100000 RSI: 0000000020000280 RDI: 0000000000000003 RBP: 00007fc1764e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd3011391f R14: 00007fc177222300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pskb_expand_head+0xc4a/0x1170 net/core/skbuff.c:2034 Code: 8d 75 ff e9 0f fe ff ff e8 d3 1e 7a f9 48 c7 c6 80 46 5e 8b 4c 89 f7 e8 c4 e2 b5 f9 0f 0b e8 bd 1e 7a f9 0f 0b e8 b6 1e 7a f9 <0f> 0b e8 af 1e 7a f9 48 89 df e8 07 54 ff ff e9 75 f5 ff ff e8 9d RSP: 0018:ffffc90014f3f538 EFLAGS: 00010216 RAX: 000000000000d622 RBX: ffff8880282cd000 RCX: ffffc9000c131000 RDX: 0000000000040000 RSI: ffffffff880a04fa RDI: 0000000000000005 RBP: 0000000000000002 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000820 R13: dffffc0000000000 R14: ffff8880282cd0d0 R15: 0000000000000000 FS: 00007fc177222700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdfe5fbc000 CR3: 0000000076cf0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400