------------[ cut here ]------------ Too BIG xdp->frame_sz = 131072 WARNING: CPU: 1 PID: 12668 at net/core/filter.c:3848 bpf_xdp_adjust_tail+0x1a8/0x1b0 net/core/filter.c:3837 Modules linked in: CPU: 1 PID: 12668 Comm: syz-executor.2 Not tainted 5.15.99-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : bpf_xdp_adjust_tail+0x1a8/0x1b0 net/core/filter.c:3837 lr : ____bpf_xdp_adjust_tail net/core/filter.c:3848 [inline] lr : bpf_xdp_adjust_tail+0x1a4/0x1b0 net/core/filter.c:3837 sp : ffff80001a9f7470 x29: ffff80001a9f7470 x28: ffff0001182ffec0 x27: 1ffff0000353eed9 x26: ffff00010046feef x25: dfff800000000000 x24: 0000000000020000 x23: ffff0001182efeef x22: ffffffffe8180000 x21: ffff80001a9f76c0 x20: ffff80001a9f76c8 x19: ffff800016dd0000 x18: 0000000000000201 x17: ff808000083386a0 x16: ffff800011a094a4 x15: ffff8000083386a0 x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000040000 x11: 0000000000005c0e x10: ffff80001dc4b000 x9 : 1304f2967e00ed00 x8 : 1304f2967e00ed00 x7 : ffffffffffff2450 x6 : ffffffffffff2408 x5 : ffff80001a9f6bd8 x4 : ffff800014a80f98 x3 : ffff8000085518d8 x2 : 0000000000000001 x1 : 0000000000000200 x0 : ffffffffffffffea Call trace: bpf_xdp_adjust_tail+0x1a8/0x1b0 net/core/filter.c:3837 bpf_prog_4cb3819d2b65d89a+0x40/0x3b8 bpf_dispatcher_xdp_func+0x30/0x44 net/core/filter.c:10686 __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run_xdp include/linux/filter.h:800 [inline] bpf_prog_run_generic_xdp+0x3e0/0xea8 net/core/dev.c:4729 netif_receive_generic_xdp net/core/dev.c:4815 [inline] do_xdp_generic+0x348/0x614 net/core/dev.c:4870 tun_get_user+0x1da4/0x3774 drivers/net/tun.c:1915 tun_chr_write_iter+0xfc/0x20c drivers/net/tun.c:2018 call_write_iter include/linux/fs.h:2101 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x87c/0xb3c fs/read_write.c:594 ksys_write+0x15c/0x26c fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:656 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 :584 irq event stamp: 551 hardirqs last enabled at (550): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (551): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (368): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (490): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 2e09c289eb11caf9 ]---