ip6t_REJECT: TCP_RESET illegal for non-tcp IPVS: set_ctl: invalid protocol: 46 100.1.1.0:20003 BUG: Bad page state in process syz.2.670 pfn:74e18 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x74e18 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880236f6000 0000000000000000 raw: ffff888000000000 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 8348, tgid 8346 (syz.2.670), ts 162318506225, free_ts 162186008960 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338 alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230 alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619 page_pool_alloc_netmems net/core/page_pool.c:670 [inline] page_pool_alloc_frag_netmem+0x563/0x9b0 net/core/page_pool.c:1079 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+0xcf6/0x19a0 net/core/skbuff.c:984 netif_skb_check_for_xdp net/core/dev.c:5564 [inline] netif_receive_generic_xdp net/core/dev.c:5605 [inline] do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5817 tgid 5817 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1406 [inline] __free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950 __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:2645 [inline] rcu_core+0x78b/0x10a0 kernel/rcu/tree.c:2897 handle_softirqs+0x225/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 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: 8348 Comm: syz.2.670 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:643 free_page_is_bad mm/page_alloc.c:1078 [inline] __free_pages_prepare mm/page_alloc.c:1397 [inline] __free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950 bpf_xdp_shrink_data net/core/filter.c:4289 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313 ____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:724 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495 netif_receive_generic_xdp net/core/dev.c:5611 [inline] do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f249555e68e 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:00007f24964a4fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f24964a56c0 RCX: 00007f249555e68e RDX: 000000000000ff76 RSI: 0000200000000000 RDI: 00000000000000c8 RBP: 00007f2495633e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2495826038 R14: 00007f2495825fa0 R15: 00007fffe358be98 BUG: Bad page state in process syz.2.670 pfn:749af page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x749af flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880236f6000 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 8348, tgid 8346 (syz.2.670), ts 162318490831, free_ts 162186029493 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338 alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230 alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619 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+0xcd0/0x19a0 net/core/skbuff.c:984 netif_skb_check_for_xdp net/core/dev.c:5564 [inline] netif_receive_generic_xdp net/core/dev.c:5605 [inline] do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5817 tgid 5817 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1406 [inline] __free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950 __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:2645 [inline] rcu_core+0x78b/0x10a0 kernel/rcu/tree.c:2897 handle_softirqs+0x225/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 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: 8348 Comm: syz.2.670 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:643 free_page_is_bad mm/page_alloc.c:1078 [inline] __free_pages_prepare mm/page_alloc.c:1397 [inline] __free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950 bpf_xdp_shrink_data net/core/filter.c:4289 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313 ____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:724 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495 netif_receive_generic_xdp net/core/dev.c:5611 [inline] do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f249555e68e 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:00007f24964a4fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f24964a56c0 RCX: 00007f249555e68e RDX: 000000000000ff76 RSI: 0000200000000000 RDI: 00000000000000c8 RBP: 00007f2495633e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2495826038 R14: 00007f2495825fa0 R15: 00007fffe358be98 BUG: Bad page state in process syz.2.670 pfn:28549 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x28549 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880236f6000 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 8348, tgid 8346 (syz.2.670), ts 162318476954, free_ts 162186066827 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338 alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230 alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619 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+0xcd0/0x19a0 net/core/skbuff.c:984 netif_skb_check_for_xdp net/core/dev.c:5564 [inline] netif_receive_generic_xdp net/core/dev.c:5605 [inline] do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5817 tgid 5817 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1406 [inline] __free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950 __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:2645 [inline] rcu_core+0x78b/0x10a0 kernel/rcu/tree.c:2897 handle_softirqs+0x225/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 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: 8348 Comm: syz.2.670 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:643 free_page_is_bad mm/page_alloc.c:1078 [inline] __free_pages_prepare mm/page_alloc.c:1397 [inline] __free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950 bpf_xdp_shrink_data net/core/filter.c:4289 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313 ____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:724 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495 netif_receive_generic_xdp net/core/dev.c:5611 [inline] do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f249555e68e 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:00007f24964a4fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f24964a56c0 RCX: 00007f249555e68e RDX: 000000000000ff76 RSI: 0000200000000000 RDI: 00000000000000c8 RBP: 00007f2495633e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2495826038 R14: 00007f2495825fa0 R15: 00007fffe358be98 BUG: Bad page state in process syz.2.670 pfn:2a45a page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x2a45a flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880236f6000 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 8348, tgid 8346 (syz.2.670), ts 162318463506, free_ts 162186103168 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338 alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230 alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619 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+0xcd0/0x19a0 net/core/skbuff.c:984 netif_skb_check_for_xdp net/core/dev.c:5564 [inline] netif_receive_generic_xdp net/core/dev.c:5605 [inline] do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5817 tgid 5817 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1406 [inline] __free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950 __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:2645 [inline] rcu_core+0x78b/0x10a0 kernel/rcu/tree.c:2897 handle_softirqs+0x225/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 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: 8348 Comm: syz.2.670 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:643 free_page_is_bad mm/page_alloc.c:1078 [inline] __free_pages_prepare mm/page_alloc.c:1397 [inline] __free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950 bpf_xdp_shrink_data net/core/filter.c:4289 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313 ____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:724 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495 netif_receive_generic_xdp net/core/dev.c:5611 [inline] do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f249555e68e 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:00007f24964a4fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f24964a56c0 RCX: 00007f249555e68e RDX: 000000000000ff76 RSI: 0000200000000000 RDI: 00000000000000c8 RBP: 00007f2495633e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2495826038 R14: 00007f2495825fa0 R15: 00007fffe358be98 BUG: Bad page state in process syz.2.670 pfn:74c48 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888074c483c0 pfn:0x74c48 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880236f6000 0000000000000000 raw: ffff888074c483c0 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 8348, tgid 8346 (syz.2.670), ts 162318450247, free_ts 162186123912 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338 alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230 alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619 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+0xcd0/0x19a0 net/core/skbuff.c:984 netif_skb_check_for_xdp net/core/dev.c:5564 [inline] netif_receive_generic_xdp net/core/dev.c:5605 [inline] do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5817 tgid 5817 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1406 [inline] __free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950 __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:2645 [inline] rcu_core+0x78b/0x10a0 kernel/rcu/tree.c:2897 handle_softirqs+0x225/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 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: 8348 Comm: syz.2.670 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:643 free_page_is_bad mm/page_alloc.c:1078 [inline] __free_pages_prepare mm/page_alloc.c:1397 [inline] __free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950 bpf_xdp_shrink_data net/core/filter.c:4289 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313 ____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:724 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495 netif_receive_generic_xdp net/core/dev.c:5611 [inline] do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f249555e68e 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:00007f24964a4fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f24964a56c0 RCX: 00007f249555e68e RDX: 000000000000ff76 RSI: 0000200000000000 RDI: 00000000000000c8 RBP: 00007f2495633e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2495826038 R14: 00007f2495825fa0 R15: 00007fffe358be98 BUG: Bad page state in process syz.2.670 pfn:58321 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888058321a50 pfn:0x58321 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880236f6000 0000000000000000 raw: ffff888058321a50 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 8348, tgid 8346 (syz.2.670), ts 162318437029, free_ts 162186162759 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338 alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230 alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619 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+0xcd0/0x19a0 net/core/skbuff.c:984 netif_skb_check_for_xdp net/core/dev.c:5564 [inline] netif_receive_generic_xdp net/core/dev.c:5605 [inline] do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5817 tgid 5817 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1406 [inline] __free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950 __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:2645 [inline] rcu_core+0x78b/0x10a0 kernel/rcu/tree.c:2897 handle_softirqs+0x225/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 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: 8348 Comm: syz.2.670 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:643 free_page_is_bad mm/page_alloc.c:1078 [inline] __free_pages_prepare mm/page_alloc.c:1397 [inline] __free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950 bpf_xdp_shrink_data net/core/filter.c:4289 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313 ____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:724 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495 netif_receive_generic_xdp net/core/dev.c:5611 [inline] do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f249555e68e 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:00007f24964a4fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f24964a56c0 RCX: 00007f249555e68e RDX: 000000000000ff76 RSI: 0000200000000000 RDI: 00000000000000c8 RBP: 00007f2495633e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2495826038 R14: 00007f2495825fa0 R15: 00007fffe358be98 BUG: Bad page state in process syz.2.670 pfn:74901 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x74901 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880236f6000 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 8348, tgid 8346 (syz.2.670), ts 162318423968, free_ts 162186201095 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338 alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230 alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619 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+0xcd0/0x19a0 net/core/skbuff.c:984 netif_skb_check_for_xdp net/core/dev.c:5564 [inline] netif_receive_generic_xdp net/core/dev.c:5605 [inline] do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5817 tgid 5817 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1406 [inline] __free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950 __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:2645 [inline] rcu_core+0x78b/0x10a0 kernel/rcu/tree.c:2897 handle_softirqs+0x225/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 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: 8348 Comm: syz.2.670 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:643 free_page_is_bad mm/page_alloc.c:1078 [inline] __free_pages_prepare mm/page_alloc.c:1397 [inline] __free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950 bpf_xdp_shrink_data net/core/filter.c:4289 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313 ____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:724 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495 netif_receive_generic_xdp net/core/dev.c:5611 [inline] do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f249555e68e 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:00007f24964a4fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f24964a56c0 RCX: 00007f249555e68e RDX: 000000000000ff76 RSI: 0000200000000000 RDI: 00000000000000c8 RBP: 00007f2495633e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2495826038 R14: 00007f2495825fa0 R15: 00007fffe358be98 BUG: Bad page state in process syz.2.670 pfn:5a397 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805a397b40 pfn:0x5a397 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880236f6000 0000000000000000 raw: ffff88805a397b40 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 8348, tgid 8346 (syz.2.670), ts 162318410789, free_ts 162186220666 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338 alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230 alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619 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+0xcd0/0x19a0 net/core/skbuff.c:984 netif_skb_check_for_xdp net/core/dev.c:5564 [inline] netif_receive_generic_xdp net/core/dev.c:5605 [inline] do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5817 tgid 5817 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1406 [inline] __free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950 __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:2645 [inline] rcu_core+0x78b/0x10a0 kernel/rcu/tree.c:2897 handle_softirqs+0x225/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 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: 8348 Comm: syz.2.670 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:643 free_page_is_bad mm/page_alloc.c:1078 [inline] __free_pages_prepare mm/page_alloc.c:1397 [inline] __free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950 bpf_xdp_shrink_data net/core/filter.c:4289 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313 ____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:724 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495 netif_receive_generic_xdp net/core/dev.c:5611 [inline] do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f249555e68e 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:00007f24964a4fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f24964a56c0 RCX: 00007f249555e68e RDX: 000000000000ff76 RSI: 0000200000000000 RDI: 00000000000000c8 RBP: 00007f2495633e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2495826038 R14: 00007f2495825fa0 R15: 00007fffe358be98 BUG: Bad page state in process syz.2.670 pfn:5910b page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805910b000 pfn:0x5910b flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880236f6000 0000000000000000 raw: ffff88805910b000 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 8348, tgid 8346 (syz.2.670), ts 162318394512, free_ts 162186258430 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338 alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230 alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619 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+0xcd0/0x19a0 net/core/skbuff.c:984 netif_skb_check_for_xdp net/core/dev.c:5564 [inline] netif_receive_generic_xdp net/core/dev.c:5605 [inline] do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5817 tgid 5817 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1406 [inline] __free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950 __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:2645 [inline] rcu_core+0x78b/0x10a0 kernel/rcu/tree.c:2897 handle_softirqs+0x225/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 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: 8348 Comm: syz.2.670 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:643 free_page_is_bad mm/page_alloc.c:1078 [inline] __free_pages_prepare mm/page_alloc.c:1397 [inline] __free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950 bpf_xdp_shrink_data net/core/filter.c:4289 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313 ____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:724 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495 netif_receive_generic_xdp net/core/dev.c:5611 [inline] do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f249555e68e 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:00007f24964a4fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f24964a56c0 RCX: 00007f249555e68e RDX: 000000000000ff76 RSI: 0000200000000000 RDI: 00000000000000c8 RBP: 00007f2495633e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2495826038 R14: 00007f2495825fa0 R15: 00007fffe358be98 BUG: Bad page state in process syz.2.670 pfn:748f8 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880748f8d20 pfn:0x748f8 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880236f6000 0000000000000000 raw: ffff8880748f8d20 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 8348, tgid 8346 (syz.2.670), ts 162318378914, free_ts 162186296247 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338 alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230 alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619 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+0xcd0/0x19a0 net/core/skbuff.c:984 netif_skb_check_for_xdp net/core/dev.c:5564 [inline] netif_receive_generic_xdp net/core/dev.c:5605 [inline] do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5817 tgid 5817 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1406 [inline] __free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950 __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:2645 [inline] rcu_core+0x78b/0x10a0 kernel/rcu/tree.c:2897 handle_softirqs+0x225/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 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: 8348 Comm: syz.2.670 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:643 free_page_is_bad mm/page_alloc.c:1078 [inline] __free_pages_prepare mm/page_alloc.c:1397 [inline] __free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950 bpf_xdp_shrink_data net/core/filter.c:4289 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313 ____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:724 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495 netif_receive_generic_xdp net/core/dev.c:5611 [inline] do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f249555e68e 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:00007f24964a4fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f24964a56c0 RCX: 00007f249555e68e RDX: 000000000000ff76 RSI: 0000200000000000 RDI: 00000000000000c8 RBP: 00007f2495633e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2495826038 R14: 00007f2495825fa0 R15: 00007fffe358be98 BUG: Bad page state in process syz.2.670 pfn:58bfd page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888058bfd2d0 pfn:0x58bfd flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880236f6000 0000000000000000 raw: ffff888058bfd2d0 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 8348, tgid 8346 (syz.2.670), ts 162318361978, free_ts 162186333920 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338 alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230 alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619 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+0xcd0/0x19a0 net/core/skbuff.c:984 netif_skb_check_for_xdp net/core/dev.c:5564 [inline] netif_receive_generic_xdp net/core/dev.c:5605 [inline] do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5817 tgid 5817 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1406 [inline] __free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950 __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:2645 [inline] rcu_core+0x78b/0x10a0 kernel/rcu/tree.c:2897 handle_softirqs+0x225/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 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: 8348 Comm: syz.2.670 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:643 free_page_is_bad mm/page_alloc.c:1078 [inline] __free_pages_prepare mm/page_alloc.c:1397 [inline] __free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950 bpf_xdp_shrink_data net/core/filter.c:4289 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313 ____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:724 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495 netif_receive_generic_xdp net/core/dev.c:5611 [inline] do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f249555e68e 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:00007f24964a4fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f24964a56c0 RCX: 00007f249555e68e RDX: 000000000000ff76 RSI: 0000200000000000 RDI: 00000000000000c8 RBP: 00007f2495633e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2495826038 R14: 00007f2495825fa0 R15: 00007fffe358be98 BUG: Bad page state in process syz.2.670 pfn:33678 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888033678000 pfn:0x33678 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880236f6000 0000000000000000 raw: ffff888033678000 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 8348, tgid 8346 (syz.2.670), ts 162318324201, free_ts 162186372361 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338 alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230 alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline] __page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619 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+0xcd0/0x19a0 net/core/skbuff.c:984 netif_skb_check_for_xdp net/core/dev.c:5564 [inline] netif_receive_generic_xdp net/core/dev.c:5605 [inline] do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5817 tgid 5817 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1406 [inline] __free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950 __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:2645 [inline] rcu_core+0x78b/0x10a0 kernel/rcu/tree.c:2897 handle_softirqs+0x225/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 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: 8348 Comm: syz.2.670 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 bad_page+0x17f/0x1c0 mm/page_alloc.c:643 free_page_is_bad mm/page_alloc.c:1078 [inline] __free_pages_prepare mm/page_alloc.c:1397 [inline] __free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950 bpf_xdp_shrink_data net/core/filter.c:4289 [inline] bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313 ____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline] bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:724 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495 netif_receive_generic_xdp net/core/dev.c:5611 [inline] do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673 tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032 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:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f249555e68e 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:00007f24964a4fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f24964a56c0 RCX: 00007f249555e68e RDX: 000000000000ff76 RSI: 0000200000000000 RDI: 00000000000000c8 RBP: 00007f2495633e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2495826038 R14: 00007f2495825fa0 R15: 00007fffe358be98