BUG: Bad page state in process syz.0.17 pfn:330f5 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880330f5dc0 pfn:0x330f5 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88802229b000 0000000000000000 raw: ffff8880330f5dc0 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 6530, tgid 6529 (syz.0.17), ts 131359863181, free_ts 129255598185 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148 __alloc_pages_noprof mm/page_alloc.c:5182 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x127/0x740 net/core/page_pool.c:569 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+0xb47/0x13e0 net/core/skbuff.c:951 netif_skb_check_for_xdp net/core/dev.c:5341 [inline] netif_receive_generic_xdp net/core/dev.c:5382 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page last free pid 6478 tgid 6478 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2895 pagetable_free include/linux/mm.h:2898 [inline] pagetable_dtor_free include/linux/mm.h:2996 [inline] __tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220 __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0xcab/0x1770 kernel/rcu/tree.c:2861 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 Modules linked in: CPU: 1 UID: 0 PID: 6530 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:650 free_page_is_bad mm/page_alloc.c:1083 [inline] free_pages_prepare mm/page_alloc.c:1387 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2895 bpf_xdp_shrink_data net/core/filter.c:4181 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201 ____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5272 netif_receive_generic_xdp net/core/dev.c:5388 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8b6a38d69f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 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 4c 93 02 00 48 RSP: 002b:00007f8b6b1b3000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8b6a5b5fa0 RCX: 00007f8b6a38d69f RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 00007f8b6a411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f8b6a5b6038 R14: 00007f8b6a5b5fa0 R15: 00007fff3db8b248 BUG: Bad page state in process syz.0.17 pfn:67739 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x67739 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88802229b000 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 6530, tgid 6529 (syz.0.17), ts 131359853718, free_ts 129255634756 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148 __alloc_pages_noprof mm/page_alloc.c:5182 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x127/0x740 net/core/page_pool.c:569 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+0xb47/0x13e0 net/core/skbuff.c:951 netif_skb_check_for_xdp net/core/dev.c:5341 [inline] netif_receive_generic_xdp net/core/dev.c:5382 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page last free pid 6478 tgid 6478 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2895 pagetable_free include/linux/mm.h:2898 [inline] pagetable_dtor_free include/linux/mm.h:2996 [inline] __tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220 __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0xcab/0x1770 kernel/rcu/tree.c:2861 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 Modules linked in: CPU: 1 UID: 0 PID: 6530 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:650 free_page_is_bad mm/page_alloc.c:1083 [inline] free_pages_prepare mm/page_alloc.c:1387 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2895 bpf_xdp_shrink_data net/core/filter.c:4181 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201 ____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5272 netif_receive_generic_xdp net/core/dev.c:5388 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8b6a38d69f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 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 4c 93 02 00 48 RSP: 002b:00007f8b6b1b3000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8b6a5b5fa0 RCX: 00007f8b6a38d69f RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 00007f8b6a411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f8b6a5b6038 R14: 00007f8b6a5b5fa0 R15: 00007fff3db8b248 BUG: Bad page state in process syz.0.17 pfn:31105 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888031105c80 pfn:0x31105 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88802229b000 0000000000000000 raw: ffff888031105c80 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 6530, tgid 6529 (syz.0.17), ts 131359844223, free_ts 129255668158 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148 __alloc_pages_noprof mm/page_alloc.c:5182 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x127/0x740 net/core/page_pool.c:569 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+0xb47/0x13e0 net/core/skbuff.c:951 netif_skb_check_for_xdp net/core/dev.c:5341 [inline] netif_receive_generic_xdp net/core/dev.c:5382 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page last free pid 6478 tgid 6478 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2895 pagetable_free include/linux/mm.h:2898 [inline] pagetable_dtor_free include/linux/mm.h:2996 [inline] __tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220 __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0xcab/0x1770 kernel/rcu/tree.c:2861 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 Modules linked in: CPU: 1 UID: 0 PID: 6530 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:650 free_page_is_bad mm/page_alloc.c:1083 [inline] free_pages_prepare mm/page_alloc.c:1387 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2895 bpf_xdp_shrink_data net/core/filter.c:4181 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201 ____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5272 netif_receive_generic_xdp net/core/dev.c:5388 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8b6a38d69f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 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 4c 93 02 00 48 RSP: 002b:00007f8b6b1b3000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8b6a5b5fa0 RCX: 00007f8b6a38d69f RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 00007f8b6a411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f8b6a5b6038 R14: 00007f8b6a5b5fa0 R15: 00007fff3db8b248 BUG: Bad page state in process syz.0.17 pfn:31102 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x31102 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88802229b000 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 6530, tgid 6529 (syz.0.17), ts 131359834567, free_ts 129255701144 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148 __alloc_pages_noprof mm/page_alloc.c:5182 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x127/0x740 net/core/page_pool.c:569 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+0xb47/0x13e0 net/core/skbuff.c:951 netif_skb_check_for_xdp net/core/dev.c:5341 [inline] netif_receive_generic_xdp net/core/dev.c:5382 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page last free pid 6478 tgid 6478 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2895 pagetable_free include/linux/mm.h:2898 [inline] pagetable_dtor_free include/linux/mm.h:2996 [inline] __tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220 __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0xcab/0x1770 kernel/rcu/tree.c:2861 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 Modules linked in: CPU: 1 UID: 0 PID: 6530 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:650 free_page_is_bad mm/page_alloc.c:1083 [inline] free_pages_prepare mm/page_alloc.c:1387 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2895 bpf_xdp_shrink_data net/core/filter.c:4181 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201 ____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5272 netif_receive_generic_xdp net/core/dev.c:5388 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8b6a38d69f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 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 4c 93 02 00 48 RSP: 002b:00007f8b6b1b3000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8b6a5b5fa0 RCX: 00007f8b6a38d69f RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 00007f8b6a411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f8b6a5b6038 R14: 00007f8b6a5b5fa0 R15: 00007fff3db8b248 BUG: Bad page state in process syz.0.17 pfn:67738 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888067738dc0 pfn:0x67738 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88802229b000 0000000000000000 raw: ffff888067738dc0 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 6530, tgid 6529 (syz.0.17), ts 131359824946, free_ts 129255715869 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148 __alloc_pages_noprof mm/page_alloc.c:5182 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x127/0x740 net/core/page_pool.c:569 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+0xb47/0x13e0 net/core/skbuff.c:951 netif_skb_check_for_xdp net/core/dev.c:5341 [inline] netif_receive_generic_xdp net/core/dev.c:5382 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page last free pid 6478 tgid 6478 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2895 pagetable_free include/linux/mm.h:2898 [inline] pagetable_dtor_free include/linux/mm.h:2996 [inline] __tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220 __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0xcab/0x1770 kernel/rcu/tree.c:2861 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 Modules linked in: CPU: 1 UID: 0 PID: 6530 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:650 free_page_is_bad mm/page_alloc.c:1083 [inline] free_pages_prepare mm/page_alloc.c:1387 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2895 bpf_xdp_shrink_data net/core/filter.c:4181 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201 ____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5272 netif_receive_generic_xdp net/core/dev.c:5388 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8b6a38d69f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 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 4c 93 02 00 48 RSP: 002b:00007f8b6b1b3000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8b6a5b5fa0 RCX: 00007f8b6a38d69f RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 00007f8b6a411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f8b6a5b6038 R14: 00007f8b6a5b5fa0 R15: 00007fff3db8b248 BUG: Bad page state in process syz.0.17 pfn:7a931 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807a931140 pfn:0x7a931 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88802229b000 0000000000000000 raw: ffff88807a931140 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 6530, tgid 6529 (syz.0.17), ts 131359815115, free_ts 129255751949 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148 __alloc_pages_noprof mm/page_alloc.c:5182 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x127/0x740 net/core/page_pool.c:569 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+0xb47/0x13e0 net/core/skbuff.c:951 netif_skb_check_for_xdp net/core/dev.c:5341 [inline] netif_receive_generic_xdp net/core/dev.c:5382 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page last free pid 6478 tgid 6478 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2895 pagetable_free include/linux/mm.h:2898 [inline] pagetable_dtor_free include/linux/mm.h:2996 [inline] __tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220 __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0xcab/0x1770 kernel/rcu/tree.c:2861 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 Modules linked in: CPU: 1 UID: 0 PID: 6530 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:650 free_page_is_bad mm/page_alloc.c:1083 [inline] free_pages_prepare mm/page_alloc.c:1387 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2895 bpf_xdp_shrink_data net/core/filter.c:4181 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201 ____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5272 netif_receive_generic_xdp net/core/dev.c:5388 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8b6a38d69f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 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 4c 93 02 00 48 RSP: 002b:00007f8b6b1b3000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8b6a5b5fa0 RCX: 00007f8b6a38d69f RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 00007f8b6a411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f8b6a5b6038 R14: 00007f8b6a5b5fa0 R15: 00007fff3db8b248 BUG: Bad page state in process syz.0.17 pfn:7a932 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807a932780 pfn:0x7a932 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88802229b000 0000000000000000 raw: ffff88807a932780 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 6530, tgid 6529 (syz.0.17), ts 131359805454, free_ts 129255788190 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148 __alloc_pages_noprof mm/page_alloc.c:5182 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x127/0x740 net/core/page_pool.c:569 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+0xb47/0x13e0 net/core/skbuff.c:951 netif_skb_check_for_xdp net/core/dev.c:5341 [inline] netif_receive_generic_xdp net/core/dev.c:5382 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page last free pid 6478 tgid 6478 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2895 pagetable_free include/linux/mm.h:2898 [inline] pagetable_dtor_free include/linux/mm.h:2996 [inline] __tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220 __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0xcab/0x1770 kernel/rcu/tree.c:2861 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 Modules linked in: CPU: 1 UID: 0 PID: 6530 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:650 free_page_is_bad mm/page_alloc.c:1083 [inline] free_pages_prepare mm/page_alloc.c:1387 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2895 bpf_xdp_shrink_data net/core/filter.c:4181 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201 ____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5272 netif_receive_generic_xdp net/core/dev.c:5388 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8b6a38d69f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 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 4c 93 02 00 48 RSP: 002b:00007f8b6b1b3000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8b6a5b5fa0 RCX: 00007f8b6a38d69f RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 00007f8b6a411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f8b6a5b6038 R14: 00007f8b6a5b5fa0 R15: 00007fff3db8b248 BUG: Bad page state in process syz.0.17 pfn:31ce8 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888031ce83c0 pfn:0x31ce8 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88802229b000 0000000000000000 raw: ffff888031ce83c0 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 6530, tgid 6529 (syz.0.17), ts 131359795600, free_ts 129255823995 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148 __alloc_pages_noprof mm/page_alloc.c:5182 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x127/0x740 net/core/page_pool.c:569 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+0xb47/0x13e0 net/core/skbuff.c:951 netif_skb_check_for_xdp net/core/dev.c:5341 [inline] netif_receive_generic_xdp net/core/dev.c:5382 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page last free pid 6478 tgid 6478 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2895 pagetable_free include/linux/mm.h:2898 [inline] pagetable_dtor_free include/linux/mm.h:2996 [inline] __tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220 __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0xcab/0x1770 kernel/rcu/tree.c:2861 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 Modules linked in: CPU: 1 UID: 0 PID: 6530 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:650 free_page_is_bad mm/page_alloc.c:1083 [inline] free_pages_prepare mm/page_alloc.c:1387 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2895 bpf_xdp_shrink_data net/core/filter.c:4181 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201 ____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5272 netif_receive_generic_xdp net/core/dev.c:5388 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8b6a38d69f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 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 4c 93 02 00 48 RSP: 002b:00007f8b6b1b3000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8b6a5b5fa0 RCX: 00007f8b6a38d69f RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 00007f8b6a411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f8b6a5b6038 R14: 00007f8b6a5b5fa0 R15: 00007fff3db8b248 BUG: Bad page state in process syz.0.17 pfn:31107 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x31107 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88802229b000 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 6530, tgid 6529 (syz.0.17), ts 131359785937, free_ts 129255857151 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148 __alloc_pages_noprof mm/page_alloc.c:5182 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x127/0x740 net/core/page_pool.c:569 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+0xb47/0x13e0 net/core/skbuff.c:951 netif_skb_check_for_xdp net/core/dev.c:5341 [inline] netif_receive_generic_xdp net/core/dev.c:5382 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page last free pid 6478 tgid 6478 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2895 pagetable_free include/linux/mm.h:2898 [inline] pagetable_dtor_free include/linux/mm.h:2996 [inline] __tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220 __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0xcab/0x1770 kernel/rcu/tree.c:2861 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 Modules linked in: CPU: 1 UID: 0 PID: 6530 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:650 free_page_is_bad mm/page_alloc.c:1083 [inline] free_pages_prepare mm/page_alloc.c:1387 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2895 bpf_xdp_shrink_data net/core/filter.c:4181 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201 ____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5272 netif_receive_generic_xdp net/core/dev.c:5388 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8b6a38d69f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 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 4c 93 02 00 48 RSP: 002b:00007f8b6b1b3000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8b6a5b5fa0 RCX: 00007f8b6a38d69f RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 00007f8b6a411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f8b6a5b6038 R14: 00007f8b6a5b5fa0 R15: 00007fff3db8b248 BUG: Bad page state in process syz.0.17 pfn:31106 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888031106500 pfn:0x31106 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88802229b000 0000000000000000 raw: ffff888031106500 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 6530, tgid 6529 (syz.0.17), ts 131359776055, free_ts 129255873509 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148 __alloc_pages_noprof mm/page_alloc.c:5182 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x127/0x740 net/core/page_pool.c:569 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+0xb47/0x13e0 net/core/skbuff.c:951 netif_skb_check_for_xdp net/core/dev.c:5341 [inline] netif_receive_generic_xdp net/core/dev.c:5382 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page last free pid 6478 tgid 6478 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2895 pagetable_free include/linux/mm.h:2898 [inline] pagetable_dtor_free include/linux/mm.h:2996 [inline] __tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220 __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0xcab/0x1770 kernel/rcu/tree.c:2861 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 Modules linked in: CPU: 1 UID: 0 PID: 6530 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:650 free_page_is_bad mm/page_alloc.c:1083 [inline] free_pages_prepare mm/page_alloc.c:1387 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2895 bpf_xdp_shrink_data net/core/filter.c:4181 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201 ____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5272 netif_receive_generic_xdp net/core/dev.c:5388 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8b6a38d69f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 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 4c 93 02 00 48 RSP: 002b:00007f8b6b1b3000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8b6a5b5fa0 RCX: 00007f8b6a38d69f RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 00007f8b6a411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f8b6a5b6038 R14: 00007f8b6a5b5fa0 R15: 00007fff3db8b248 BUG: Bad page state in process syz.0.17 pfn:78759 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888078759c80 pfn:0x78759 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff88802229b000 0000000000000000 raw: ffff888078759c80 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 6530, tgid 6529 (syz.0.17), ts 131359766532, free_ts 129255907552 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148 __alloc_pages_noprof mm/page_alloc.c:5182 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x127/0x740 net/core/page_pool.c:569 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+0xb47/0x13e0 net/core/skbuff.c:951 netif_skb_check_for_xdp net/core/dev.c:5341 [inline] netif_receive_generic_xdp net/core/dev.c:5382 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page last free pid 6478 tgid 6478 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2895 pagetable_free include/linux/mm.h:2898 [inline] pagetable_dtor_free include/linux/mm.h:2996 [inline] __tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220 __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0xcab/0x1770 kernel/rcu/tree.c:2861 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 Modules linked in: CPU: 1 UID: 0 PID: 6530 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:650 free_page_is_bad mm/page_alloc.c:1083 [inline] free_pages_prepare mm/page_alloc.c:1387 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2895 bpf_xdp_shrink_data net/core/filter.c:4181 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201 ____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5272 netif_receive_generic_xdp net/core/dev.c:5388 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5450 __netif_receive_skb_core+0x17f9/0x4020 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6104 netif_receive_skb_internal net/core/dev.c:6190 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6249 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8b6a38d69f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 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 4c 93 02 00 48 RSP: 002b:00007f8b6b1b3000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8b6a5b5fa0 RCX: 00007f8b6a38d69f RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 00007f8b6a411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f8b6a5b6038 R14: 00007f8b6a5b5fa0 R15: 00007fff3db8b248