------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:2047! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 11642 Comm: syz-executor.3 Not tainted 6.3.0-syzkaller-07940-g6686317855c6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:pskb_expand_head+0xc4a/0x1170 net/core/skbuff.c:2047 Code: 8d 75 ff e9 0f fe ff ff e8 a3 ef 7e f9 48 c7 c6 80 29 5d 8b 4c 89 f7 e8 04 4b ba f9 0f 0b e8 8d ef 7e f9 0f 0b e8 86 ef 7e f9 <0f> 0b e8 7f ef 7e f9 48 89 df e8 87 50 ff ff e9 75 f5 ff ff e8 6d RSP: 0018:ffffc9000380f850 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807d77b000 RCX: 0000000000000000 RDX: ffff888023580000 RSI: ffffffff8804cfea RDI: 0000000000000005 RBP: 0000000000000002 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000002 R11: 0000000000000001 R12: 0000000000000820 R13: dffffc0000000000 R14: ffff88807d77b0d0 R15: 0000000000000000 FS: 0000555555bda400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7173ed56be CR3: 0000000048f8f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_ensure_writable net/core/skbuff.c:6001 [inline] skb_ensure_writable+0x2cb/0x450 net/core/skbuff.c:5993 __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:1773 sk_psock_verdict_data_ready+0xad/0xd0 net/core/skmsg.c:1220 tcp_data_ready+0x10a/0x520 net/ipv4/tcp_input.c:5006 tcp_rcv_established+0x194f/0x1f90 net/ipv4/tcp_input.c:5986 tcp_v4_do_rcv+0x65a/0x9c0 net/ipv4/tcp_ipv4.c:1721 sk_backlog_rcv include/net/sock.h:1113 [inline] __release_sock+0x133/0x3b0 net/core/sock.c:2917 release_sock+0x58/0x1b0 net/core/sock.c:3484 sock_map_close+0x240/0x870 net/core/sock_map.c:1646 inet_release+0x132/0x270 net/ipv4/af_inet.c:426 __sock_release+0xcd/0x290 net/socket.c:653 sock_close+0x1c/0x20 net/socket.c:1397 __fput+0x27c/0xa90 fs/file_table.c:321 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f33e3e3e01b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffeee124930 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f33e3e3e01b RDX: 00007f33e3a01458 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f33e3fad980 R08: 0000000000000000 R09: 00007f33e3a00000 R10: 00007f33e3a01460 R11: 0000000000000293 R12: 0000000000065a09 R13: 00007ffeee124a30 R14: 00007f33e3fabf80 R15: 0000000000000032 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pskb_expand_head+0xc4a/0x1170 net/core/skbuff.c:2047 Code: 8d 75 ff e9 0f fe ff ff e8 a3 ef 7e f9 48 c7 c6 80 29 5d 8b 4c 89 f7 e8 04 4b ba f9 0f 0b e8 8d ef 7e f9 0f 0b e8 86 ef 7e f9 <0f> 0b e8 7f ef 7e f9 48 89 df e8 87 50 ff ff e9 75 f5 ff ff e8 6d RSP: 0018:ffffc9000380f850 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807d77b000 RCX: 0000000000000000 RDX: ffff888023580000 RSI: ffffffff8804cfea RDI: 0000000000000005 RBP: 0000000000000002 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000002 R11: 0000000000000001 R12: 0000000000000820 R13: dffffc0000000000 R14: ffff88807d77b0d0 R15: 0000000000000000 FS: 0000555555bda400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 0000000048f8f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400