WARNING: CPU: 0 PID: 27286 at net/core/filter.c:3848 ____bpf_xdp_adjust_tail net/core/filter.c:3848 [inline] WARNING: CPU: 0 PID: 27286 at net/core/filter.c:3848 bpf_xdp_adjust_tail+0x19b/0x1b0 net/core/filter.c:3837 Modules linked in: CPU: 0 PID: 27286 Comm: syz-executor.0 Not tainted 5.15.98-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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 94 e3 8c f9 e9 d6 fe ff ff e8 2a b0 43 f9 c6 05 74 9f 93 05 01 48 c7 c7 80 e8 79 8b 89 ee e8 d5 5d 0f 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:ffffc9000539f760 EFLAGS: 00010246 RAX: 86482fa90ad82d00 RBX: ffffc9000539f920 RCX: 0000000000040000 RDX: ffffc90003151000 RSI: 00000000000035db RDI: 00000000000035dc RBP: 0000000000020000 R08: ffffffff81668cfc R09: fffff52000a73e2d R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888047f2feef R13: ffff888047f2feef R14: ffffc9000539f928 R15: 1ffff92000a73f25 FS: 00007f3f50838700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020010000 CR3: 000000001d62b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_prog_4add87e5301a4105+0x12/0x400 __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run_xdp include/linux/filter.h:800 [inline] bpf_prog_run_generic_xdp+0x4ec/0x1030 net/core/dev.c:4729 netif_receive_generic_xdp net/core/dev.c:4815 [inline] do_xdp_generic+0x416/0x6c0 net/core/dev.c:4870 tun_get_user+0x2872/0x3fc0 drivers/net/tun.c:1915 tun_chr_write_iter+0x10c/0x1e0 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+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:0x7f3f52277e7f 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:00007f3f50838130 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f3f523e5f80 RCX: 00007f3f52277e7f RDX: 000000000000fdef RSI: 0000000020000300 RDI: 00000000000000c8 RBP: 00007f3f52321ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffd37b916ef R14: 00007f3f50838300 R15: 0000000000022000