------------[ cut here ]------------ Too BIG xdp->frame_sz = 16384 WARNING: CPU: 0 PID: 22446 at net/core/filter.c:4121 ____bpf_xdp_adjust_tail net/core/filter.c:4121 [inline] WARNING: CPU: 0 PID: 22446 at net/core/filter.c:4121 bpf_xdp_adjust_tail+0x46b/0x9f0 net/core/filter.c:4103 Modules linked in: CPU: 0 PID: 22446 Comm: syz-executor.5 Not tainted 6.4.0-next-20230630-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:____bpf_xdp_adjust_tail net/core/filter.c:4121 [inline] RIP: 0010:bpf_xdp_adjust_tail+0x46b/0x9f0 net/core/filter.c:4103 Code: ff 89 de e8 c7 27 5f f9 84 db 0f 85 4f fd ff ff e8 da 2b 5f f9 89 ee 48 c7 c7 c0 eb 80 8b c6 05 8c b6 6e 06 01 e8 35 7c 26 f9 <0f> 0b e9 2e fd ff ff e8 29 5d b2 f9 e9 e9 fb ff ff e8 1f 5d b2 f9 RSP: 0018:ffffc900036bf8f8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc9000d081000 RDX: 0000000000040000 RSI: ffffffff814c65a7 RDI: 0000000000000001 RBP: 0000000000004000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 00000000000059d0 R12: ffffffffffffffea R13: ffff888038908fc1 R14: 0000000000000000 R15: ffffc900036bfab0 FS: 00007f98c65fc700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001001 CR3: 000000003a704000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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+0x578/0x1210 net/core/dev.c:4721 netif_receive_generic_xdp+0x2e8/0x7d0 net/core/dev.c:4807 do_xdp_generic net/core/dev.c:4866 [inline] do_xdp_generic+0x9a/0x1b0 net/core/dev.c:4859 tun_get_user+0x1bf3/0x3b30 drivers/net/tun.c:1919 tun_chr_write_iter+0xe5/0x200 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+0x981/0xda0 fs/read_write.c:584 ksys_write+0x122/0x250 fs/read_write.c:637 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:0x7f98c583dfff 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:00007f98c65fc130 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f98c59abf80 RCX: 00007f98c583dfff RDX: 0000000000000ec1 RSI: 0000000020001000 RDI: 00000000000000c8 RBP: 00007f98c58d7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000ec1 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffd2c91961f R14: 00007f98c65fc300 R15: 0000000000022000