------------[ cut here ]------------ Too BIG xdp->frame_sz = 131072 WARNING: CPU: 0 PID: 5020 at net/core/filter.c:4121 ____bpf_xdp_adjust_tail net/core/filter.c:4121 [inline] WARNING: CPU: 0 PID: 5020 at net/core/filter.c:4121 bpf_xdp_adjust_tail+0x466/0xa10 net/core/filter.c:4103 Modules linked in: CPU: 0 PID: 5020 Comm: syz-executor148 Not tainted 6.5.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:____bpf_xdp_adjust_tail net/core/filter.c:4121 [inline] RIP: 0010:bpf_xdp_adjust_tail+0x466/0xa10 net/core/filter.c:4103 Code: 84 db 74 0c 48 c7 c3 ea ff ff ff e9 5d fd ff ff e8 6f d0 54 f9 89 ee 48 c7 c7 80 cb 81 8b c6 05 6a 12 64 06 01 e8 3a 99 1b f9 <0f> 0b eb d6 e8 d1 bb a8 f9 e9 f1 fb ff ff e8 c7 bb a8 f9 e9 61 fc RSP: 0018:ffffc90003a3f928 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888078241dc0 RSI: ffffffff814d3c06 RDI: 0000000000000001 RBP: 0000000000020000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88807678feef R13: 0000000000000000 R14: ffffc90003a3faa0 R15: 0000000000000000 FS: 00005555569b1380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020010000 CR3: 00000000720db000 CR4: 0000000000350ef0 Call Trace: bpf_prog_4add87e5301a4105+0x1a/0x1c __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run_xdp include/linux/filter.h:775 [inline] bpf_prog_run_generic_xdp+0x57e/0x11e0 net/core/dev.c:4721 netif_receive_generic_xdp net/core/dev.c:4807 [inline] do_xdp_generic+0x35c/0x770 net/core/dev.c:4866 tun_get_user+0x2340/0x3ca0 drivers/net/tun.c:1919 tun_chr_write_iter+0xe8/0x210 drivers/net/tun.c:2043 call_write_iter include/linux/fs.h:1871 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x650/0xe40 fs/read_write.c:584 ksys_write+0x12f/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0edfdad640 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d 61 ea 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007fff7453b228 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f0edfdad640 RDX: 000000000000fdef RSI: 0000000020000580 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: bb1414ac00000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000