BUG: Bad page state in process syz.2.1723 pfn:4c326 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x4c326 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880212ab000 0000000000000000 raw: 0000000000000000 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 12868, tgid 12866 (syz.2.1723), ts 582310001672, free_ts 566927246441 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1718 prep_new_page mm/page_alloc.c:1726 [inline] get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3688 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4970 __alloc_pages_noprof mm/page_alloc.c:5004 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4924 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547 page_pool_alloc_netmems net/core/page_pool.c:598 [inline] page_pool_alloc_frag_netmem+0x422/0x870 net/core/page_pool.c:1003 page_pool_alloc_netmem include/net/page_pool/helpers.h:131 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb16/0x12f0 net/core/skbuff.c:955 netif_skb_check_for_xdp net/core/dev.c:5241 [inline] netif_receive_generic_xdp net/core/dev.c:5280 [inline] do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5815 tgid 5815 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1262 [inline] __free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2725 discard_slab mm/slub.c:2730 [inline] __put_partials+0x161/0x1c0 mm/slub.c:3199 put_cpu_partial+0x17c/0x250 mm/slub.c:3274 __slab_free+0x2f7/0x400 mm/slub.c:4526 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/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:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4161 [inline] slab_alloc_node mm/slub.c:4210 [inline] kmem_cache_alloc_noprof+0x1c1/0x3c0 mm/slub.c:4217 getname_flags+0xb8/0x540 fs/namei.c:146 user_path_at+0x24/0x60 fs/namei.c:3119 ksys_umount fs/namespace.c:2164 [inline] __do_sys_umount fs/namespace.c:2172 [inline] __se_sys_umount fs/namespace.c:2170 [inline] __x64_sys_umount+0xee/0x160 fs/namespace.c:2170 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 1 UID: 0 PID: 12868 Comm: syz.2.1723 Not tainted 6.15.0-rc4-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x15e/0x1a0 mm/page_alloc.c:505 free_page_is_bad mm/page_alloc.c:948 [inline] free_pages_prepare mm/page_alloc.c:1254 [inline] __free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2725 bpf_xdp_shrink_data net/core/filter.c:4163 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4183 ____bpf_xdp_adjust_tail net/core/filter.c:4208 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4201 bpf_prog_f476d5219b92964a+0x1e/0x20 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:653 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173 netif_receive_generic_xdp net/core/dev.c:5286 [inline] do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f18d0f8d41f 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:00007f18d1e6d000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f18d11b6080 RCX: 00007f18d0f8d41f RDX: 000000000000fdef RSI: 0000200000000380 RDI: 00000000000000c8 RBP: 00007f18d1010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f18d11b6080 R15: 00007ffc47006198 BUG: Bad page state in process syz.2.1723 pfn:4c325 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x4c325 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880212ab000 0000000000000000 raw: 0000000000000000 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 12868, tgid 12866 (syz.2.1723), ts 582309982573, free_ts 566927246441 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1718 prep_new_page mm/page_alloc.c:1726 [inline] get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3688 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4970 __alloc_pages_noprof mm/page_alloc.c:5004 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4924 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955 netif_skb_check_for_xdp net/core/dev.c:5241 [inline] netif_receive_generic_xdp net/core/dev.c:5280 [inline] do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5815 tgid 5815 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1262 [inline] __free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2725 discard_slab mm/slub.c:2730 [inline] __put_partials+0x161/0x1c0 mm/slub.c:3199 put_cpu_partial+0x17c/0x250 mm/slub.c:3274 __slab_free+0x2f7/0x400 mm/slub.c:4526 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/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:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4161 [inline] slab_alloc_node mm/slub.c:4210 [inline] kmem_cache_alloc_noprof+0x1c1/0x3c0 mm/slub.c:4217 getname_flags+0xb8/0x540 fs/namei.c:146 user_path_at+0x24/0x60 fs/namei.c:3119 ksys_umount fs/namespace.c:2164 [inline] __do_sys_umount fs/namespace.c:2172 [inline] __se_sys_umount fs/namespace.c:2170 [inline] __x64_sys_umount+0xee/0x160 fs/namespace.c:2170 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 1 UID: 0 PID: 12868 Comm: syz.2.1723 Tainted: G B 6.15.0-rc4-syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x15e/0x1a0 mm/page_alloc.c:505 free_page_is_bad mm/page_alloc.c:948 [inline] free_pages_prepare mm/page_alloc.c:1254 [inline] __free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2725 bpf_xdp_shrink_data net/core/filter.c:4163 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4183 ____bpf_xdp_adjust_tail net/core/filter.c:4208 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4201 bpf_prog_f476d5219b92964a+0x1e/0x20 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:653 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173 netif_receive_generic_xdp net/core/dev.c:5286 [inline] do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f18d0f8d41f 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:00007f18d1e6d000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f18d11b6080 RCX: 00007f18d0f8d41f RDX: 000000000000fdef RSI: 0000200000000380 RDI: 00000000000000c8 RBP: 00007f18d1010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f18d11b6080 R15: 00007ffc47006198 BUG: Bad page state in process syz.2.1723 pfn:4c324 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x4c324 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880212ab000 0000000000000000 raw: 0000000000000000 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 12868, tgid 12866 (syz.2.1723), ts 582309963997, free_ts 566927246441 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1718 prep_new_page mm/page_alloc.c:1726 [inline] get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3688 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4970 __alloc_pages_noprof mm/page_alloc.c:5004 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4924 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955 netif_skb_check_for_xdp net/core/dev.c:5241 [inline] netif_receive_generic_xdp net/core/dev.c:5280 [inline] do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5815 tgid 5815 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1262 [inline] __free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2725 discard_slab mm/slub.c:2730 [inline] __put_partials+0x161/0x1c0 mm/slub.c:3199 put_cpu_partial+0x17c/0x250 mm/slub.c:3274 __slab_free+0x2f7/0x400 mm/slub.c:4526 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/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:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4161 [inline] slab_alloc_node mm/slub.c:4210 [inline] kmem_cache_alloc_noprof+0x1c1/0x3c0 mm/slub.c:4217 getname_flags+0xb8/0x540 fs/namei.c:146 user_path_at+0x24/0x60 fs/namei.c:3119 ksys_umount fs/namespace.c:2164 [inline] __do_sys_umount fs/namespace.c:2172 [inline] __se_sys_umount fs/namespace.c:2170 [inline] __x64_sys_umount+0xee/0x160 fs/namespace.c:2170 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 1 UID: 0 PID: 12868 Comm: syz.2.1723 Tainted: G B 6.15.0-rc4-syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x15e/0x1a0 mm/page_alloc.c:505 free_page_is_bad mm/page_alloc.c:948 [inline] free_pages_prepare mm/page_alloc.c:1254 [inline] __free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2725 bpf_xdp_shrink_data net/core/filter.c:4163 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4183 ____bpf_xdp_adjust_tail net/core/filter.c:4208 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4201 bpf_prog_f476d5219b92964a+0x1e/0x20 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:653 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173 netif_receive_generic_xdp net/core/dev.c:5286 [inline] do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f18d0f8d41f 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:00007f18d1e6d000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f18d11b6080 RCX: 00007f18d0f8d41f RDX: 000000000000fdef RSI: 0000200000000380 RDI: 00000000000000c8 RBP: 00007f18d1010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f18d11b6080 R15: 00007ffc47006198 BUG: Bad page state in process syz.2.1723 pfn:4c323 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x4c323 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880212ab000 0000000000000000 raw: 0000000000000000 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 12868, tgid 12866 (syz.2.1723), ts 582309918087, free_ts 566927246441 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1718 prep_new_page mm/page_alloc.c:1726 [inline] get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3688 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4970 __alloc_pages_noprof mm/page_alloc.c:5004 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4924 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955 netif_skb_check_for_xdp net/core/dev.c:5241 [inline] netif_receive_generic_xdp net/core/dev.c:5280 [inline] do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5815 tgid 5815 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1262 [inline] __free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2725 discard_slab mm/slub.c:2730 [inline] __put_partials+0x161/0x1c0 mm/slub.c:3199 put_cpu_partial+0x17c/0x250 mm/slub.c:3274 __slab_free+0x2f7/0x400 mm/slub.c:4526 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/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:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4161 [inline] slab_alloc_node mm/slub.c:4210 [inline] kmem_cache_alloc_noprof+0x1c1/0x3c0 mm/slub.c:4217 getname_flags+0xb8/0x540 fs/namei.c:146 user_path_at+0x24/0x60 fs/namei.c:3119 ksys_umount fs/namespace.c:2164 [inline] __do_sys_umount fs/namespace.c:2172 [inline] __se_sys_umount fs/namespace.c:2170 [inline] __x64_sys_umount+0xee/0x160 fs/namespace.c:2170 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 1 UID: 0 PID: 12868 Comm: syz.2.1723 Tainted: G B 6.15.0-rc4-syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x15e/0x1a0 mm/page_alloc.c:505 free_page_is_bad mm/page_alloc.c:948 [inline] free_pages_prepare mm/page_alloc.c:1254 [inline] __free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2725 bpf_xdp_shrink_data net/core/filter.c:4163 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4183 ____bpf_xdp_adjust_tail net/core/filter.c:4208 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4201 bpf_prog_f476d5219b92964a+0x1e/0x20 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:653 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173 netif_receive_generic_xdp net/core/dev.c:5286 [inline] do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f18d0f8d41f 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:00007f18d1e6d000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f18d11b6080 RCX: 00007f18d0f8d41f RDX: 000000000000fdef RSI: 0000200000000380 RDI: 00000000000000c8 RBP: 00007f18d1010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f18d11b6080 R15: 00007ffc47006198 BUG: Bad page state in process syz.2.1723 pfn:4c322 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x4c322 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880212ab000 0000000000000000 raw: 0000000000000000 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 12868, tgid 12866 (syz.2.1723), ts 582309900899, free_ts 566927246441 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1718 prep_new_page mm/page_alloc.c:1726 [inline] get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3688 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4970 __alloc_pages_noprof mm/page_alloc.c:5004 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4924 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955 netif_skb_check_for_xdp net/core/dev.c:5241 [inline] netif_receive_generic_xdp net/core/dev.c:5280 [inline] do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5815 tgid 5815 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1262 [inline] __free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2725 discard_slab mm/slub.c:2730 [inline] __put_partials+0x161/0x1c0 mm/slub.c:3199 put_cpu_partial+0x17c/0x250 mm/slub.c:3274 __slab_free+0x2f7/0x400 mm/slub.c:4526 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/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:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4161 [inline] slab_alloc_node mm/slub.c:4210 [inline] kmem_cache_alloc_noprof+0x1c1/0x3c0 mm/slub.c:4217 getname_flags+0xb8/0x540 fs/namei.c:146 user_path_at+0x24/0x60 fs/namei.c:3119 ksys_umount fs/namespace.c:2164 [inline] __do_sys_umount fs/namespace.c:2172 [inline] __se_sys_umount fs/namespace.c:2170 [inline] __x64_sys_umount+0xee/0x160 fs/namespace.c:2170 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 1 UID: 0 PID: 12868 Comm: syz.2.1723 Tainted: G B 6.15.0-rc4-syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x15e/0x1a0 mm/page_alloc.c:505 free_page_is_bad mm/page_alloc.c:948 [inline] free_pages_prepare mm/page_alloc.c:1254 [inline] __free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2725 bpf_xdp_shrink_data net/core/filter.c:4163 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4183 ____bpf_xdp_adjust_tail net/core/filter.c:4208 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4201 bpf_prog_f476d5219b92964a+0x1e/0x20 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:653 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173 netif_receive_generic_xdp net/core/dev.c:5286 [inline] do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f18d0f8d41f 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:00007f18d1e6d000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f18d11b6080 RCX: 00007f18d0f8d41f RDX: 000000000000fdef RSI: 0000200000000380 RDI: 00000000000000c8 RBP: 00007f18d1010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f18d11b6080 R15: 00007ffc47006198 BUG: Bad page state in process syz.2.1723 pfn:4c321 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffffffffffffffff pfn:0x4c321 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880212ab000 0000000000000000 raw: ffffffffffffffff 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 12868, tgid 12866 (syz.2.1723), ts 582309884283, free_ts 566927246441 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1718 prep_new_page mm/page_alloc.c:1726 [inline] get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3688 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4970 __alloc_pages_noprof mm/page_alloc.c:5004 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4924 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955 netif_skb_check_for_xdp net/core/dev.c:5241 [inline] netif_receive_generic_xdp net/core/dev.c:5280 [inline] do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5815 tgid 5815 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1262 [inline] __free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2725 discard_slab mm/slub.c:2730 [inline] __put_partials+0x161/0x1c0 mm/slub.c:3199 put_cpu_partial+0x17c/0x250 mm/slub.c:3274 __slab_free+0x2f7/0x400 mm/slub.c:4526 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/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:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4161 [inline] slab_alloc_node mm/slub.c:4210 [inline] kmem_cache_alloc_noprof+0x1c1/0x3c0 mm/slub.c:4217 getname_flags+0xb8/0x540 fs/namei.c:146 user_path_at+0x24/0x60 fs/namei.c:3119 ksys_umount fs/namespace.c:2164 [inline] __do_sys_umount fs/namespace.c:2172 [inline] __se_sys_umount fs/namespace.c:2170 [inline] __x64_sys_umount+0xee/0x160 fs/namespace.c:2170 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 1 UID: 0 PID: 12868 Comm: syz.2.1723 Tainted: G B 6.15.0-rc4-syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x15e/0x1a0 mm/page_alloc.c:505 free_page_is_bad mm/page_alloc.c:948 [inline] free_pages_prepare mm/page_alloc.c:1254 [inline] __free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2725 bpf_xdp_shrink_data net/core/filter.c:4163 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4183 ____bpf_xdp_adjust_tail net/core/filter.c:4208 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4201 bpf_prog_f476d5219b92964a+0x1e/0x20 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:653 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173 netif_receive_generic_xdp net/core/dev.c:5286 [inline] do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f18d0f8d41f 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:00007f18d1e6d000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f18d11b6080 RCX: 00007f18d0f8d41f RDX: 000000000000fdef RSI: 0000200000000380 RDI: 00000000000000c8 RBP: 00007f18d1010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f18d11b6080 R15: 00007ffc47006198 BUG: Bad page state in process syz.2.1723 pfn:4c320 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88804c326000 pfn:0x4c320 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880212ab000 0000000000000000 raw: ffff88804c326000 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 12868, tgid 12866 (syz.2.1723), ts 582309868180, free_ts 566927246441 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1718 prep_new_page mm/page_alloc.c:1726 [inline] get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3688 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4970 __alloc_pages_noprof mm/page_alloc.c:5004 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4924 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955 netif_skb_check_for_xdp net/core/dev.c:5241 [inline] netif_receive_generic_xdp net/core/dev.c:5280 [inline] do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5815 tgid 5815 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1262 [inline] __free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2725 discard_slab mm/slub.c:2730 [inline] __put_partials+0x161/0x1c0 mm/slub.c:3199 put_cpu_partial+0x17c/0x250 mm/slub.c:3274 __slab_free+0x2f7/0x400 mm/slub.c:4526 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/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:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4161 [inline] slab_alloc_node mm/slub.c:4210 [inline] kmem_cache_alloc_noprof+0x1c1/0x3c0 mm/slub.c:4217 getname_flags+0xb8/0x540 fs/namei.c:146 user_path_at+0x24/0x60 fs/namei.c:3119 ksys_umount fs/namespace.c:2164 [inline] __do_sys_umount fs/namespace.c:2172 [inline] __se_sys_umount fs/namespace.c:2170 [inline] __x64_sys_umount+0xee/0x160 fs/namespace.c:2170 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 1 UID: 0 PID: 12868 Comm: syz.2.1723 Tainted: G B 6.15.0-rc4-syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x15e/0x1a0 mm/page_alloc.c:505 free_page_is_bad mm/page_alloc.c:948 [inline] free_pages_prepare mm/page_alloc.c:1254 [inline] __free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2725 bpf_xdp_shrink_data net/core/filter.c:4163 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4183 ____bpf_xdp_adjust_tail net/core/filter.c:4208 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4201 bpf_prog_f476d5219b92964a+0x1e/0x20 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:653 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173 netif_receive_generic_xdp net/core/dev.c:5286 [inline] do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f18d0f8d41f 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:00007f18d1e6d000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f18d11b6080 RCX: 00007f18d0f8d41f RDX: 000000000000fdef RSI: 0000200000000380 RDI: 00000000000000c8 RBP: 00007f18d1010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f18d11b6080 R15: 00007ffc47006198 BUG: Bad page state in process syz.2.1723 pfn:4824f page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x4824f flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880212ab000 0000000000000000 raw: 0000000000000000 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 12868, tgid 12866 (syz.2.1723), ts 582309850627, free_ts 566964989677 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1718 prep_new_page mm/page_alloc.c:1726 [inline] get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3688 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4970 __alloc_pages_noprof mm/page_alloc.c:5004 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4924 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955 netif_skb_check_for_xdp net/core/dev.c:5241 [inline] netif_receive_generic_xdp net/core/dev.c:5280 [inline] do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5815 tgid 5815 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1262 [inline] __free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2725 discard_slab mm/slub.c:2730 [inline] __put_partials+0x161/0x1c0 mm/slub.c:3199 put_cpu_partial+0x17c/0x250 mm/slub.c:3274 __slab_free+0x2f7/0x400 mm/slub.c:4526 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/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:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4161 [inline] slab_alloc_node mm/slub.c:4210 [inline] __kmalloc_cache_node_noprof+0x1c0/0x3d0 mm/slub.c:4380 kmalloc_node_noprof include/linux/slab.h:928 [inline] __get_vm_area_node+0x131/0x2d0 mm/vmalloc.c:3127 __vmalloc_node_range_noprof+0x2f1/0x12c0 mm/vmalloc.c:3804 __vmalloc_node_noprof mm/vmalloc.c:3907 [inline] vzalloc_noprof+0x79/0x90 mm/vmalloc.c:3980 __do_replace+0xab/0x980 net/ipv6/netfilter/ip6_tables.c:1063 do_replace net/ipv6/netfilter/ip6_tables.c:1158 [inline] do_ip6t_set_ctl+0xa16/0xce0 net/ipv6/netfilter/ip6_tables.c:1644 nf_setsockopt+0x26c/0x290 net/netfilter/nf_sockopt.c:101 do_sock_setsockopt+0x257/0x3e0 net/socket.c:2296 __sys_setsockopt net/socket.c:2321 [inline] __do_sys_setsockopt net/socket.c:2327 [inline] __se_sys_setsockopt net/socket.c:2324 [inline] __x64_sys_setsockopt+0x18b/0x220 net/socket.c:2324 Modules linked in: CPU: 1 UID: 0 PID: 12868 Comm: syz.2.1723 Tainted: G B 6.15.0-rc4-syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x15e/0x1a0 mm/page_alloc.c:505 free_page_is_bad mm/page_alloc.c:948 [inline] free_pages_prepare mm/page_alloc.c:1254 [inline] __free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2725 bpf_xdp_shrink_data net/core/filter.c:4163 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4183 ____bpf_xdp_adjust_tail net/core/filter.c:4208 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4201 bpf_prog_f476d5219b92964a+0x1e/0x20 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:653 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173 netif_receive_generic_xdp net/core/dev.c:5286 [inline] do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f18d0f8d41f 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:00007f18d1e6d000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f18d11b6080 RCX: 00007f18d0f8d41f RDX: 000000000000fdef RSI: 0000200000000380 RDI: 00000000000000c8 RBP: 00007f18d1010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f18d11b6080 R15: 00007ffc47006198 BUG: Bad page state in process syz.2.1723 pfn:4824e page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x4824e flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880212ab000 0000000000000000 raw: 0000000000000000 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 12868, tgid 12866 (syz.2.1723), ts 582309833614, free_ts 566964989677 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1718 prep_new_page mm/page_alloc.c:1726 [inline] get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3688 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4970 __alloc_pages_noprof mm/page_alloc.c:5004 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4924 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955 netif_skb_check_for_xdp net/core/dev.c:5241 [inline] netif_receive_generic_xdp net/core/dev.c:5280 [inline] do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5815 tgid 5815 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1262 [inline] __free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2725 discard_slab mm/slub.c:2730 [inline] __put_partials+0x161/0x1c0 mm/slub.c:3199 put_cpu_partial+0x17c/0x250 mm/slub.c:3274 __slab_free+0x2f7/0x400 mm/slub.c:4526 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/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:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4161 [inline] slab_alloc_node mm/slub.c:4210 [inline] __kmalloc_cache_node_noprof+0x1c0/0x3d0 mm/slub.c:4380 kmalloc_node_noprof include/linux/slab.h:928 [inline] __get_vm_area_node+0x131/0x2d0 mm/vmalloc.c:3127 __vmalloc_node_range_noprof+0x2f1/0x12c0 mm/vmalloc.c:3804 __vmalloc_node_noprof mm/vmalloc.c:3907 [inline] vzalloc_noprof+0x79/0x90 mm/vmalloc.c:3980 __do_replace+0xab/0x980 net/ipv6/netfilter/ip6_tables.c:1063 do_replace net/ipv6/netfilter/ip6_tables.c:1158 [inline] do_ip6t_set_ctl+0xa16/0xce0 net/ipv6/netfilter/ip6_tables.c:1644 nf_setsockopt+0x26c/0x290 net/netfilter/nf_sockopt.c:101 do_sock_setsockopt+0x257/0x3e0 net/socket.c:2296 __sys_setsockopt net/socket.c:2321 [inline] __do_sys_setsockopt net/socket.c:2327 [inline] __se_sys_setsockopt net/socket.c:2324 [inline] __x64_sys_setsockopt+0x18b/0x220 net/socket.c:2324 Modules linked in: CPU: 1 UID: 0 PID: 12868 Comm: syz.2.1723 Tainted: G B 6.15.0-rc4-syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x15e/0x1a0 mm/page_alloc.c:505 free_page_is_bad mm/page_alloc.c:948 [inline] free_pages_prepare mm/page_alloc.c:1254 [inline] __free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2725 bpf_xdp_shrink_data net/core/filter.c:4163 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4183 ____bpf_xdp_adjust_tail net/core/filter.c:4208 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4201 bpf_prog_f476d5219b92964a+0x1e/0x20 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:653 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173 netif_receive_generic_xdp net/core/dev.c:5286 [inline] do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f18d0f8d41f 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:00007f18d1e6d000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f18d11b6080 RCX: 00007f18d0f8d41f RDX: 000000000000fdef RSI: 0000200000000380 RDI: 00000000000000c8 RBP: 00007f18d1010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f18d11b6080 R15: 00007ffc47006198 BUG: Bad page state in process syz.2.1723 pfn:4824d page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x4824d flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880212ab000 0000000000000000 raw: 0000000000000000 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 12868, tgid 12866 (syz.2.1723), ts 582309816119, free_ts 566964989677 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1718 prep_new_page mm/page_alloc.c:1726 [inline] get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3688 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4970 __alloc_pages_noprof mm/page_alloc.c:5004 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4924 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955 netif_skb_check_for_xdp net/core/dev.c:5241 [inline] netif_receive_generic_xdp net/core/dev.c:5280 [inline] do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5815 tgid 5815 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1262 [inline] __free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2725 discard_slab mm/slub.c:2730 [inline] __put_partials+0x161/0x1c0 mm/slub.c:3199 put_cpu_partial+0x17c/0x250 mm/slub.c:3274 __slab_free+0x2f7/0x400 mm/slub.c:4526 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/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:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4161 [inline] slab_alloc_node mm/slub.c:4210 [inline] __kmalloc_cache_node_noprof+0x1c0/0x3d0 mm/slub.c:4380 kmalloc_node_noprof include/linux/slab.h:928 [inline] __get_vm_area_node+0x131/0x2d0 mm/vmalloc.c:3127 __vmalloc_node_range_noprof+0x2f1/0x12c0 mm/vmalloc.c:3804 __vmalloc_node_noprof mm/vmalloc.c:3907 [inline] vzalloc_noprof+0x79/0x90 mm/vmalloc.c:3980 __do_replace+0xab/0x980 net/ipv6/netfilter/ip6_tables.c:1063 do_replace net/ipv6/netfilter/ip6_tables.c:1158 [inline] do_ip6t_set_ctl+0xa16/0xce0 net/ipv6/netfilter/ip6_tables.c:1644 nf_setsockopt+0x26c/0x290 net/netfilter/nf_sockopt.c:101 do_sock_setsockopt+0x257/0x3e0 net/socket.c:2296 __sys_setsockopt net/socket.c:2321 [inline] __do_sys_setsockopt net/socket.c:2327 [inline] __se_sys_setsockopt net/socket.c:2324 [inline] __x64_sys_setsockopt+0x18b/0x220 net/socket.c:2324 Modules linked in: CPU: 1 UID: 0 PID: 12868 Comm: syz.2.1723 Tainted: G B 6.15.0-rc4-syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x15e/0x1a0 mm/page_alloc.c:505 free_page_is_bad mm/page_alloc.c:948 [inline] free_pages_prepare mm/page_alloc.c:1254 [inline] __free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2725 bpf_xdp_shrink_data net/core/filter.c:4163 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4183 ____bpf_xdp_adjust_tail net/core/filter.c:4208 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4201 bpf_prog_f476d5219b92964a+0x1e/0x20 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:653 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173 netif_receive_generic_xdp net/core/dev.c:5286 [inline] do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f18d0f8d41f 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:00007f18d1e6d000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f18d11b6080 RCX: 00007f18d0f8d41f RDX: 000000000000fdef RSI: 0000200000000380 RDI: 00000000000000c8 RBP: 00007f18d1010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f18d11b6080 R15: 00007ffc47006198 BUG: Bad page state in process syz.2.1723 pfn:4824c page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x4824c flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880212ab000 0000000000000000 raw: 0000000000000000 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 12868, tgid 12866 (syz.2.1723), ts 582309798349, free_ts 566964989677 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1718 prep_new_page mm/page_alloc.c:1726 [inline] get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3688 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4970 __alloc_pages_noprof mm/page_alloc.c:5004 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4924 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955 netif_skb_check_for_xdp net/core/dev.c:5241 [inline] netif_receive_generic_xdp net/core/dev.c:5280 [inline] do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5815 tgid 5815 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1262 [inline] __free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2725 discard_slab mm/slub.c:2730 [inline] __put_partials+0x161/0x1c0 mm/slub.c:3199 put_cpu_partial+0x17c/0x250 mm/slub.c:3274 __slab_free+0x2f7/0x400 mm/slub.c:4526 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/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:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4161 [inline] slab_alloc_node mm/slub.c:4210 [inline] __kmalloc_cache_node_noprof+0x1c0/0x3d0 mm/slub.c:4380 kmalloc_node_noprof include/linux/slab.h:928 [inline] __get_vm_area_node+0x131/0x2d0 mm/vmalloc.c:3127 __vmalloc_node_range_noprof+0x2f1/0x12c0 mm/vmalloc.c:3804 __vmalloc_node_noprof mm/vmalloc.c:3907 [inline] vzalloc_noprof+0x79/0x90 mm/vmalloc.c:3980 __do_replace+0xab/0x980 net/ipv6/netfilter/ip6_tables.c:1063 do_replace net/ipv6/netfilter/ip6_tables.c:1158 [inline] do_ip6t_set_ctl+0xa16/0xce0 net/ipv6/netfilter/ip6_tables.c:1644 nf_setsockopt+0x26c/0x290 net/netfilter/nf_sockopt.c:101 do_sock_setsockopt+0x257/0x3e0 net/socket.c:2296 __sys_setsockopt net/socket.c:2321 [inline] __do_sys_setsockopt net/socket.c:2327 [inline] __se_sys_setsockopt net/socket.c:2324 [inline] __x64_sys_setsockopt+0x18b/0x220 net/socket.c:2324 Modules linked in: CPU: 1 UID: 0 PID: 12868 Comm: syz.2.1723 Tainted: G B 6.15.0-rc4-syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x15e/0x1a0 mm/page_alloc.c:505 free_page_is_bad mm/page_alloc.c:948 [inline] free_pages_prepare mm/page_alloc.c:1254 [inline] __free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2725 bpf_xdp_shrink_data net/core/filter.c:4163 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4183 ____bpf_xdp_adjust_tail net/core/filter.c:4208 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4201 bpf_prog_f476d5219b92964a+0x1e/0x20 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:653 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173 netif_receive_generic_xdp net/core/dev.c:5286 [inline] do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f18d0f8d41f 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:00007f18d1e6d000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f18d11b6080 RCX: 00007f18d0f8d41f RDX: 000000000000fdef RSI: 0000200000000380 RDI: 00000000000000c8 RBP: 00007f18d1010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f18d11b6080 R15: 00007ffc47006198 BUG: Bad page state in process syz.2.1723 pfn:4824b page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x4824b flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff8880212ab000 0000000000000000 raw: 0000000000000000 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 12868, tgid 12866 (syz.2.1723), ts 582309781137, free_ts 566964989677 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1718 prep_new_page mm/page_alloc.c:1726 [inline] get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3688 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4970 __alloc_pages_noprof mm/page_alloc.c:5004 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4924 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955 netif_skb_check_for_xdp net/core/dev.c:5241 [inline] netif_receive_generic_xdp net/core/dev.c:5280 [inline] do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5815 tgid 5815 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1262 [inline] __free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2725 discard_slab mm/slub.c:2730 [inline] __put_partials+0x161/0x1c0 mm/slub.c:3199 put_cpu_partial+0x17c/0x250 mm/slub.c:3274 __slab_free+0x2f7/0x400 mm/slub.c:4526 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/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:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4161 [inline] slab_alloc_node mm/slub.c:4210 [inline] __kmalloc_cache_node_noprof+0x1c0/0x3d0 mm/slub.c:4380 kmalloc_node_noprof include/linux/slab.h:928 [inline] __get_vm_area_node+0x131/0x2d0 mm/vmalloc.c:3127 __vmalloc_node_range_noprof+0x2f1/0x12c0 mm/vmalloc.c:3804 __vmalloc_node_noprof mm/vmalloc.c:3907 [inline] vzalloc_noprof+0x79/0x90 mm/vmalloc.c:3980 __do_replace+0xab/0x980 net/ipv6/netfilter/ip6_tables.c:1063 do_replace net/ipv6/netfilter/ip6_tables.c:1158 [inline] do_ip6t_set_ctl+0xa16/0xce0 net/ipv6/netfilter/ip6_tables.c:1644 nf_setsockopt+0x26c/0x290 net/netfilter/nf_sockopt.c:101 do_sock_setsockopt+0x257/0x3e0 net/socket.c:2296 __sys_setsockopt net/socket.c:2321 [inline] __do_sys_setsockopt net/socket.c:2327 [inline] __se_sys_setsockopt net/socket.c:2324 [inline] __x64_sys_setsockopt+0x18b/0x220 net/socket.c:2324 Modules linked in: CPU: 1 UID: 0 PID: 12868 Comm: syz.2.1723 Tainted: G B 6.15.0-rc4-syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x15e/0x1a0 mm/page_alloc.c:505 free_page_is_bad mm/page_alloc.c:948 [inline] free_pages_prepare mm/page_alloc.c:1254 [inline] __free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2725 bpf_xdp_shrink_data net/core/filter.c:4163 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4183 ____bpf_xdp_adjust_tail net/core/filter.c:4208 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4201 bpf_prog_f476d5219b92964a+0x1e/0x20 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:653 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173 netif_receive_generic_xdp net/core/dev.c:5286 [inline] do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348 tun_get_user+0x22eb/0x3c20 drivers/net/tun.c:1860 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f18d0f8d41f 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:00007f18d1e6d000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f18d11b6080 RCX: 00007f18d0f8d41f RDX: 000000000000fdef RSI: 0000200000000380 RDI: 00000000000000c8 RBP: 00007f18d1010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f18d11b6080 R15: 00007ffc47006198