------------[ cut here ]------------ WARNING: CPU: 1 PID: 6210 at net/core/page_pool.c:594 __page_pool_put_page net/core/page_pool.c:594 [inline] WARNING: CPU: 1 PID: 6210 at net/core/page_pool.c:594 page_pool_put_defragged_page+0x9a/0x9b0 net/core/page_pool.c:641 Modules linked in: CPU: 1 PID: 6210 Comm: syz.1.106 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:__page_pool_put_page net/core/page_pool.c:594 [inline] RIP: 0010:page_pool_put_defragged_page+0x9a/0x9b0 net/core/page_pool.c:641 Code: e8 cb 56 0a f9 eb 47 e8 c4 56 0a f9 eb 40 65 44 8b 25 d6 4d 87 77 31 ff 44 89 e6 e8 60 5a 0a f9 45 85 e4 74 09 e8 a6 56 0a f9 <0f> 0b eb 20 65 44 8b 25 b2 4d 87 77 31 ff 44 89 e6 e8 40 5a 0a f9 RSP: 0018:ffffc9000b846990 EFLAGS: 00010087 RAX: ffffffff887b3f5f RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000e860000 RSI: 0000000000031c86 RDI: 0000000000031c87 RBP: dffffc0000000000 R08: ffff888028dc3c00 R09: 0000000000000004 R10: 0000000000000003 R11: 0000000000000002 R12: 0000000000000000 R13: ffffea0001fab980 R14: ffff888077c86000 R15: 00000000ffffffff FS: 00007ffbdb8c36c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ee17ff8 CR3: 000000005a4a3000 CR4: 00000000003506e0 Call Trace: tun_ptr_free drivers/net/tun.c:617 [inline] __ptr_ring_swap_queue include/linux/ptr_ring.h:570 [inline] ptr_ring_resize_multiple include/linux/ptr_ring.h:641 [inline] tun_queue_resize drivers/net/tun.c:3685 [inline] tun_device_event+0xa66/0x1030 drivers/net/tun.c:3705 notifier_call_chain+0x197/0x390 kernel/notifier.c:93 call_netdevice_notifiers_extack net/core/dev.c:2064 [inline] call_netdevice_notifiers net/core/dev.c:2078 [inline] dev_change_tx_queue_len+0x121/0x260 net/core/dev.c:8871 do_setlink+0xf93/0x3fb0 net/core/rtnetlink.c:2928 rtnl_group_changelink net/core/rtnetlink.c:3454 [inline] __rtnl_newlink net/core/rtnetlink.c:3713 [inline] rtnl_newlink+0x10af/0x2020 net/core/rtnetlink.c:3750 rtnetlink_rcv_msg+0x7c7/0xf10 net/core/rtnetlink.c:6475 netlink_rcv_skb+0x216/0x480 net/netlink/af_netlink.c:2545 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x751/0x8d0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x8c1/0xbe0 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x5bf/0x950 net/socket.c:2595 ___sys_sendmsg+0x220/0x290 net/socket.c:2649 __sys_sendmsg net/socket.c:2678 [inline] __do_sys_sendmsg net/socket.c:2687 [inline] __se_sys_sendmsg+0x1a5/0x270 net/socket.c:2685 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ffbda98ebe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffbdb8c3038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007ffbdabc6090 RCX: 00007ffbda98ebe9 RDX: 0000000000000000 RSI: 0000200000000040 RDI: 000000000000000c RBP: 00007ffbdaa11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffbdabc6128 R14: 00007ffbdabc6090 R15: 00007ffe4dc31ee8