BUG: Bad page state in process syz.0.7201 pfn:5758f
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805758f000 pfn:0x5758f
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888023ec5000 0000000000000000
raw: ffff88805758f000 3ffffffffffffffd 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 23889, tgid 23888 (syz.0.5617), ts 1172722167633, free_ts 1172691992493
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0xf48/0x3530 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x299/0x2dc0 mm/page_alloc.c:5304
__alloc_pages_noprof mm/page_alloc.c:5338 [inline]
alloc_pages_bulk_noprof+0x5de/0x13c0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x1c6/0xa60 net/core/page_pool.c:619
page_pool_alloc_netmems net/core/page_pool.c:670 [inline]
page_pool_alloc_netmems+0xc4/0x1a0 net/core/page_pool.c:657
page_pool_alloc_frag_netmem+0x21d/0xa10 net/core/page_pool.c:1079
page_pool_alloc_netmem include/net/page_pool/helpers.h:131 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_alloc_va include/net/page_pool/helpers.h:198 [inline]
page_pool_dev_alloc_va include/net/page_pool/helpers.h:221 [inline]
skb_pp_cow_data+0x258/0x1220 net/core/skbuff.c:951
skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:1018
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x56b/0x12c0 net/core/dev.c:5670
__netif_receive_skb_core.constprop.0+0x836/0x3530 net/core/dev.c:6016
__netif_receive_skb_one_core+0xb0/0x1e0 net/core/dev.c:6204
__netif_receive_skb+0x1f/0x120 net/core/dev.c:6319
netif_receive_skb_internal net/core/dev.c:6405 [inline]
netif_receive_skb+0x139/0x7d0 net/core/dev.c:6464
tun_rx_batched.isra.0+0x3f6/0x750 drivers/net/tun.c:1542
tun_get_user+0x1e31/0x3c20 drivers/net/tun.c:1986
page last free pid 15 tgid 15 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0x79f/0x1090 mm/page_alloc.c:2950
__pagetable_free include/linux/mm.h:3695 [inline]
pagetable_free include/linux/mm.h:3719 [inline]
pagetable_dtor_free include/linux/mm.h:3818 [inline]
__tlb_remove_table include/asm-generic/tlb.h:221 [inline]
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x2cf/0x380 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2645 [inline]
rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2897
handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622
run_ksoftirqd kernel/softirq.c:1076 [inline]
run_ksoftirqd+0x38/0x60 kernel/softirq.c:1068
smpboot_thread_fn+0x3d3/0xaa0 kernel/smpboot.c:160
kthread+0x370/0x450 kernel/kthread.c:436
ret_from_fork+0x72b/0xd50 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 0 UID: 0 PID: 31010 Comm: syz.0.7201 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/10/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
bad_page.cold+0xbe/0xdf mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
free_page_is_bad mm/page_alloc.c:1072 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0x7d1/0x1090 mm/page_alloc.c:2950
page_frag_free+0x199/0x1f0 mm/page_frag_cache.c:169
__xdp_return+0x3b6/0x990 net/core/xdp.c:448
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail net/core/filter.c:4313 [inline]
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x8a1/0xbb0 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:723 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x614/0x1610 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0x92e/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f63fd75e68e
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:00007f63fe630fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f63fe6316c0 RCX: 00007f63fd75e68e
RDX: 000000000000fdef RSI: 0000200000001a40 RDI: 00000000000000c8
RBP: 00007f63fd833e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f63fda26038 R14: 00007f63fda25fa0 R15: 00007fff7275a968
BUG: Bad page state in process syz.0.7201 pfn:7d48e
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807d48e000 pfn:0x7d48e
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888023ec5000 0000000000000000
raw: ffff88807d48e000 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 31010, tgid 31009 (syz.0.7201), ts 1579080146068, free_ts 1579061307727
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0xf48/0x3530 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x299/0x2dc0 mm/page_alloc.c:5304
__alloc_pages_noprof mm/page_alloc.c:5338 [inline]
alloc_pages_bulk_noprof+0x5de/0x13c0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x1c6/0xa60 net/core/page_pool.c:619
page_pool_alloc_netmems net/core/page_pool.c:670 [inline]
page_pool_alloc_netmems+0xc4/0x1a0 net/core/page_pool.c:657
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xa15/0x1220 net/core/skbuff.c:984
skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:1018
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x56b/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 30999 tgid 30996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0x79f/0x1090 mm/page_alloc.c:2950
__pagetable_free include/linux/mm.h:3695 [inline]
pagetable_free include/linux/mm.h:3719 [inline]
pagetable_dtor_free include/linux/mm.h:3818 [inline]
__tlb_remove_table include/asm-generic/tlb.h:221 [inline]
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x2cf/0x380 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2645 [inline]
rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2897
handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0x162/0x210 kernel/softirq.c:735
irq_exit_rcu+0x9/0x30 kernel/softirq.c:752
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/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: 31010 Comm: syz.0.7201 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/10/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
bad_page.cold+0xbe/0xdf mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
free_page_is_bad mm/page_alloc.c:1072 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0x7d1/0x1090 mm/page_alloc.c:2950
page_frag_free+0x199/0x1f0 mm/page_frag_cache.c:169
__xdp_return+0x3b6/0x990 net/core/xdp.c:448
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail net/core/filter.c:4313 [inline]
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x8a1/0xbb0 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:723 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x614/0x1610 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0x92e/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f63fd75e68e
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:00007f63fe630fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f63fe6316c0 RCX: 00007f63fd75e68e
RDX: 000000000000fdef RSI: 0000200000001a40 RDI: 00000000000000c8
RBP: 00007f63fd833e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f63fda26038 R14: 00007f63fda25fa0 R15: 00007fff7275a968
BUG: Bad page state in process syz.0.7201 pfn:45f70
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888045f70280 pfn:0x45f70
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888023ec5000 0000000000000000
raw: ffff888045f70280 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 31010, tgid 31009 (syz.0.7201), ts 1579080139782, free_ts 1579061334307
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0xf48/0x3530 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x299/0x2dc0 mm/page_alloc.c:5304
__alloc_pages_noprof mm/page_alloc.c:5338 [inline]
alloc_pages_bulk_noprof+0x5de/0x13c0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x1c6/0xa60 net/core/page_pool.c:619
page_pool_alloc_netmems net/core/page_pool.c:670 [inline]
page_pool_alloc_netmems+0xc4/0x1a0 net/core/page_pool.c:657
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xa15/0x1220 net/core/skbuff.c:984
skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:1018
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x56b/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 30999 tgid 30996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0x79f/0x1090 mm/page_alloc.c:2950
__pagetable_free include/linux/mm.h:3695 [inline]
pagetable_free include/linux/mm.h:3719 [inline]
pagetable_dtor_free include/linux/mm.h:3818 [inline]
__tlb_remove_table include/asm-generic/tlb.h:221 [inline]
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x2cf/0x380 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2645 [inline]
rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2897
handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0x162/0x210 kernel/softirq.c:735
irq_exit_rcu+0x9/0x30 kernel/softirq.c:752
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/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: 31010 Comm: syz.0.7201 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/10/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
bad_page.cold+0xbe/0xdf mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
free_page_is_bad mm/page_alloc.c:1072 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0x7d1/0x1090 mm/page_alloc.c:2950
page_frag_free+0x199/0x1f0 mm/page_frag_cache.c:169
__xdp_return+0x3b6/0x990 net/core/xdp.c:448
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail net/core/filter.c:4313 [inline]
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x8a1/0xbb0 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:723 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x614/0x1610 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0x92e/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f63fd75e68e
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:00007f63fe630fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f63fe6316c0 RCX: 00007f63fd75e68e
RDX: 000000000000fdef RSI: 0000200000001a40 RDI: 00000000000000c8
RBP: 00007f63fd833e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f63fda26038 R14: 00007f63fda25fa0 R15: 00007fff7275a968
BUG: Bad page state in process syz.0.7201 pfn:5c84f
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805c84f000 pfn:0x5c84f
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888023ec5000 0000000000000000
raw: ffff88805c84f000 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 31010, tgid 31009 (syz.0.7201), ts 1579080133485, free_ts 1579061359466
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0xf48/0x3530 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x299/0x2dc0 mm/page_alloc.c:5304
__alloc_pages_noprof mm/page_alloc.c:5338 [inline]
alloc_pages_bulk_noprof+0x5de/0x13c0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x1c6/0xa60 net/core/page_pool.c:619
page_pool_alloc_netmems net/core/page_pool.c:670 [inline]
page_pool_alloc_netmems+0xc4/0x1a0 net/core/page_pool.c:657
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xa15/0x1220 net/core/skbuff.c:984
skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:1018
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x56b/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 30999 tgid 30996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0x79f/0x1090 mm/page_alloc.c:2950
__pagetable_free include/linux/mm.h:3695 [inline]
pagetable_free include/linux/mm.h:3719 [inline]
pagetable_dtor_free include/linux/mm.h:3818 [inline]
__tlb_remove_table include/asm-generic/tlb.h:221 [inline]
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x2cf/0x380 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2645 [inline]
rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2897
handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0x162/0x210 kernel/softirq.c:735
irq_exit_rcu+0x9/0x30 kernel/softirq.c:752
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/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: 31010 Comm: syz.0.7201 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/10/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
bad_page.cold+0xbe/0xdf mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
free_page_is_bad mm/page_alloc.c:1072 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0x7d1/0x1090 mm/page_alloc.c:2950
page_frag_free+0x199/0x1f0 mm/page_frag_cache.c:169
__xdp_return+0x3b6/0x990 net/core/xdp.c:448
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail net/core/filter.c:4313 [inline]
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x8a1/0xbb0 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:723 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x614/0x1610 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0x92e/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f63fd75e68e
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:00007f63fe630fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f63fe6316c0 RCX: 00007f63fd75e68e
RDX: 000000000000fdef RSI: 0000200000001a40 RDI: 00000000000000c8
RBP: 00007f63fd833e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f63fda26038 R14: 00007f63fda25fa0 R15: 00007fff7275a968
BUG: Bad page state in process syz.0.7201 pfn:2af85
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x2af85
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888023ec5000 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 31010, tgid 31009 (syz.0.7201), ts 1579080127023, free_ts 1579061383421
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0xf48/0x3530 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x299/0x2dc0 mm/page_alloc.c:5304
__alloc_pages_noprof mm/page_alloc.c:5338 [inline]
alloc_pages_bulk_noprof+0x5de/0x13c0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x1c6/0xa60 net/core/page_pool.c:619
page_pool_alloc_netmems net/core/page_pool.c:670 [inline]
page_pool_alloc_netmems+0xc4/0x1a0 net/core/page_pool.c:657
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xa15/0x1220 net/core/skbuff.c:984
skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:1018
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x56b/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 30999 tgid 30996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0x79f/0x1090 mm/page_alloc.c:2950
__pagetable_free include/linux/mm.h:3695 [inline]
pagetable_free include/linux/mm.h:3719 [inline]
pagetable_dtor_free include/linux/mm.h:3818 [inline]
__tlb_remove_table include/asm-generic/tlb.h:221 [inline]
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x2cf/0x380 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2645 [inline]
rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2897
handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0x162/0x210 kernel/softirq.c:735
irq_exit_rcu+0x9/0x30 kernel/softirq.c:752
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/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: 31010 Comm: syz.0.7201 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/10/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
bad_page.cold+0xbe/0xdf mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
free_page_is_bad mm/page_alloc.c:1072 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0x7d1/0x1090 mm/page_alloc.c:2950
page_frag_free+0x199/0x1f0 mm/page_frag_cache.c:169
__xdp_return+0x3b6/0x990 net/core/xdp.c:448
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail net/core/filter.c:4313 [inline]
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x8a1/0xbb0 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:723 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x614/0x1610 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0x92e/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f63fd75e68e
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:00007f63fe630fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f63fe6316c0 RCX: 00007f63fd75e68e
RDX: 000000000000fdef RSI: 0000200000001a40 RDI: 00000000000000c8
RBP: 00007f63fd833e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f63fda26038 R14: 00007f63fda25fa0 R15: 00007fff7275a968
BUG: Bad page state in process syz.0.7201 pfn:36f0b
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888036f0b000 pfn:0x36f0b
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888023ec5000 0000000000000000
raw: ffff888036f0b000 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 31010, tgid 31009 (syz.0.7201), ts 1579080120855, free_ts 1579061397069
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0xf48/0x3530 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x299/0x2dc0 mm/page_alloc.c:5304
__alloc_pages_noprof mm/page_alloc.c:5338 [inline]
alloc_pages_bulk_noprof+0x5de/0x13c0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x1c6/0xa60 net/core/page_pool.c:619
page_pool_alloc_netmems net/core/page_pool.c:670 [inline]
page_pool_alloc_netmems+0xc4/0x1a0 net/core/page_pool.c:657
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xa15/0x1220 net/core/skbuff.c:984
skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:1018
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x56b/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 30999 tgid 30996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0x79f/0x1090 mm/page_alloc.c:2950
__pagetable_free include/linux/mm.h:3695 [inline]
pagetable_free include/linux/mm.h:3719 [inline]
pagetable_dtor_free include/linux/mm.h:3818 [inline]
__tlb_remove_table include/asm-generic/tlb.h:221 [inline]
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x2cf/0x380 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2645 [inline]
rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2897
handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0x162/0x210 kernel/softirq.c:735
irq_exit_rcu+0x9/0x30 kernel/softirq.c:752
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/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: 31010 Comm: syz.0.7201 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/10/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
bad_page.cold+0xbe/0xdf mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
free_page_is_bad mm/page_alloc.c:1072 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0x7d1/0x1090 mm/page_alloc.c:2950
page_frag_free+0x199/0x1f0 mm/page_frag_cache.c:169
__xdp_return+0x3b6/0x990 net/core/xdp.c:448
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail net/core/filter.c:4313 [inline]
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x8a1/0xbb0 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:723 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x614/0x1610 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0x92e/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f63fd75e68e
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:00007f63fe630fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f63fe6316c0 RCX: 00007f63fd75e68e
RDX: 000000000000fdef RSI: 0000200000001a40 RDI: 00000000000000c8
RBP: 00007f63fd833e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f63fda26038 R14: 00007f63fda25fa0 R15: 00007fff7275a968
BUG: Bad page state in process syz.0.7201 pfn:7da6a
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807da6ac80 pfn:0x7da6a
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888023ec5000 0000000000000000
raw: ffff88807da6ac80 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 31010, tgid 31009 (syz.0.7201), ts 1579080114693, free_ts 1579061421917
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0xf48/0x3530 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x299/0x2dc0 mm/page_alloc.c:5304
__alloc_pages_noprof mm/page_alloc.c:5338 [inline]
alloc_pages_bulk_noprof+0x5de/0x13c0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x1c6/0xa60 net/core/page_pool.c:619
page_pool_alloc_netmems net/core/page_pool.c:670 [inline]
page_pool_alloc_netmems+0xc4/0x1a0 net/core/page_pool.c:657
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xa15/0x1220 net/core/skbuff.c:984
skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:1018
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x56b/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 30999 tgid 30996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0x79f/0x1090 mm/page_alloc.c:2950
__pagetable_free include/linux/mm.h:3695 [inline]
pagetable_free include/linux/mm.h:3719 [inline]
pagetable_dtor_free include/linux/mm.h:3818 [inline]
__tlb_remove_table include/asm-generic/tlb.h:221 [inline]
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x2cf/0x380 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2645 [inline]
rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2897
handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0x162/0x210 kernel/softirq.c:735
irq_exit_rcu+0x9/0x30 kernel/softirq.c:752
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/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: 31010 Comm: syz.0.7201 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/10/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
bad_page.cold+0xbe/0xdf mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
free_page_is_bad mm/page_alloc.c:1072 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0x7d1/0x1090 mm/page_alloc.c:2950
page_frag_free+0x199/0x1f0 mm/page_frag_cache.c:169
__xdp_return+0x3b6/0x990 net/core/xdp.c:448
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail net/core/filter.c:4313 [inline]
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x8a1/0xbb0 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:723 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x614/0x1610 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0x92e/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f63fd75e68e
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:00007f63fe630fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f63fe6316c0 RCX: 00007f63fd75e68e
RDX: 000000000000fdef RSI: 0000200000001a40 RDI: 00000000000000c8
RBP: 00007f63fd833e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f63fda26038 R14: 00007f63fda25fa0 R15: 00007fff7275a968
BUG: Bad page state in process syz.0.7201 pfn:7b403
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x7b403
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888023ec5000 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 31010, tgid 31009 (syz.0.7201), ts 1579080108317, free_ts 1579061446644
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0xf48/0x3530 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x299/0x2dc0 mm/page_alloc.c:5304
__alloc_pages_noprof mm/page_alloc.c:5338 [inline]
alloc_pages_bulk_noprof+0x5de/0x13c0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x1c6/0xa60 net/core/page_pool.c:619
page_pool_alloc_netmems net/core/page_pool.c:670 [inline]
page_pool_alloc_netmems+0xc4/0x1a0 net/core/page_pool.c:657
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xa15/0x1220 net/core/skbuff.c:984
skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:1018
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x56b/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 30999 tgid 30996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0x79f/0x1090 mm/page_alloc.c:2950
__pagetable_free include/linux/mm.h:3695 [inline]
pagetable_free include/linux/mm.h:3719 [inline]
pagetable_dtor_free include/linux/mm.h:3818 [inline]
__tlb_remove_table include/asm-generic/tlb.h:221 [inline]
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x2cf/0x380 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2645 [inline]
rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2897
handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0x162/0x210 kernel/softirq.c:735
irq_exit_rcu+0x9/0x30 kernel/softirq.c:752
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/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: 31010 Comm: syz.0.7201 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/10/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
bad_page.cold+0xbe/0xdf mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
free_page_is_bad mm/page_alloc.c:1072 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0x7d1/0x1090 mm/page_alloc.c:2950
page_frag_free+0x199/0x1f0 mm/page_frag_cache.c:169
__xdp_return+0x3b6/0x990 net/core/xdp.c:448
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail net/core/filter.c:4313 [inline]
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x8a1/0xbb0 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:723 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x614/0x1610 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0x92e/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f63fd75e68e
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:00007f63fe630fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f63fe6316c0 RCX: 00007f63fd75e68e
RDX: 000000000000fdef RSI: 0000200000001a40 RDI: 00000000000000c8
RBP: 00007f63fd833e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f63fda26038 R14: 00007f63fda25fa0 R15: 00007fff7275a968
BUG: Bad page state in process syz.0.7201 pfn:5719a
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805719a000 pfn:0x5719a
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888023ec5000 0000000000000000
raw: ffff88805719a000 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 31010, tgid 31009 (syz.0.7201), ts 1579080102055, free_ts 1579061460564
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0xf48/0x3530 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x299/0x2dc0 mm/page_alloc.c:5304
__alloc_pages_noprof mm/page_alloc.c:5338 [inline]
alloc_pages_bulk_noprof+0x5de/0x13c0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x1c6/0xa60 net/core/page_pool.c:619
page_pool_alloc_netmems net/core/page_pool.c:670 [inline]
page_pool_alloc_netmems+0xc4/0x1a0 net/core/page_pool.c:657
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xa15/0x1220 net/core/skbuff.c:984
skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:1018
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x56b/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 30999 tgid 30996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0x79f/0x1090 mm/page_alloc.c:2950
__pagetable_free include/linux/mm.h:3695 [inline]
pagetable_free include/linux/mm.h:3719 [inline]
pagetable_dtor_free include/linux/mm.h:3818 [inline]
__tlb_remove_table include/asm-generic/tlb.h:221 [inline]
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x2cf/0x380 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2645 [inline]
rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2897
handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0x162/0x210 kernel/softirq.c:735
irq_exit_rcu+0x9/0x30 kernel/softirq.c:752
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/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: 31010 Comm: syz.0.7201 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/10/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
bad_page.cold+0xbe/0xdf mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
free_page_is_bad mm/page_alloc.c:1072 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0x7d1/0x1090 mm/page_alloc.c:2950
page_frag_free+0x199/0x1f0 mm/page_frag_cache.c:169
__xdp_return+0x3b6/0x990 net/core/xdp.c:448
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail net/core/filter.c:4313 [inline]
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x8a1/0xbb0 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:723 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x614/0x1610 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0x92e/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f63fd75e68e
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:00007f63fe630fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f63fe6316c0 RCX: 00007f63fd75e68e
RDX: 000000000000fdef RSI: 0000200000001a40 RDI: 00000000000000c8
RBP: 00007f63fd833e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f63fda26038 R14: 00007f63fda25fa0 R15: 00007fff7275a968
BUG: Bad page state in process syz.0.7201 pfn:7de1a
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807de1a8c0 pfn:0x7de1a
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888023ec5000 0000000000000000
raw: ffff88807de1a8c0 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 31010, tgid 31009 (syz.0.7201), ts 1579080095950, free_ts 1579061485677
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0xf48/0x3530 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x299/0x2dc0 mm/page_alloc.c:5304
__alloc_pages_noprof mm/page_alloc.c:5338 [inline]
alloc_pages_bulk_noprof+0x5de/0x13c0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x1c6/0xa60 net/core/page_pool.c:619
page_pool_alloc_netmems net/core/page_pool.c:670 [inline]
page_pool_alloc_netmems+0xc4/0x1a0 net/core/page_pool.c:657
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xa15/0x1220 net/core/skbuff.c:984
skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:1018
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x56b/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 30999 tgid 30996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0x79f/0x1090 mm/page_alloc.c:2950
__pagetable_free include/linux/mm.h:3695 [inline]
pagetable_free include/linux/mm.h:3719 [inline]
pagetable_dtor_free include/linux/mm.h:3818 [inline]
__tlb_remove_table include/asm-generic/tlb.h:221 [inline]
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x2cf/0x380 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2645 [inline]
rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2897
handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0x162/0x210 kernel/softirq.c:735
irq_exit_rcu+0x9/0x30 kernel/softirq.c:752
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/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: 31010 Comm: syz.0.7201 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/10/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
bad_page.cold+0xbe/0xdf mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
free_page_is_bad mm/page_alloc.c:1072 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0x7d1/0x1090 mm/page_alloc.c:2950
page_frag_free+0x199/0x1f0 mm/page_frag_cache.c:169
__xdp_return+0x3b6/0x990 net/core/xdp.c:448
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail net/core/filter.c:4313 [inline]
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x8a1/0xbb0 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:723 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x614/0x1610 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0x92e/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f63fd75e68e
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:00007f63fe630fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f63fe6316c0 RCX: 00007f63fd75e68e
RDX: 000000000000fdef RSI: 0000200000001a40 RDI: 00000000000000c8
RBP: 00007f63fd833e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f63fda26038 R14: 00007f63fda25fa0 R15: 00007fff7275a968
BUG: Bad page state in process syz.0.7201 pfn:7eb92
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x7eb92
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888023ec5000 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 31010, tgid 31009 (syz.0.7201), ts 1579080089474, free_ts 1579061509985
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0xf48/0x3530 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x299/0x2dc0 mm/page_alloc.c:5304
__alloc_pages_noprof mm/page_alloc.c:5338 [inline]
alloc_pages_bulk_noprof+0x5de/0x13c0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x1c6/0xa60 net/core/page_pool.c:619
page_pool_alloc_netmems net/core/page_pool.c:670 [inline]
page_pool_alloc_netmems+0xc4/0x1a0 net/core/page_pool.c:657
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xa15/0x1220 net/core/skbuff.c:984
skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:1018
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x56b/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 30999 tgid 30996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0x79f/0x1090 mm/page_alloc.c:2950
__pagetable_free include/linux/mm.h:3695 [inline]
pagetable_free include/linux/mm.h:3719 [inline]
pagetable_dtor_free include/linux/mm.h:3818 [inline]
__tlb_remove_table include/asm-generic/tlb.h:221 [inline]
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x2cf/0x380 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2645 [inline]
rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2897
handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0x162/0x210 kernel/softirq.c:735
irq_exit_rcu+0x9/0x30 kernel/softirq.c:752
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/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: 31010 Comm: syz.0.7201 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/10/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
bad_page.cold+0xbe/0xdf mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
free_page_is_bad mm/page_alloc.c:1072 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0x7d1/0x1090 mm/page_alloc.c:2950
page_frag_free+0x199/0x1f0 mm/page_frag_cache.c:169
__xdp_return+0x3b6/0x990 net/core/xdp.c:448
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail net/core/filter.c:4313 [inline]
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x8a1/0xbb0 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:723 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x614/0x1610 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0x92e/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f63fd75e68e
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:00007f63fe630fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f63fe6316c0 RCX: 00007f63fd75e68e
RDX: 000000000000fdef RSI: 0000200000001a40 RDI: 00000000000000c8
RBP: 00007f63fd833e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f63fda26038 R14: 00007f63fda25fa0 R15: 00007fff7275a968
BUG: Bad page state in process syz.0.7201 pfn:2be41
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802be41000 pfn:0x2be41
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888023ec5000 0000000000000000
raw: ffff88802be41000 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 31010, tgid 31009 (syz.0.7201), ts 1579080083232, free_ts 1579061525820
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0xf48/0x3530 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x299/0x2dc0 mm/page_alloc.c:5304
__alloc_pages_noprof mm/page_alloc.c:5338 [inline]
alloc_pages_bulk_noprof+0x5de/0x13c0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x1c6/0xa60 net/core/page_pool.c:619
page_pool_alloc_netmems net/core/page_pool.c:670 [inline]
page_pool_alloc_netmems+0xc4/0x1a0 net/core/page_pool.c:657
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xa15/0x1220 net/core/skbuff.c:984
skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:1018
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x56b/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 30999 tgid 30996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0x79f/0x1090 mm/page_alloc.c:2950
__pagetable_free include/linux/mm.h:3695 [inline]
pagetable_free include/linux/mm.h:3719 [inline]
pagetable_dtor_free include/linux/mm.h:3818 [inline]
__tlb_remove_table include/asm-generic/tlb.h:221 [inline]
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x2cf/0x380 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2645 [inline]
rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2897
handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0x162/0x210 kernel/softirq.c:735
irq_exit_rcu+0x9/0x30 kernel/softirq.c:752
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/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: 31010 Comm: syz.0.7201 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/10/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
bad_page.cold+0xbe/0xdf mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
free_page_is_bad mm/page_alloc.c:1072 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0x7d1/0x1090 mm/page_alloc.c:2950
page_frag_free+0x199/0x1f0 mm/page_frag_cache.c:169
__xdp_return+0x3b6/0x990 net/core/xdp.c:448
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail net/core/filter.c:4313 [inline]
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x8a1/0xbb0 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:723 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x614/0x1610 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0x92e/0x12c0 net/core/dev.c:5670
tun_get_user+0x1c1c/0x3c20 drivers/net/tun.c:1905
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f63fd75e68e
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:00007f63fe630fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f63fe6316c0 RCX: 00007f63fd75e68e
RDX: 000000000000fdef RSI: 0000200000001a40 RDI: 00000000000000c8
RBP: 00007f63fd833e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f63fda26038 R14: 00007f63fda25fa0 R15: 00007fff7275a968