BUG: Bad page state in process syz.0.768 pfn:84c7a
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x84c7a
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801c19d000 0000000000000000
raw: ffff888000000000 3fffffffffffffff 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 8913, tgid 8912 (syz.0.768), ts 159886944267
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471
alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295
alloc_pages_bulk_node_noprof include/linux/gfp.h:231 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
page_pool_alloc_netmems net/core/page_pool.c:688 [inline]
page_pool_alloc_frag_netmem+0x561/0x9b0 net/core/page_pool.c:1090
page_pool_alloc_netmem include/net/page_pool/helpers.h:139 [inline]
page_pool_alloc include/net/page_pool/helpers.h:175 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:196 [inline]
skb_pp_cow_data+0xc2c/0x18e0 net/core/skbuff.c:991
netif_skb_check_for_xdp net/core/dev.c:5760 [inline]
netif_receive_generic_xdp net/core/dev.c:5801 [inline]
do_xdp_generic+0x761/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8916 tgid 8912 ts 159867030499 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1418 [inline]
__free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2650 [inline]
rcu_core+0x92e/0x1230 kernel/rcu/tree.c:2919
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
Modules linked in:
CPU: 0 UID: 0 PID: 8913 Comm: syz.0.768 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:647
free_page_is_bad mm/page_alloc.c:1082 [inline]
__free_pages_prepare mm/page_alloc.c:1409 [inline]
__free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962
bpf_xdp_shrink_data net/core/filter.c:4383 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4407
____bpf_xdp_adjust_tail net/core/filter.c:4429 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4422
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:768 [inline]
bpf_prog_run_xdp include/net/xdp.h:701 [inline]
bpf_prog_run_generic_xdp+0x12e7/0x1560 net/core/dev.c:5687
netif_receive_generic_xdp net/core/dev.c:5807 [inline]
do_xdp_generic+0xa95/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f971375fd8e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f97145d6fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f97145d76c0 RCX: 00007f971375fd8e
RDX: 000000000000fdef RSI: 00002000000012c0 RDI: 00000000000000c8
RBP: 00007f9713836b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9713a26038 R14: 00007f9713a25fa0 R15: 00007ffd6bb0f798
BUG: Bad page state in process syz.0.768 pfn:849a2
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x849a2
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801c19d000 0000000000000000
raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 8913, tgid 8912 (syz.0.768), ts 159886924994
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471
alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295
alloc_pages_bulk_node_noprof include/linux/gfp.h:231 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
page_pool_alloc_netmem include/net/page_pool/helpers.h:136 [inline]
page_pool_alloc include/net/page_pool/helpers.h:175 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:196 [inline]
skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:991
netif_skb_check_for_xdp net/core/dev.c:5760 [inline]
netif_receive_generic_xdp net/core/dev.c:5801 [inline]
do_xdp_generic+0x761/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8916 tgid 8912 ts 159867067472 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1418 [inline]
__free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2650 [inline]
rcu_core+0x92e/0x1230 kernel/rcu/tree.c:2919
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
Modules linked in:
CPU: 0 UID: 0 PID: 8913 Comm: syz.0.768 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:647
free_page_is_bad mm/page_alloc.c:1082 [inline]
__free_pages_prepare mm/page_alloc.c:1409 [inline]
__free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962
bpf_xdp_shrink_data net/core/filter.c:4383 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4407
____bpf_xdp_adjust_tail net/core/filter.c:4429 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4422
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:768 [inline]
bpf_prog_run_xdp include/net/xdp.h:701 [inline]
bpf_prog_run_generic_xdp+0x12e7/0x1560 net/core/dev.c:5687
netif_receive_generic_xdp net/core/dev.c:5807 [inline]
do_xdp_generic+0xa95/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f971375fd8e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f97145d6fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f97145d76c0 RCX: 00007f971375fd8e
RDX: 000000000000fdef RSI: 00002000000012c0 RDI: 00000000000000c8
RBP: 00007f9713836b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9713a26038 R14: 00007f9713a25fa0 R15: 00007ffd6bb0f798
BUG: Bad page state in process syz.0.768 pfn:849cf
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880849cf000 pfn:0x849cf
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801c19d000 0000000000000000
raw: ffff8880849cf000 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 8913, tgid 8912 (syz.0.768), ts 159886888716
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471
alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295
alloc_pages_bulk_node_noprof include/linux/gfp.h:231 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
page_pool_alloc_netmem include/net/page_pool/helpers.h:136 [inline]
page_pool_alloc include/net/page_pool/helpers.h:175 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:196 [inline]
skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:991
netif_skb_check_for_xdp net/core/dev.c:5760 [inline]
netif_receive_generic_xdp net/core/dev.c:5801 [inline]
do_xdp_generic+0x761/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8916 tgid 8912 ts 159867124796 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1418 [inline]
__free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2650 [inline]
rcu_core+0x92e/0x1230 kernel/rcu/tree.c:2919
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
Modules linked in:
CPU: 0 UID: 0 PID: 8913 Comm: syz.0.768 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:647
free_page_is_bad mm/page_alloc.c:1082 [inline]
__free_pages_prepare mm/page_alloc.c:1409 [inline]
__free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962
bpf_xdp_shrink_data net/core/filter.c:4383 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4407
____bpf_xdp_adjust_tail net/core/filter.c:4429 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4422
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:768 [inline]
bpf_prog_run_xdp include/net/xdp.h:701 [inline]
bpf_prog_run_generic_xdp+0x12e7/0x1560 net/core/dev.c:5687
netif_receive_generic_xdp net/core/dev.c:5807 [inline]
do_xdp_generic+0xa95/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f971375fd8e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f97145d6fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f97145d76c0 RCX: 00007f971375fd8e
RDX: 000000000000fdef RSI: 00002000000012c0 RDI: 00000000000000c8
RBP: 00007f9713836b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9713a26038 R14: 00007f9713a25fa0 R15: 00007ffd6bb0f798
BUG: Bad page state in process syz.0.768 pfn:802ec
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880802ec000 pfn:0x802ec
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801c19d000 0000000000000000
raw: ffff8880802ec000 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 8913, tgid 8912 (syz.0.768), ts 159886871245
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471
alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295
alloc_pages_bulk_node_noprof include/linux/gfp.h:231 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
page_pool_alloc_netmem include/net/page_pool/helpers.h:136 [inline]
page_pool_alloc include/net/page_pool/helpers.h:175 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:196 [inline]
skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:991
netif_skb_check_for_xdp net/core/dev.c:5760 [inline]
netif_receive_generic_xdp net/core/dev.c:5801 [inline]
do_xdp_generic+0x761/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8916 tgid 8912 ts 159867162577 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1418 [inline]
__free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2650 [inline]
rcu_core+0x92e/0x1230 kernel/rcu/tree.c:2919
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
Modules linked in:
CPU: 0 UID: 0 PID: 8913 Comm: syz.0.768 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:647
free_page_is_bad mm/page_alloc.c:1082 [inline]
__free_pages_prepare mm/page_alloc.c:1409 [inline]
__free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962
bpf_xdp_shrink_data net/core/filter.c:4383 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4407
____bpf_xdp_adjust_tail net/core/filter.c:4429 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4422
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:768 [inline]
bpf_prog_run_xdp include/net/xdp.h:701 [inline]
bpf_prog_run_generic_xdp+0x12e7/0x1560 net/core/dev.c:5687
netif_receive_generic_xdp net/core/dev.c:5807 [inline]
do_xdp_generic+0xa95/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f971375fd8e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f97145d6fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f97145d76c0 RCX: 00007f971375fd8e
RDX: 000000000000fdef RSI: 00002000000012c0 RDI: 00000000000000c8
RBP: 00007f9713836b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9713a26038 R14: 00007f9713a25fa0 R15: 00007ffd6bb0f798
BUG: Bad page state in process syz.0.768 pfn:85a14
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888085a14070 pfn:0x85a14
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801c19d000 0000000000000000
raw: ffff888085a14070 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 8913, tgid 8912 (syz.0.768), ts 159886852868
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471
alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295
alloc_pages_bulk_node_noprof include/linux/gfp.h:231 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
page_pool_alloc_netmem include/net/page_pool/helpers.h:136 [inline]
page_pool_alloc include/net/page_pool/helpers.h:175 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:196 [inline]
skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:991
netif_skb_check_for_xdp net/core/dev.c:5760 [inline]
netif_receive_generic_xdp net/core/dev.c:5801 [inline]
do_xdp_generic+0x761/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8916 tgid 8912 ts 159867199999 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1418 [inline]
__free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2650 [inline]
rcu_core+0x92e/0x1230 kernel/rcu/tree.c:2919
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
Modules linked in:
CPU: 0 UID: 0 PID: 8913 Comm: syz.0.768 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:647
free_page_is_bad mm/page_alloc.c:1082 [inline]
__free_pages_prepare mm/page_alloc.c:1409 [inline]
__free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962
bpf_xdp_shrink_data net/core/filter.c:4383 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4407
____bpf_xdp_adjust_tail net/core/filter.c:4429 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4422
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:768 [inline]
bpf_prog_run_xdp include/net/xdp.h:701 [inline]
bpf_prog_run_generic_xdp+0x12e7/0x1560 net/core/dev.c:5687
netif_receive_generic_xdp net/core/dev.c:5807 [inline]
do_xdp_generic+0xa95/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f971375fd8e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f97145d6fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f97145d76c0 RCX: 00007f971375fd8e
RDX: 000000000000fdef RSI: 00002000000012c0 RDI: 00000000000000c8
RBP: 00007f9713836b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9713a26038 R14: 00007f9713a25fa0 R15: 00007ffd6bb0f798
BUG: Bad page state in process syz.0.768 pfn:8586f
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88808586f140 pfn:0x8586f
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801c19d000 0000000000000000
raw: ffff88808586f140 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 8913, tgid 8912 (syz.0.768), ts 159886835184
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471
alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295
alloc_pages_bulk_node_noprof include/linux/gfp.h:231 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
page_pool_alloc_netmem include/net/page_pool/helpers.h:136 [inline]
page_pool_alloc include/net/page_pool/helpers.h:175 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:196 [inline]
skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:991
netif_skb_check_for_xdp net/core/dev.c:5760 [inline]
netif_receive_generic_xdp net/core/dev.c:5801 [inline]
do_xdp_generic+0x761/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8916 tgid 8912 ts 159867237767 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1418 [inline]
__free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2650 [inline]
rcu_core+0x92e/0x1230 kernel/rcu/tree.c:2919
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
Modules linked in:
CPU: 0 UID: 0 PID: 8913 Comm: syz.0.768 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:647
free_page_is_bad mm/page_alloc.c:1082 [inline]
__free_pages_prepare mm/page_alloc.c:1409 [inline]
__free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962
bpf_xdp_shrink_data net/core/filter.c:4383 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4407
____bpf_xdp_adjust_tail net/core/filter.c:4429 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4422
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:768 [inline]
bpf_prog_run_xdp include/net/xdp.h:701 [inline]
bpf_prog_run_generic_xdp+0x12e7/0x1560 net/core/dev.c:5687
netif_receive_generic_xdp net/core/dev.c:5807 [inline]
do_xdp_generic+0xa95/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f971375fd8e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f97145d6fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f97145d76c0 RCX: 00007f971375fd8e
RDX: 000000000000fdef RSI: 00002000000012c0 RDI: 00000000000000c8
RBP: 00007f9713836b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9713a26038 R14: 00007f9713a25fa0 R15: 00007ffd6bb0f798
BUG: Bad page state in process syz.0.768 pfn:85fd7
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888085fd73c0 pfn:0x85fd7
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801c19d000 0000000000000000
raw: ffff888085fd73c0 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 8913, tgid 8912 (syz.0.768), ts 159886817088
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471
alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295
alloc_pages_bulk_node_noprof include/linux/gfp.h:231 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
page_pool_alloc_netmem include/net/page_pool/helpers.h:136 [inline]
page_pool_alloc include/net/page_pool/helpers.h:175 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:196 [inline]
skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:991
netif_skb_check_for_xdp net/core/dev.c:5760 [inline]
netif_receive_generic_xdp net/core/dev.c:5801 [inline]
do_xdp_generic+0x761/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8916 tgid 8912 ts 159867276276 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1418 [inline]
__free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2650 [inline]
rcu_core+0x92e/0x1230 kernel/rcu/tree.c:2919
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
Modules linked in:
CPU: 0 UID: 0 PID: 8913 Comm: syz.0.768 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:647
free_page_is_bad mm/page_alloc.c:1082 [inline]
__free_pages_prepare mm/page_alloc.c:1409 [inline]
__free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962
bpf_xdp_shrink_data net/core/filter.c:4383 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4407
____bpf_xdp_adjust_tail net/core/filter.c:4429 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4422
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:768 [inline]
bpf_prog_run_xdp include/net/xdp.h:701 [inline]
bpf_prog_run_generic_xdp+0x12e7/0x1560 net/core/dev.c:5687
netif_receive_generic_xdp net/core/dev.c:5807 [inline]
do_xdp_generic+0xa95/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f971375fd8e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f97145d6fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f97145d76c0 RCX: 00007f971375fd8e
RDX: 000000000000fdef RSI: 00002000000012c0 RDI: 00000000000000c8
RBP: 00007f9713836b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9713a26038 R14: 00007f9713a25fa0 R15: 00007ffd6bb0f798
BUG: Bad page state in process syz.0.768 pfn:361d9
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880361d9000 pfn:0x361d9
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801c19d000 0000000000000000
raw: ffff8880361d9000 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 8913, tgid 8912 (syz.0.768), ts 159886798660
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471
alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295
alloc_pages_bulk_node_noprof include/linux/gfp.h:231 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
page_pool_alloc_netmem include/net/page_pool/helpers.h:136 [inline]
page_pool_alloc include/net/page_pool/helpers.h:175 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:196 [inline]
skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:991
netif_skb_check_for_xdp net/core/dev.c:5760 [inline]
netif_receive_generic_xdp net/core/dev.c:5801 [inline]
do_xdp_generic+0x761/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8916 tgid 8912 ts 159867314538 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1418 [inline]
__free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2650 [inline]
rcu_core+0x92e/0x1230 kernel/rcu/tree.c:2919
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
Modules linked in:
CPU: 0 UID: 0 PID: 8913 Comm: syz.0.768 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:647
free_page_is_bad mm/page_alloc.c:1082 [inline]
__free_pages_prepare mm/page_alloc.c:1409 [inline]
__free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962
bpf_xdp_shrink_data net/core/filter.c:4383 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4407
____bpf_xdp_adjust_tail net/core/filter.c:4429 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4422
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:768 [inline]
bpf_prog_run_xdp include/net/xdp.h:701 [inline]
bpf_prog_run_generic_xdp+0x12e7/0x1560 net/core/dev.c:5687
netif_receive_generic_xdp net/core/dev.c:5807 [inline]
do_xdp_generic+0xa95/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f971375fd8e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f97145d6fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f97145d76c0 RCX: 00007f971375fd8e
RDX: 000000000000fdef RSI: 00002000000012c0 RDI: 00000000000000c8
RBP: 00007f9713836b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9713a26038 R14: 00007f9713a25fa0 R15: 00007ffd6bb0f798
BUG: Bad page state in process syz.0.768 pfn:849d2
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x849d2
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801c19d000 0000000000000000
raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 8913, tgid 8912 (syz.0.768), ts 159886780762
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471
alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295
alloc_pages_bulk_node_noprof include/linux/gfp.h:231 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
page_pool_alloc_netmem include/net/page_pool/helpers.h:136 [inline]
page_pool_alloc include/net/page_pool/helpers.h:175 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:196 [inline]
skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:991
netif_skb_check_for_xdp net/core/dev.c:5760 [inline]
netif_receive_generic_xdp net/core/dev.c:5801 [inline]
do_xdp_generic+0x761/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8916 tgid 8912 ts 159867351756 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1418 [inline]
__free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2650 [inline]
rcu_core+0x92e/0x1230 kernel/rcu/tree.c:2919
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
Modules linked in:
CPU: 0 UID: 0 PID: 8913 Comm: syz.0.768 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:647
free_page_is_bad mm/page_alloc.c:1082 [inline]
__free_pages_prepare mm/page_alloc.c:1409 [inline]
__free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962
bpf_xdp_shrink_data net/core/filter.c:4383 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4407
____bpf_xdp_adjust_tail net/core/filter.c:4429 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4422
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:768 [inline]
bpf_prog_run_xdp include/net/xdp.h:701 [inline]
bpf_prog_run_generic_xdp+0x12e7/0x1560 net/core/dev.c:5687
netif_receive_generic_xdp net/core/dev.c:5807 [inline]
do_xdp_generic+0xa95/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f971375fd8e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f97145d6fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f97145d76c0 RCX: 00007f971375fd8e
RDX: 000000000000fdef RSI: 00002000000012c0 RDI: 00000000000000c8
RBP: 00007f9713836b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9713a26038 R14: 00007f9713a25fa0 R15: 00007ffd6bb0f798
BUG: Bad page state in process syz.0.768 pfn:340a0
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880340a0180 pfn:0x340a0
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801c19d000 0000000000000000
raw: ffff8880340a0180 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 8913, tgid 8912 (syz.0.768), ts 159886762154
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471
alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295
alloc_pages_bulk_node_noprof include/linux/gfp.h:231 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
page_pool_alloc_netmem include/net/page_pool/helpers.h:136 [inline]
page_pool_alloc include/net/page_pool/helpers.h:175 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:196 [inline]
skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:991
netif_skb_check_for_xdp net/core/dev.c:5760 [inline]
netif_receive_generic_xdp net/core/dev.c:5801 [inline]
do_xdp_generic+0x761/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8916 tgid 8912 ts 159867388912 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1418 [inline]
__free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2650 [inline]
rcu_core+0x92e/0x1230 kernel/rcu/tree.c:2919
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
Modules linked in:
CPU: 0 UID: 0 PID: 8913 Comm: syz.0.768 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:647
free_page_is_bad mm/page_alloc.c:1082 [inline]
__free_pages_prepare mm/page_alloc.c:1409 [inline]
__free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962
bpf_xdp_shrink_data net/core/filter.c:4383 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4407
____bpf_xdp_adjust_tail net/core/filter.c:4429 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4422
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:768 [inline]
bpf_prog_run_xdp include/net/xdp.h:701 [inline]
bpf_prog_run_generic_xdp+0x12e7/0x1560 net/core/dev.c:5687
netif_receive_generic_xdp net/core/dev.c:5807 [inline]
do_xdp_generic+0xa95/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f971375fd8e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f97145d6fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f97145d76c0 RCX: 00007f971375fd8e
RDX: 000000000000fdef RSI: 00002000000012c0 RDI: 00000000000000c8
RBP: 00007f9713836b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9713a26038 R14: 00007f9713a25fa0 R15: 00007ffd6bb0f798
BUG: Bad page state in process syz.0.768 pfn:85ee0
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888085ee0500 pfn:0x85ee0
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801c19d000 0000000000000000
raw: ffff888085ee0500 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 8913, tgid 8912 (syz.0.768), ts 159886744157
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471
alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295
alloc_pages_bulk_node_noprof include/linux/gfp.h:231 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
page_pool_alloc_netmem include/net/page_pool/helpers.h:136 [inline]
page_pool_alloc include/net/page_pool/helpers.h:175 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:196 [inline]
skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:991
netif_skb_check_for_xdp net/core/dev.c:5760 [inline]
netif_receive_generic_xdp net/core/dev.c:5801 [inline]
do_xdp_generic+0x761/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8916 tgid 8912 ts 159867426355 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1418 [inline]
__free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2650 [inline]
rcu_core+0x92e/0x1230 kernel/rcu/tree.c:2919
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
Modules linked in:
CPU: 0 UID: 0 PID: 8913 Comm: syz.0.768 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:647
free_page_is_bad mm/page_alloc.c:1082 [inline]
__free_pages_prepare mm/page_alloc.c:1409 [inline]
__free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962
bpf_xdp_shrink_data net/core/filter.c:4383 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4407
____bpf_xdp_adjust_tail net/core/filter.c:4429 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4422
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:768 [inline]
bpf_prog_run_xdp include/net/xdp.h:701 [inline]
bpf_prog_run_generic_xdp+0x12e7/0x1560 net/core/dev.c:5687
netif_receive_generic_xdp net/core/dev.c:5807 [inline]
do_xdp_generic+0xa95/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f971375fd8e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f97145d6fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f97145d76c0 RCX: 00007f971375fd8e
RDX: 000000000000fdef RSI: 00002000000012c0 RDI: 00000000000000c8
RBP: 00007f9713836b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9713a26038 R14: 00007f9713a25fa0 R15: 00007ffd6bb0f798
BUG: Bad page state in process syz.0.768 pfn:85ec8
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888085ec8780 pfn:0x85ec8
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801c19d000 0000000000000000
raw: ffff888085ec8780 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 8913, tgid 8912 (syz.0.768), ts 159886725829
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5471
alloc_pages_bulk_noprof+0x5fa/0x7c0 mm/page_alloc.c:5295
alloc_pages_bulk_node_noprof include/linux/gfp.h:231 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
page_pool_alloc_netmem include/net/page_pool/helpers.h:136 [inline]
page_pool_alloc include/net/page_pool/helpers.h:175 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:196 [inline]
skb_pp_cow_data+0xc08/0x18e0 net/core/skbuff.c:991
netif_skb_check_for_xdp net/core/dev.c:5760 [inline]
netif_receive_generic_xdp net/core/dev.c:5801 [inline]
do_xdp_generic+0x761/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8916 tgid 8912 ts 159867460669 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1418 [inline]
__free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2650 [inline]
rcu_core+0x92e/0x1230 kernel/rcu/tree.c:2919
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
Modules linked in:
CPU: 0 UID: 0 PID: 8913 Comm: syz.0.768 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:647
free_page_is_bad mm/page_alloc.c:1082 [inline]
__free_pages_prepare mm/page_alloc.c:1409 [inline]
__free_frozen_pages+0xd37/0xd90 mm/page_alloc.c:2962
bpf_xdp_shrink_data net/core/filter.c:4383 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4407
____bpf_xdp_adjust_tail net/core/filter.c:4429 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4422
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:768 [inline]
bpf_prog_run_xdp include/net/xdp.h:701 [inline]
bpf_prog_run_generic_xdp+0x12e7/0x1560 net/core/dev.c:5687
netif_receive_generic_xdp net/core/dev.c:5807 [inline]
do_xdp_generic+0xa95/0x12b0 net/core/dev.c:5869
tun_get_user+0x250d/0x4470 drivers/net/tun.c:1972
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2100
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f971375fd8e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f97145d6fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f97145d76c0 RCX: 00007f971375fd8e
RDX: 000000000000fdef RSI: 00002000000012c0 RDI: 00000000000000c8
RBP: 00007f9713836b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9713a26038 R14: 00007f9713a25fa0 R15: 00007ffd6bb0f798