------------[ cut here ]------------ Too BIG xdp->frame_sz = 4352 WARNING: CPU: 0 PID: 937 at net/core/filter.c:3848 ____bpf_xdp_adjust_tail net/core/filter.c:3848 [inline] WARNING: CPU: 0 PID: 937 at net/core/filter.c:3848 bpf_xdp_adjust_tail+0x19b/0x1b0 net/core/filter.c:3837 Modules linked in: CPU: 0 PID: 937 Comm: syz-executor.2 Not tainted 5.15.104-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/17/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 44 b4 90 f9 e9 d6 fe ff ff e8 7a 6c 47 f9 c6 05 63 8a 97 05 01 48 c7 c7 00 7b 79 8b 89 ee e8 45 51 13 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:ffffc90003587988 EFLAGS: 00010246 RAX: 99f47875e7ecec00 RBX: ffffc90003587b10 RCX: 0000000000040000 RDX: ffffc90002ec1000 RSI: 0000000000002481 RDI: 0000000000002482 RBP: 0000000000001100 R08: ffffffff8166101c R09: ffffed1017344f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880206c0f81 R13: ffff888038540f81 R14: ffffc90003587b18 R15: 1ffff920006b0f63 FS: 00007f9c6298c700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003000 CR3: 0000000079b40000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_prog_4cb3819d2b65d89a+0x15/0xca8 __bpf_prog_run include/linux/filter.h:618 [inline] bpf_prog_run_xdp include/linux/filter.h:800 [inline] tun_build_skb drivers/net/tun.c:1689 [inline] tun_get_user+0x3dbf/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:0x7f9c643cbe7f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 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 cc fd ff ff 48 RSP: 002b:00007f9c6298c130 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f9c64539f80 RCX: 00007f9c643cbe7f RDX: 0000000000000e41 RSI: 0000000020002280 RDI: 00000000000000c8 RBP: 00007f9c64475b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000e41 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffe8fdfe0bf R14: 00007f9c6298c300 R15: 0000000000022000