BUG: Bad page state in process syz.0.2170 pfn:78807 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888078807a50 pfn:0x78807 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880216ab000 0000000000000000 raw: ffff888078807a50 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 11286, tgid 11285 (syz.0.2170), ts 208885141664, free_ts 208839636974 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1850 prep_new_page mm/page_alloc.c:1858 [inline] get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3884 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5183 __alloc_pages_noprof mm/page_alloc.c:5217 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5137 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x14c/0x710 net/core/page_pool.c:612 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:955 netif_skb_check_for_xdp net/core/dev.c:5478 [inline] netif_receive_generic_xdp net/core/dev.c:5519 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 page last free pid 11285 tgid 11285 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2906 discard_slab mm/slub.c:3317 [inline] __put_partials+0x146/0x170 mm/slub.c:3864 put_cpu_partial+0x1f2/0x2e0 mm/slub.c:3939 __slab_free+0x2b9/0x390 mm/slub.c:5913 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4962 [inline] slab_alloc_node mm/slub.c:5272 [inline] kmem_cache_alloc_noprof+0x367/0x6e0 mm/slub.c:5279 getname_flags+0xb8/0x540 fs/namei.c:146 getname include/linux/fs.h:2922 [inline] __do_sys_symlinkat fs/namei.c:4859 [inline] __se_sys_symlinkat fs/namei.c:4856 [inline] __x64_sys_symlinkat+0x7a/0xb0 fs/namei.c:4856 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 0 UID: 0 PID: 11286 Comm: syz.0.2170 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2906 bpf_xdp_shrink_data net/core/filter.c:4190 [inline] bpf_xdp_frags_shrink_tail+0x4f7/0x7f0 net/core/filter.c:4214 ____bpf_xdp_adjust_tail net/core/filter.c:4236 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4229 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x606/0x13d0 net/core/dev.c:5409 netif_receive_generic_xdp net/core/dev.c:5525 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5d5998da7f 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:00007f5d5a8d5000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5d59be5fa0 RCX: 00007f5d5998da7f RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8 RBP: 00007f5d59a11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f5d59be6038 R14: 00007f5d59be5fa0 R15: 00007ffd179ef078 BUG: Bad page state in process syz.0.2170 pfn:7881c page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807881cf00 pfn:0x7881c flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880216ab000 0000000000000000 raw: ffff88807881cf00 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 11286, tgid 11285 (syz.0.2170), ts 208885123854, free_ts 208839651687 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1850 prep_new_page mm/page_alloc.c:1858 [inline] get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3884 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5183 __alloc_pages_noprof mm/page_alloc.c:5217 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5137 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x14c/0x710 net/core/page_pool.c:612 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:955 netif_skb_check_for_xdp net/core/dev.c:5478 [inline] netif_receive_generic_xdp net/core/dev.c:5519 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 page last free pid 11285 tgid 11285 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2906 discard_slab mm/slub.c:3317 [inline] __put_partials+0x146/0x170 mm/slub.c:3864 put_cpu_partial+0x1f2/0x2e0 mm/slub.c:3939 __slab_free+0x2b9/0x390 mm/slub.c:5913 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4962 [inline] slab_alloc_node mm/slub.c:5272 [inline] kmem_cache_alloc_noprof+0x367/0x6e0 mm/slub.c:5279 getname_flags+0xb8/0x540 fs/namei.c:146 getname include/linux/fs.h:2922 [inline] __do_sys_symlinkat fs/namei.c:4859 [inline] __se_sys_symlinkat fs/namei.c:4856 [inline] __x64_sys_symlinkat+0x7a/0xb0 fs/namei.c:4856 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 0 UID: 0 PID: 11286 Comm: syz.0.2170 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2906 bpf_xdp_shrink_data net/core/filter.c:4190 [inline] bpf_xdp_frags_shrink_tail+0x4f7/0x7f0 net/core/filter.c:4214 ____bpf_xdp_adjust_tail net/core/filter.c:4236 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4229 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x606/0x13d0 net/core/dev.c:5409 netif_receive_generic_xdp net/core/dev.c:5525 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5d5998da7f 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:00007f5d5a8d5000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5d59be5fa0 RCX: 00007f5d5998da7f RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8 RBP: 00007f5d59a11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f5d59be6038 R14: 00007f5d59be5fa0 R15: 00007ffd179ef078 BUG: Bad page state in process syz.0.2170 pfn:78806 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888078806f00 pfn:0x78806 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880216ab000 0000000000000000 raw: ffff888078806f00 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 11286, tgid 11285 (syz.0.2170), ts 208885105930, free_ts 208839666446 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1850 prep_new_page mm/page_alloc.c:1858 [inline] get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3884 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5183 __alloc_pages_noprof mm/page_alloc.c:5217 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5137 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x14c/0x710 net/core/page_pool.c:612 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:955 netif_skb_check_for_xdp net/core/dev.c:5478 [inline] netif_receive_generic_xdp net/core/dev.c:5519 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 page last free pid 11285 tgid 11285 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2906 discard_slab mm/slub.c:3317 [inline] __put_partials+0x146/0x170 mm/slub.c:3864 put_cpu_partial+0x1f2/0x2e0 mm/slub.c:3939 __slab_free+0x2b9/0x390 mm/slub.c:5913 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4962 [inline] slab_alloc_node mm/slub.c:5272 [inline] kmem_cache_alloc_noprof+0x367/0x6e0 mm/slub.c:5279 getname_flags+0xb8/0x540 fs/namei.c:146 getname include/linux/fs.h:2922 [inline] __do_sys_symlinkat fs/namei.c:4859 [inline] __se_sys_symlinkat fs/namei.c:4856 [inline] __x64_sys_symlinkat+0x7a/0xb0 fs/namei.c:4856 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 0 UID: 0 PID: 11286 Comm: syz.0.2170 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2906 bpf_xdp_shrink_data net/core/filter.c:4190 [inline] bpf_xdp_frags_shrink_tail+0x4f7/0x7f0 net/core/filter.c:4214 ____bpf_xdp_adjust_tail net/core/filter.c:4236 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4229 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x606/0x13d0 net/core/dev.c:5409 netif_receive_generic_xdp net/core/dev.c:5525 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5d5998da7f 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:00007f5d5a8d5000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5d59be5fa0 RCX: 00007f5d5998da7f RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8 RBP: 00007f5d59a11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f5d59be6038 R14: 00007f5d59be5fa0 R15: 00007ffd179ef078 BUG: Bad page state in process syz.0.2170 pfn:57f1c page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888057f1cf00 pfn:0x57f1c flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880216ab000 0000000000000000 raw: ffff888057f1cf00 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 11286, tgid 11285 (syz.0.2170), ts 208885089614, free_ts 208839681294 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1850 prep_new_page mm/page_alloc.c:1858 [inline] get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3884 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5183 __alloc_pages_noprof mm/page_alloc.c:5217 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5137 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x14c/0x710 net/core/page_pool.c:612 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:955 netif_skb_check_for_xdp net/core/dev.c:5478 [inline] netif_receive_generic_xdp net/core/dev.c:5519 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 page last free pid 11285 tgid 11285 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2906 discard_slab mm/slub.c:3317 [inline] __put_partials+0x146/0x170 mm/slub.c:3864 put_cpu_partial+0x1f2/0x2e0 mm/slub.c:3939 __slab_free+0x2b9/0x390 mm/slub.c:5913 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4962 [inline] slab_alloc_node mm/slub.c:5272 [inline] kmem_cache_alloc_noprof+0x367/0x6e0 mm/slub.c:5279 getname_flags+0xb8/0x540 fs/namei.c:146 getname include/linux/fs.h:2922 [inline] __do_sys_symlinkat fs/namei.c:4859 [inline] __se_sys_symlinkat fs/namei.c:4856 [inline] __x64_sys_symlinkat+0x7a/0xb0 fs/namei.c:4856 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 0 UID: 0 PID: 11286 Comm: syz.0.2170 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2906 bpf_xdp_shrink_data net/core/filter.c:4190 [inline] bpf_xdp_frags_shrink_tail+0x4f7/0x7f0 net/core/filter.c:4214 ____bpf_xdp_adjust_tail net/core/filter.c:4236 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4229 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x606/0x13d0 net/core/dev.c:5409 netif_receive_generic_xdp net/core/dev.c:5525 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5d5998da7f 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:00007f5d5a8d5000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5d59be5fa0 RCX: 00007f5d5998da7f RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8 RBP: 00007f5d59a11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f5d59be6038 R14: 00007f5d59be5fa0 R15: 00007ffd179ef078 BUG: Bad page state in process syz.0.2170 pfn:5a9ec page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805a9ecf00 pfn:0x5a9ec flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880216ab000 0000000000000000 raw: ffff88805a9ecf00 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 11286, tgid 11285 (syz.0.2170), ts 208885071861, free_ts 208839696100 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1850 prep_new_page mm/page_alloc.c:1858 [inline] get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3884 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5183 __alloc_pages_noprof mm/page_alloc.c:5217 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5137 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x14c/0x710 net/core/page_pool.c:612 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:955 netif_skb_check_for_xdp net/core/dev.c:5478 [inline] netif_receive_generic_xdp net/core/dev.c:5519 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 page last free pid 11285 tgid 11285 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2906 discard_slab mm/slub.c:3317 [inline] __put_partials+0x146/0x170 mm/slub.c:3864 put_cpu_partial+0x1f2/0x2e0 mm/slub.c:3939 __slab_free+0x2b9/0x390 mm/slub.c:5913 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4962 [inline] slab_alloc_node mm/slub.c:5272 [inline] kmem_cache_alloc_noprof+0x367/0x6e0 mm/slub.c:5279 getname_flags+0xb8/0x540 fs/namei.c:146 getname include/linux/fs.h:2922 [inline] __do_sys_symlinkat fs/namei.c:4859 [inline] __se_sys_symlinkat fs/namei.c:4856 [inline] __x64_sys_symlinkat+0x7a/0xb0 fs/namei.c:4856 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 0 UID: 0 PID: 11286 Comm: syz.0.2170 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2906 bpf_xdp_shrink_data net/core/filter.c:4190 [inline] bpf_xdp_frags_shrink_tail+0x4f7/0x7f0 net/core/filter.c:4214 ____bpf_xdp_adjust_tail net/core/filter.c:4236 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4229 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x606/0x13d0 net/core/dev.c:5409 netif_receive_generic_xdp net/core/dev.c:5525 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5d5998da7f 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:00007f5d5a8d5000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5d59be5fa0 RCX: 00007f5d5998da7f RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8 RBP: 00007f5d59a11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f5d59be6038 R14: 00007f5d59be5fa0 R15: 00007ffd179ef078 BUG: Bad page state in process syz.0.2170 pfn:5a9ed page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805a9edf00 pfn:0x5a9ed flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880216ab000 0000000000000000 raw: ffff88805a9edf00 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 11286, tgid 11285 (syz.0.2170), ts 208885054690, free_ts 208839711016 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1850 prep_new_page mm/page_alloc.c:1858 [inline] get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3884 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5183 __alloc_pages_noprof mm/page_alloc.c:5217 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5137 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x14c/0x710 net/core/page_pool.c:612 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:955 netif_skb_check_for_xdp net/core/dev.c:5478 [inline] netif_receive_generic_xdp net/core/dev.c:5519 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 page last free pid 11285 tgid 11285 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2906 discard_slab mm/slub.c:3317 [inline] __put_partials+0x146/0x170 mm/slub.c:3864 put_cpu_partial+0x1f2/0x2e0 mm/slub.c:3939 __slab_free+0x2b9/0x390 mm/slub.c:5913 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4962 [inline] slab_alloc_node mm/slub.c:5272 [inline] kmem_cache_alloc_noprof+0x367/0x6e0 mm/slub.c:5279 getname_flags+0xb8/0x540 fs/namei.c:146 getname include/linux/fs.h:2922 [inline] __do_sys_symlinkat fs/namei.c:4859 [inline] __se_sys_symlinkat fs/namei.c:4856 [inline] __x64_sys_symlinkat+0x7a/0xb0 fs/namei.c:4856 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 0 UID: 0 PID: 11286 Comm: syz.0.2170 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2906 bpf_xdp_shrink_data net/core/filter.c:4190 [inline] bpf_xdp_frags_shrink_tail+0x4f7/0x7f0 net/core/filter.c:4214 ____bpf_xdp_adjust_tail net/core/filter.c:4236 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4229 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x606/0x13d0 net/core/dev.c:5409 netif_receive_generic_xdp net/core/dev.c:5525 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5d5998da7f 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:00007f5d5a8d5000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5d59be5fa0 RCX: 00007f5d5998da7f RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8 RBP: 00007f5d59a11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f5d59be6038 R14: 00007f5d59be5fa0 R15: 00007ffd179ef078 BUG: Bad page state in process syz.0.2170 pfn:58352 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888058352fe0 pfn:0x58352 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880216ab000 0000000000000000 raw: ffff888058352fe0 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 11286, tgid 11285 (syz.0.2170), ts 208885037584, free_ts 208839868068 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1850 prep_new_page mm/page_alloc.c:1858 [inline] get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3884 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5183 __alloc_pages_noprof mm/page_alloc.c:5217 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5137 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x14c/0x710 net/core/page_pool.c:612 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:955 netif_skb_check_for_xdp net/core/dev.c:5478 [inline] netif_receive_generic_xdp net/core/dev.c:5519 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 page last free pid 11285 tgid 11285 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2906 discard_slab mm/slub.c:3317 [inline] __put_partials+0x146/0x170 mm/slub.c:3864 put_cpu_partial+0x1f2/0x2e0 mm/slub.c:3939 __slab_free+0x2b9/0x390 mm/slub.c:5913 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4962 [inline] slab_alloc_node mm/slub.c:5272 [inline] kmem_cache_alloc_noprof+0x367/0x6e0 mm/slub.c:5279 getname_flags+0xb8/0x540 fs/namei.c:146 getname include/linux/fs.h:2922 [inline] __do_sys_symlinkat fs/namei.c:4859 [inline] __se_sys_symlinkat fs/namei.c:4856 [inline] __x64_sys_symlinkat+0x7a/0xb0 fs/namei.c:4856 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 0 UID: 0 PID: 11286 Comm: syz.0.2170 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2906 bpf_xdp_shrink_data net/core/filter.c:4190 [inline] bpf_xdp_frags_shrink_tail+0x4f7/0x7f0 net/core/filter.c:4214 ____bpf_xdp_adjust_tail net/core/filter.c:4236 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4229 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x606/0x13d0 net/core/dev.c:5409 netif_receive_generic_xdp net/core/dev.c:5525 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5d5998da7f 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:00007f5d5a8d5000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5d59be5fa0 RCX: 00007f5d5998da7f RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8 RBP: 00007f5d59a11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f5d59be6038 R14: 00007f5d59be5fa0 R15: 00007ffd179ef078 BUG: Bad page state in process syz.0.2170 pfn:5ae42 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805ae42f00 pfn:0x5ae42 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880216ab000 0000000000000000 raw: ffff88805ae42f00 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 11286, tgid 11285 (syz.0.2170), ts 208885019664, free_ts 208839893825 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1850 prep_new_page mm/page_alloc.c:1858 [inline] get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3884 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5183 __alloc_pages_noprof mm/page_alloc.c:5217 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5137 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x14c/0x710 net/core/page_pool.c:612 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:955 netif_skb_check_for_xdp net/core/dev.c:5478 [inline] netif_receive_generic_xdp net/core/dev.c:5519 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 page last free pid 11285 tgid 11285 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2906 discard_slab mm/slub.c:3317 [inline] __put_partials+0x146/0x170 mm/slub.c:3864 put_cpu_partial+0x1f2/0x2e0 mm/slub.c:3939 __slab_free+0x2b9/0x390 mm/slub.c:5913 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4962 [inline] slab_alloc_node mm/slub.c:5272 [inline] kmem_cache_alloc_noprof+0x367/0x6e0 mm/slub.c:5279 getname_flags+0xb8/0x540 fs/namei.c:146 getname include/linux/fs.h:2922 [inline] __do_sys_symlinkat fs/namei.c:4859 [inline] __se_sys_symlinkat fs/namei.c:4856 [inline] __x64_sys_symlinkat+0x7a/0xb0 fs/namei.c:4856 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 0 UID: 0 PID: 11286 Comm: syz.0.2170 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2906 bpf_xdp_shrink_data net/core/filter.c:4190 [inline] bpf_xdp_frags_shrink_tail+0x4f7/0x7f0 net/core/filter.c:4214 ____bpf_xdp_adjust_tail net/core/filter.c:4236 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4229 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x606/0x13d0 net/core/dev.c:5409 netif_receive_generic_xdp net/core/dev.c:5525 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5d5998da7f 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:00007f5d5a8d5000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5d59be5fa0 RCX: 00007f5d5998da7f RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8 RBP: 00007f5d59a11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f5d59be6038 R14: 00007f5d59be5fa0 R15: 00007ffd179ef078 BUG: Bad page state in process syz.0.2170 pfn:5ae43 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805ae43f00 pfn:0x5ae43 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880216ab000 0000000000000000 raw: ffff88805ae43f00 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 11286, tgid 11285 (syz.0.2170), ts 208885002343, free_ts 208839908755 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1850 prep_new_page mm/page_alloc.c:1858 [inline] get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3884 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5183 __alloc_pages_noprof mm/page_alloc.c:5217 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5137 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x14c/0x710 net/core/page_pool.c:612 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:955 netif_skb_check_for_xdp net/core/dev.c:5478 [inline] netif_receive_generic_xdp net/core/dev.c:5519 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 page last free pid 11285 tgid 11285 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2906 discard_slab mm/slub.c:3317 [inline] __put_partials+0x146/0x170 mm/slub.c:3864 put_cpu_partial+0x1f2/0x2e0 mm/slub.c:3939 __slab_free+0x2b9/0x390 mm/slub.c:5913 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4962 [inline] slab_alloc_node mm/slub.c:5272 [inline] kmem_cache_alloc_noprof+0x367/0x6e0 mm/slub.c:5279 getname_flags+0xb8/0x540 fs/namei.c:146 getname include/linux/fs.h:2922 [inline] __do_sys_symlinkat fs/namei.c:4859 [inline] __se_sys_symlinkat fs/namei.c:4856 [inline] __x64_sys_symlinkat+0x7a/0xb0 fs/namei.c:4856 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 0 UID: 0 PID: 11286 Comm: syz.0.2170 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2906 bpf_xdp_shrink_data net/core/filter.c:4190 [inline] bpf_xdp_frags_shrink_tail+0x4f7/0x7f0 net/core/filter.c:4214 ____bpf_xdp_adjust_tail net/core/filter.c:4236 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4229 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x606/0x13d0 net/core/dev.c:5409 netif_receive_generic_xdp net/core/dev.c:5525 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5d5998da7f 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:00007f5d5a8d5000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5d59be5fa0 RCX: 00007f5d5998da7f RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8 RBP: 00007f5d59a11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f5d59be6038 R14: 00007f5d59be5fa0 R15: 00007ffd179ef078 BUG: Bad page state in process syz.0.2170 pfn:5ae4e page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805ae4ef00 pfn:0x5ae4e flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880216ab000 0000000000000000 raw: ffff88805ae4ef00 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 11286, tgid 11285 (syz.0.2170), ts 208884986322, free_ts 208839923295 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1850 prep_new_page mm/page_alloc.c:1858 [inline] get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3884 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5183 __alloc_pages_noprof mm/page_alloc.c:5217 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5137 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x14c/0x710 net/core/page_pool.c:612 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:955 netif_skb_check_for_xdp net/core/dev.c:5478 [inline] netif_receive_generic_xdp net/core/dev.c:5519 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 page last free pid 11285 tgid 11285 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2906 discard_slab mm/slub.c:3317 [inline] __put_partials+0x146/0x170 mm/slub.c:3864 put_cpu_partial+0x1f2/0x2e0 mm/slub.c:3939 __slab_free+0x2b9/0x390 mm/slub.c:5913 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4962 [inline] slab_alloc_node mm/slub.c:5272 [inline] kmem_cache_alloc_noprof+0x367/0x6e0 mm/slub.c:5279 getname_flags+0xb8/0x540 fs/namei.c:146 getname include/linux/fs.h:2922 [inline] __do_sys_symlinkat fs/namei.c:4859 [inline] __se_sys_symlinkat fs/namei.c:4856 [inline] __x64_sys_symlinkat+0x7a/0xb0 fs/namei.c:4856 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 0 UID: 0 PID: 11286 Comm: syz.0.2170 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2906 bpf_xdp_shrink_data net/core/filter.c:4190 [inline] bpf_xdp_frags_shrink_tail+0x4f7/0x7f0 net/core/filter.c:4214 ____bpf_xdp_adjust_tail net/core/filter.c:4236 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4229 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x606/0x13d0 net/core/dev.c:5409 netif_receive_generic_xdp net/core/dev.c:5525 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5d5998da7f 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:00007f5d5a8d5000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5d59be5fa0 RCX: 00007f5d5998da7f RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8 RBP: 00007f5d59a11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f5d59be6038 R14: 00007f5d59be5fa0 R15: 00007ffd179ef078 BUG: Bad page state in process syz.0.2170 pfn:5ae4f page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805ae4ff00 pfn:0x5ae4f flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880216ab000 0000000000000000 raw: ffff88805ae4ff00 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 11286, tgid 11285 (syz.0.2170), ts 208884968767, free_ts 208839938189 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1850 prep_new_page mm/page_alloc.c:1858 [inline] get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3884 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5183 __alloc_pages_noprof mm/page_alloc.c:5217 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5137 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_netmems_slow+0x14c/0x710 net/core/page_pool.c:612 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:955 netif_skb_check_for_xdp net/core/dev.c:5478 [inline] netif_receive_generic_xdp net/core/dev.c:5519 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 page last free pid 11285 tgid 11285 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2906 discard_slab mm/slub.c:3317 [inline] __put_partials+0x146/0x170 mm/slub.c:3864 put_cpu_partial+0x1f2/0x2e0 mm/slub.c:3939 __slab_free+0x2b9/0x390 mm/slub.c:5913 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4962 [inline] slab_alloc_node mm/slub.c:5272 [inline] kmem_cache_alloc_noprof+0x367/0x6e0 mm/slub.c:5279 getname_flags+0xb8/0x540 fs/namei.c:146 getname include/linux/fs.h:2922 [inline] __do_sys_symlinkat fs/namei.c:4859 [inline] __se_sys_symlinkat fs/namei.c:4856 [inline] __x64_sys_symlinkat+0x7a/0xb0 fs/namei.c:4856 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 0 UID: 0 PID: 11286 Comm: syz.0.2170 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0xce2/0xd30 mm/page_alloc.c:2906 bpf_xdp_shrink_data net/core/filter.c:4190 [inline] bpf_xdp_frags_shrink_tail+0x4f7/0x7f0 net/core/filter.c:4214 ____bpf_xdp_adjust_tail net/core/filter.c:4236 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4229 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x606/0x13d0 net/core/dev.c:5409 netif_receive_generic_xdp net/core/dev.c:5525 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5587 __netif_receive_skb_core+0x18f4/0x4380 net/core/dev.c:5938 __netif_receive_skb_one_core net/core/dev.c:6126 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6241 netif_receive_skb_internal net/core/dev.c:6327 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6386 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2b65/0x3e90 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/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/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5d5998da7f 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:00007f5d5a8d5000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5d59be5fa0 RCX: 00007f5d5998da7f RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8 RBP: 00007f5d59a11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f5d59be6038 R14: 00007f5d59be5fa0 R15: 00007ffd179ef078