------------[ cut here ]------------ Too BIG xdp->frame_sz = 4352 WARNING: CPU: 1 PID: 16656 at net/core/filter.c:3848 ____bpf_xdp_adjust_tail net/core/filter.c:3848 [inline] WARNING: CPU: 1 PID: 16656 at net/core/filter.c:3848 bpf_xdp_adjust_tail+0x19b/0x1b0 net/core/filter.c:3837 Modules linked in: CPU: 1 PID: 16656 Comm: syz-executor.2 Not tainted 5.15.123-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:____bpf_xdp_adjust_tail net/core/filter.c:3848 [inline] RIP: 0010:bpf_xdp_adjust_tail+0x19b/0x1b0 net/core/filter.c:3837 Code: 0f 8c e0 fe ff ff e8 e4 9d 8c f9 e9 d6 fe ff ff e8 1a 29 43 f9 c6 05 1b d8 93 05 01 48 c7 c7 00 2b 7a 8b 89 ee e8 55 f5 0e f9 <0f> 0b 48 c7 c0 ea ff ff ff e9 7c ff ff ff 0f 1f 80 00 00 00 00 55 RSP: 0018:ffffc9000200f988 EFLAGS: 00010246 RAX: 3973905e8b2dad00 RBX: ffffc9000200fb10 RCX: 0000000000040000 RDX: ffffc90003c91000 RSI: 00000000000025cd RDI: 00000000000025ce RBP: 0000000000001100 R08: ffffffff8166490c R09: fffff52000401e71 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888095a18fa1 R13: ffff888095a18f81 R14: ffffc9000200fb18 R15: 1ffff92000401f63 FS: 00007efd9d0796c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa098c78988 CR3: 00000000129d0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_prog_5f065984e7f319a0+0x15/0x60c __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run_xdp include/linux/filter.h:800 [inline] tun_build_skb drivers/net/tun.c:1689 [inline] tun_get_user+0x2d76/0x40f0 drivers/net/tun.c:1796 tun_chr_write_iter+0x10c/0x1e0 drivers/net/tun.c:2018 call_write_iter include/linux/fs.h:2103 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xacf/0xe50 fs/read_write.c:594 ksys_write+0x1a2/0x2c0 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7efd9eaf682f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48 RSP: 002b:00007efd9d079090 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007efd9ec16f80 RCX: 00007efd9eaf682f RDX: 0000000000000e41 RSI: 00000000200004c0 RDI: 00000000000000c8 RBP: 00007efd9eb4347a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000e41 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000000000b R14: 00007efd9ec16f80 R15: 00007ffd0d6e2918