x_tables: duplicate underflow at hook 3 BUG: Bad page state in process syz.4.287 pfn:25c7e page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888025c7e738 pfn:0x25c7e flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88801b17b000 0000000000000000 raw: ffff888025c7e738 3fffffffffffffff 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6933, tgid 6932 (syz.4.287), ts 123566990341 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471 alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295 alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637 page_pool_alloc_netmems net/core/page_pool.c:688 [inline] page_pool_alloc_frag_netmem+0x561/0x9b0 net/core/page_pool.c:1090 page_pool_alloc_netmem include/net/page_pool/helpers.h:131 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0xc2c/0x18e0 net/core/skbuff.c:990 netif_skb_check_for_xdp net/core/dev.c:5619 [inline] netif_receive_generic_xdp net/core/dev.c:5660 [inline] do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 6926 tgid 6923 ts 123367859587 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962 __tlb_remove_table_free mm/mmu_gather.c:228 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x926/0x1260 kernel/rcu/tree.c:2919 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 Modules linked in: CPU: 0 UID: 0 PID: 6933 Comm: syz.4.287 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:647 free_page_is_bad mm/page_alloc.c:1082 [inline] __free_pages_prepare mm/page_alloc.c:1409 [inline] __free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962 bpf_xdp_shrink_data net/core/filter.c:4384 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408 ____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:779 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546 netif_receive_generic_xdp net/core/dev.c:5666 [inline] do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0f44b5e98e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f0f45a82fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0f45a836c0 RCX: 00007f0f44b5e98e RDX: 000000000000fdef RSI: 0000200000000200 RDI: 00000000000000c8 RBP: 00007f0f44c3503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0f44e26038 R14: 00007f0f44e25fa0 R15: 00007ffe25da14d8 BUG: Bad page state in process syz.4.287 pfn:57ad7 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x57ad7 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88801b17b000 0000000000000000 raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6933, tgid 6932 (syz.4.287), ts 123566971867 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471 alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295 alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:990 netif_skb_check_for_xdp net/core/dev.c:5619 [inline] netif_receive_generic_xdp net/core/dev.c:5660 [inline] do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 6926 tgid 6923 ts 123367900719 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962 __tlb_remove_table_free mm/mmu_gather.c:228 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x926/0x1260 kernel/rcu/tree.c:2919 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 Modules linked in: CPU: 0 UID: 0 PID: 6933 Comm: syz.4.287 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:647 free_page_is_bad mm/page_alloc.c:1082 [inline] __free_pages_prepare mm/page_alloc.c:1409 [inline] __free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962 bpf_xdp_shrink_data net/core/filter.c:4384 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408 ____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:779 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546 netif_receive_generic_xdp net/core/dev.c:5666 [inline] do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0f44b5e98e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f0f45a82fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0f45a836c0 RCX: 00007f0f44b5e98e RDX: 000000000000fdef RSI: 0000200000000200 RDI: 00000000000000c8 RBP: 00007f0f44c3503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0f44e26038 R14: 00007f0f44e25fa0 R15: 00007ffe25da14d8 BUG: Bad page state in process syz.4.287 pfn:68219 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x7fb521e9b pfn:0x68219 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88801b17b000 0000000000000000 raw: 00000007fb521e9b 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6933, tgid 6932 (syz.4.287), ts 123566954135 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471 alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295 alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:990 netif_skb_check_for_xdp net/core/dev.c:5619 [inline] netif_receive_generic_xdp net/core/dev.c:5660 [inline] do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 6926 tgid 6923 ts 123367940616 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962 __tlb_remove_table_free mm/mmu_gather.c:228 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x926/0x1260 kernel/rcu/tree.c:2919 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 Modules linked in: CPU: 0 UID: 0 PID: 6933 Comm: syz.4.287 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:647 free_page_is_bad mm/page_alloc.c:1082 [inline] __free_pages_prepare mm/page_alloc.c:1409 [inline] __free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962 bpf_xdp_shrink_data net/core/filter.c:4384 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408 ____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:779 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546 netif_receive_generic_xdp net/core/dev.c:5666 [inline] do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0f44b5e98e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f0f45a82fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0f45a836c0 RCX: 00007f0f44b5e98e RDX: 000000000000fdef RSI: 0000200000000200 RDI: 00000000000000c8 RBP: 00007f0f44c3503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0f44e26038 R14: 00007f0f44e25fa0 R15: 00007ffe25da14d8 BUG: Bad page state in process syz.4.287 pfn:57b77 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888057b77c80 pfn:0x57b77 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88801b17b000 0000000000000000 raw: ffff888057b77c80 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6933, tgid 6932 (syz.4.287), ts 123566936048 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471 alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295 alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:990 netif_skb_check_for_xdp net/core/dev.c:5619 [inline] netif_receive_generic_xdp net/core/dev.c:5660 [inline] do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 6926 tgid 6923 ts 123367980257 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962 __tlb_remove_table_free mm/mmu_gather.c:228 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x926/0x1260 kernel/rcu/tree.c:2919 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 Modules linked in: CPU: 0 UID: 0 PID: 6933 Comm: syz.4.287 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:647 free_page_is_bad mm/page_alloc.c:1082 [inline] __free_pages_prepare mm/page_alloc.c:1409 [inline] __free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962 bpf_xdp_shrink_data net/core/filter.c:4384 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408 ____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:779 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546 netif_receive_generic_xdp net/core/dev.c:5666 [inline] do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0f44b5e98e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f0f45a82fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0f45a836c0 RCX: 00007f0f44b5e98e RDX: 000000000000fdef RSI: 0000200000000200 RDI: 00000000000000c8 RBP: 00007f0f44c3503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0f44e26038 R14: 00007f0f44e25fa0 R15: 00007ffe25da14d8 BUG: Bad page state in process syz.4.287 pfn:69a31 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888069a31000 pfn:0x69a31 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88801b17b000 0000000000000000 raw: ffff888069a31000 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6933, tgid 6932 (syz.4.287), ts 123566918342 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471 alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295 alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:990 netif_skb_check_for_xdp net/core/dev.c:5619 [inline] netif_receive_generic_xdp net/core/dev.c:5660 [inline] do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 6926 tgid 6923 ts 123368019304 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962 __tlb_remove_table_free mm/mmu_gather.c:228 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x926/0x1260 kernel/rcu/tree.c:2919 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 Modules linked in: CPU: 0 UID: 0 PID: 6933 Comm: syz.4.287 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:647 free_page_is_bad mm/page_alloc.c:1082 [inline] __free_pages_prepare mm/page_alloc.c:1409 [inline] __free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962 bpf_xdp_shrink_data net/core/filter.c:4384 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408 ____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:779 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546 netif_receive_generic_xdp net/core/dev.c:5666 [inline] do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0f44b5e98e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f0f45a82fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0f45a836c0 RCX: 00007f0f44b5e98e RDX: 000000000000fdef RSI: 0000200000000200 RDI: 00000000000000c8 RBP: 00007f0f44c3503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0f44e26038 R14: 00007f0f44e25fa0 R15: 00007ffe25da14d8 BUG: Bad page state in process syz.4.287 pfn:69a3b page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888069a3b000 pfn:0x69a3b flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88801b17b000 0000000000000000 raw: ffff888069a3b000 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6933, tgid 6932 (syz.4.287), ts 123566900713 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471 alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295 alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:990 netif_skb_check_for_xdp net/core/dev.c:5619 [inline] netif_receive_generic_xdp net/core/dev.c:5660 [inline] do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 6926 tgid 6923 ts 123368057700 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962 __tlb_remove_table_free mm/mmu_gather.c:228 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x926/0x1260 kernel/rcu/tree.c:2919 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 Modules linked in: CPU: 0 UID: 0 PID: 6933 Comm: syz.4.287 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:647 free_page_is_bad mm/page_alloc.c:1082 [inline] __free_pages_prepare mm/page_alloc.c:1409 [inline] __free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962 bpf_xdp_shrink_data net/core/filter.c:4384 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408 ____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:779 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546 netif_receive_generic_xdp net/core/dev.c:5666 [inline] do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0f44b5e98e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f0f45a82fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0f45a836c0 RCX: 00007f0f44b5e98e RDX: 000000000000fdef RSI: 0000200000000200 RDI: 00000000000000c8 RBP: 00007f0f44c3503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0f44e26038 R14: 00007f0f44e25fa0 R15: 00007ffe25da14d8 BUG: Bad page state in process syz.4.287 pfn:69a35 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888069a35a00 pfn:0x69a35 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88801b17b000 0000000000000000 raw: ffff888069a35a00 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6933, tgid 6932 (syz.4.287), ts 123566883527 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471 alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295 alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:990 netif_skb_check_for_xdp net/core/dev.c:5619 [inline] netif_receive_generic_xdp net/core/dev.c:5660 [inline] do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 6926 tgid 6923 ts 123368097275 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962 __tlb_remove_table_free mm/mmu_gather.c:228 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x926/0x1260 kernel/rcu/tree.c:2919 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 Modules linked in: CPU: 0 UID: 0 PID: 6933 Comm: syz.4.287 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:647 free_page_is_bad mm/page_alloc.c:1082 [inline] __free_pages_prepare mm/page_alloc.c:1409 [inline] __free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962 bpf_xdp_shrink_data net/core/filter.c:4384 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408 ____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:779 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546 netif_receive_generic_xdp net/core/dev.c:5666 [inline] do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0f44b5e98e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f0f45a82fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0f45a836c0 RCX: 00007f0f44b5e98e RDX: 000000000000fdef RSI: 0000200000000200 RDI: 00000000000000c8 RBP: 00007f0f44c3503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0f44e26038 R14: 00007f0f44e25fa0 R15: 00007ffe25da14d8 BUG: Bad page state in process syz.4.287 pfn:69a36 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888069a36000 pfn:0x69a36 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88801b17b000 0000000000000000 raw: ffff888069a36000 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6933, tgid 6932 (syz.4.287), ts 123566865694 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471 alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295 alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:990 netif_skb_check_for_xdp net/core/dev.c:5619 [inline] netif_receive_generic_xdp net/core/dev.c:5660 [inline] do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 6926 tgid 6923 ts 123368136683 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962 __tlb_remove_table_free mm/mmu_gather.c:228 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x926/0x1260 kernel/rcu/tree.c:2919 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 Modules linked in: CPU: 0 UID: 0 PID: 6933 Comm: syz.4.287 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:647 free_page_is_bad mm/page_alloc.c:1082 [inline] __free_pages_prepare mm/page_alloc.c:1409 [inline] __free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962 bpf_xdp_shrink_data net/core/filter.c:4384 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408 ____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:779 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546 netif_receive_generic_xdp net/core/dev.c:5666 [inline] do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0f44b5e98e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f0f45a82fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0f45a836c0 RCX: 00007f0f44b5e98e RDX: 000000000000fdef RSI: 0000200000000200 RDI: 00000000000000c8 RBP: 00007f0f44c3503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0f44e26038 R14: 00007f0f44e25fa0 R15: 00007ffe25da14d8 BUG: Bad page state in process syz.4.287 pfn:69a37 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888069a37000 pfn:0x69a37 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88801b17b000 0000000000000000 raw: ffff888069a37000 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6933, tgid 6932 (syz.4.287), ts 123566848385 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471 alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295 alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:990 netif_skb_check_for_xdp net/core/dev.c:5619 [inline] netif_receive_generic_xdp net/core/dev.c:5660 [inline] do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 6926 tgid 6923 ts 123368192667 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962 __tlb_remove_table_free mm/mmu_gather.c:228 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x926/0x1260 kernel/rcu/tree.c:2919 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 Modules linked in: CPU: 0 UID: 0 PID: 6933 Comm: syz.4.287 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:647 free_page_is_bad mm/page_alloc.c:1082 [inline] __free_pages_prepare mm/page_alloc.c:1409 [inline] __free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962 bpf_xdp_shrink_data net/core/filter.c:4384 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408 ____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:779 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546 netif_receive_generic_xdp net/core/dev.c:5666 [inline] do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0f44b5e98e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f0f45a82fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0f45a836c0 RCX: 00007f0f44b5e98e RDX: 000000000000fdef RSI: 0000200000000200 RDI: 00000000000000c8 RBP: 00007f0f44c3503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0f44e26038 R14: 00007f0f44e25fa0 R15: 00007ffe25da14d8 BUG: Bad page state in process syz.4.287 pfn:77ee7 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x77ee7 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88801b17b000 0000000000000000 raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6933, tgid 6932 (syz.4.287), ts 123566831183 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471 alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295 alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:990 netif_skb_check_for_xdp net/core/dev.c:5619 [inline] netif_receive_generic_xdp net/core/dev.c:5660 [inline] do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 6926 tgid 6923 ts 123368249231 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962 __tlb_remove_table_free mm/mmu_gather.c:228 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x926/0x1260 kernel/rcu/tree.c:2919 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 Modules linked in: CPU: 0 UID: 0 PID: 6933 Comm: syz.4.287 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:647 free_page_is_bad mm/page_alloc.c:1082 [inline] __free_pages_prepare mm/page_alloc.c:1409 [inline] __free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962 bpf_xdp_shrink_data net/core/filter.c:4384 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408 ____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:779 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546 netif_receive_generic_xdp net/core/dev.c:5666 [inline] do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0f44b5e98e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f0f45a82fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0f45a836c0 RCX: 00007f0f44b5e98e RDX: 000000000000fdef RSI: 0000200000000200 RDI: 00000000000000c8 RBP: 00007f0f44c3503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0f44e26038 R14: 00007f0f44e25fa0 R15: 00007ffe25da14d8 BUG: Bad page state in process syz.4.287 pfn:7e68c page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807e68cb40 pfn:0x7e68c flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88801b17b000 0000000000000000 raw: ffff88807e68cb40 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6933, tgid 6932 (syz.4.287), ts 123566813102 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471 alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295 alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:990 netif_skb_check_for_xdp net/core/dev.c:5619 [inline] netif_receive_generic_xdp net/core/dev.c:5660 [inline] do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 6905 tgid 6905 ts 123383974230 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962 tlb_batch_list_free mm/mmu_gather.c:161 [inline] tlb_finish_mmu+0x13e/0x220 mm/mmu_gather.c:552 exit_mmap+0x4b2/0x9f0 mm/mmap.c:1328 __mmput+0x118/0x420 kernel/fork.c:1193 exit_mm+0x221/0x2d0 kernel/exit.c:617 do_exit+0x6cd/0x2360 kernel/exit.c:999 do_group_exit+0x22d/0x2f0 kernel/exit.c:1154 __do_sys_exit_group kernel/exit.c:1165 [inline] __se_sys_exit_group kernel/exit.c:1163 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1163 x64_sys_call+0x18c6/0x18d0 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 0 UID: 0 PID: 6933 Comm: syz.4.287 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:647 free_page_is_bad mm/page_alloc.c:1082 [inline] __free_pages_prepare mm/page_alloc.c:1409 [inline] __free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962 bpf_xdp_shrink_data net/core/filter.c:4384 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408 ____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:779 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546 netif_receive_generic_xdp net/core/dev.c:5666 [inline] do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0f44b5e98e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f0f45a82fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0f45a836c0 RCX: 00007f0f44b5e98e RDX: 000000000000fdef RSI: 0000200000000200 RDI: 00000000000000c8 RBP: 00007f0f44c3503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0f44e26038 R14: 00007f0f44e25fa0 R15: 00007ffe25da14d8 BUG: Bad page state in process syz.4.287 pfn:69310 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888069310000 pfn:0x69310 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88801b17b000 0000000000000000 raw: ffff888069310000 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6933, tgid 6932 (syz.4.287), ts 123566797003 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471 alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295 alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:990 netif_skb_check_for_xdp net/core/dev.c:5619 [inline] netif_receive_generic_xdp net/core/dev.c:5660 [inline] do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 6905 tgid 6905 ts 123383989809 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962 tlb_batch_list_free mm/mmu_gather.c:161 [inline] tlb_finish_mmu+0x13e/0x220 mm/mmu_gather.c:552 exit_mmap+0x4b2/0x9f0 mm/mmap.c:1328 __mmput+0x118/0x420 kernel/fork.c:1193 exit_mm+0x221/0x2d0 kernel/exit.c:617 do_exit+0x6cd/0x2360 kernel/exit.c:999 do_group_exit+0x22d/0x2f0 kernel/exit.c:1154 __do_sys_exit_group kernel/exit.c:1165 [inline] __se_sys_exit_group kernel/exit.c:1163 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1163 x64_sys_call+0x18c6/0x18d0 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 0 UID: 0 PID: 6933 Comm: syz.4.287 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:647 free_page_is_bad mm/page_alloc.c:1082 [inline] __free_pages_prepare mm/page_alloc.c:1409 [inline] __free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962 bpf_xdp_shrink_data net/core/filter.c:4384 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408 ____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:779 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546 netif_receive_generic_xdp net/core/dev.c:5666 [inline] do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728 tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0f44b5e98e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f0f45a82fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0f45a836c0 RCX: 00007f0f44b5e98e RDX: 000000000000fdef RSI: 0000200000000200 RDI: 00000000000000c8 RBP: 00007f0f44c3503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0f44e26038 R14: 00007f0f44e25fa0 R15: 00007ffe25da14d8