BUG: Bad page state in process syz.4.577 pfn:24cd1
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888024cd1280 pfn:0x24cd1
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b144000 0000000000000000
raw: ffff888024cd1280 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 8030, tgid 8029 (syz.4.577), ts 297849545272
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:235 [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:131 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xc2c/0x18e0 net/core/skbuff.c:990
netif_skb_check_for_xdp net/core/dev.c:5619 [inline]
netif_receive_generic_xdp net/core/dev.c:5660 [inline]
do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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 24 tgid 24 ts 297842434279 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+0x926/0x1260 kernel/rcu/tree.c:2919
handle_softirqs+0x226/0x860 kernel/softirq.c:645
run_ksoftirqd+0x36/0x60 kernel/softirq.c:1099
smpboot_thread_fn+0x565/0xa70 kernel/smpboot.c:160
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 8030 Comm: syz.4.577 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/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:4384 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408
____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:779 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546
netif_receive_generic_xdp net/core/dev.c:5666 [inline]
do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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:0x7fb59055e98e
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:00007fb591523fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb5915246c0 RCX: 00007fb59055e98e
RDX: 000000000000fdef RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 00007fb59063506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb590826038 R14: 00007fb590825fa0 R15: 00007fff9ee79d08
BUG: Bad page state in process syz.4.577 pfn:74a9c
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888074a9c140 pfn:0x74a9c
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b144000 0000000000000000
raw: ffff888074a9c140 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 8030, tgid 8029 (syz.4.577), ts 297849526912
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:235 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
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+0xc08/0x18e0 net/core/skbuff.c:990
netif_skb_check_for_xdp net/core/dev.c:5619 [inline]
netif_receive_generic_xdp net/core/dev.c:5660 [inline]
do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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 24 tgid 24 ts 297842455129 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+0x926/0x1260 kernel/rcu/tree.c:2919
handle_softirqs+0x226/0x860 kernel/softirq.c:645
run_ksoftirqd+0x36/0x60 kernel/softirq.c:1099
smpboot_thread_fn+0x565/0xa70 kernel/smpboot.c:160
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 8030 Comm: syz.4.577 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/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:4384 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408
____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:779 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546
netif_receive_generic_xdp net/core/dev.c:5666 [inline]
do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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:0x7fb59055e98e
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:00007fb591523fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb5915246c0 RCX: 00007fb59055e98e
RDX: 000000000000fdef RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 00007fb59063506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb590826038 R14: 00007fb590825fa0 R15: 00007fff9ee79d08
BUG: Bad page state in process syz.4.577 pfn:74e95
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x74e95
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b144000 0000000000000000
raw: 0000000000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 8030, tgid 8029 (syz.4.577), ts 297849508322
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:235 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
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+0xc08/0x18e0 net/core/skbuff.c:990
netif_skb_check_for_xdp net/core/dev.c:5619 [inline]
netif_receive_generic_xdp net/core/dev.c:5660 [inline]
do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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 24 tgid 24 ts 297842476909 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+0x926/0x1260 kernel/rcu/tree.c:2919
handle_softirqs+0x226/0x860 kernel/softirq.c:645
run_ksoftirqd+0x36/0x60 kernel/softirq.c:1099
smpboot_thread_fn+0x565/0xa70 kernel/smpboot.c:160
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 8030 Comm: syz.4.577 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/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:4384 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408
____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:779 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546
netif_receive_generic_xdp net/core/dev.c:5666 [inline]
do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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:0x7fb59055e98e
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:00007fb591523fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb5915246c0 RCX: 00007fb59055e98e
RDX: 000000000000fdef RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 00007fb59063506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb590826038 R14: 00007fb590825fa0 R15: 00007fff9ee79d08
BUG: Bad page state in process syz.4.577 pfn:754a2
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880754a2b40 pfn:0x754a2
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b144000 0000000000000000
raw: ffff8880754a2b40 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 8030, tgid 8029 (syz.4.577), ts 297849489952
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:235 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
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+0xc08/0x18e0 net/core/skbuff.c:990
netif_skb_check_for_xdp net/core/dev.c:5619 [inline]
netif_receive_generic_xdp net/core/dev.c:5660 [inline]
do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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 24 tgid 24 ts 297842497409 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+0x926/0x1260 kernel/rcu/tree.c:2919
handle_softirqs+0x226/0x860 kernel/softirq.c:645
run_ksoftirqd+0x36/0x60 kernel/softirq.c:1099
smpboot_thread_fn+0x565/0xa70 kernel/smpboot.c:160
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 8030 Comm: syz.4.577 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/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:4384 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408
____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:779 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546
netif_receive_generic_xdp net/core/dev.c:5666 [inline]
do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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:0x7fb59055e98e
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:00007fb591523fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb5915246c0 RCX: 00007fb59055e98e
RDX: 000000000000fdef RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 00007fb59063506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb590826038 R14: 00007fb590825fa0 R15: 00007fff9ee79d08
BUG: Bad page state in process syz.4.577 pfn:76407
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888076407d00 pfn:0x76407
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b144000 0000000000000000
raw: ffff888076407d00 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 8030, tgid 8029 (syz.4.577), ts 297849471682
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:235 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
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+0xc08/0x18e0 net/core/skbuff.c:990
netif_skb_check_for_xdp net/core/dev.c:5619 [inline]
netif_receive_generic_xdp net/core/dev.c:5660 [inline]
do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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 24 tgid 24 ts 297842518269 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+0x926/0x1260 kernel/rcu/tree.c:2919
handle_softirqs+0x226/0x860 kernel/softirq.c:645
run_ksoftirqd+0x36/0x60 kernel/softirq.c:1099
smpboot_thread_fn+0x565/0xa70 kernel/smpboot.c:160
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 8030 Comm: syz.4.577 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/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:4384 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408
____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:779 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546
netif_receive_generic_xdp net/core/dev.c:5666 [inline]
do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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:0x7fb59055e98e
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:00007fb591523fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb5915246c0 RCX: 00007fb59055e98e
RDX: 000000000000fdef RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 00007fb59063506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb590826038 R14: 00007fb590825fa0 R15: 00007fff9ee79d08
BUG: Bad page state in process syz.4.577 pfn:357ae
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x3fa6 pfn:0x357ae
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b144000 0000000000000000
raw: 0000000000003fa6 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 8030, tgid 8029 (syz.4.577), ts 297849453582
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:235 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
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+0xc08/0x18e0 net/core/skbuff.c:990
netif_skb_check_for_xdp net/core/dev.c:5619 [inline]
netif_receive_generic_xdp net/core/dev.c:5660 [inline]
do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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 24 tgid 24 ts 297842539049 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+0x926/0x1260 kernel/rcu/tree.c:2919
handle_softirqs+0x226/0x860 kernel/softirq.c:645
run_ksoftirqd+0x36/0x60 kernel/softirq.c:1099
smpboot_thread_fn+0x565/0xa70 kernel/smpboot.c:160
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 8030 Comm: syz.4.577 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/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:4384 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408
____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:779 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546
netif_receive_generic_xdp net/core/dev.c:5666 [inline]
do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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:0x7fb59055e98e
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:00007fb591523fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb5915246c0 RCX: 00007fb59055e98e
RDX: 000000000000fdef RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 00007fb59063506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb590826038 R14: 00007fb590825fa0 R15: 00007fff9ee79d08
BUG: Bad page state in process syz.4.577 pfn:2b252
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802b252900 pfn:0x2b252
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b144000 0000000000000000
raw: ffff88802b252900 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 8030, tgid 8029 (syz.4.577), ts 297849435392
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:235 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
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+0xc08/0x18e0 net/core/skbuff.c:990
netif_skb_check_for_xdp net/core/dev.c:5619 [inline]
netif_receive_generic_xdp net/core/dev.c:5660 [inline]
do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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 24 tgid 24 ts 297842559689 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+0x926/0x1260 kernel/rcu/tree.c:2919
handle_softirqs+0x226/0x860 kernel/softirq.c:645
run_ksoftirqd+0x36/0x60 kernel/softirq.c:1099
smpboot_thread_fn+0x565/0xa70 kernel/smpboot.c:160
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 8030 Comm: syz.4.577 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/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:4384 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408
____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:779 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546
netif_receive_generic_xdp net/core/dev.c:5666 [inline]
do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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:0x7fb59055e98e
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:00007fb591523fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb5915246c0 RCX: 00007fb59055e98e
RDX: 000000000000fdef RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 00007fb59063506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb590826038 R14: 00007fb590825fa0 R15: 00007fff9ee79d08
BUG: Bad page state in process syz.4.577 pfn:3256e
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x3256e
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b144000 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 8030, tgid 8029 (syz.4.577), ts 297849417082
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:235 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
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+0xc08/0x18e0 net/core/skbuff.c:990
netif_skb_check_for_xdp net/core/dev.c:5619 [inline]
netif_receive_generic_xdp net/core/dev.c:5660 [inline]
do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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 24 tgid 24 ts 297842580300 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+0x926/0x1260 kernel/rcu/tree.c:2919
handle_softirqs+0x226/0x860 kernel/softirq.c:645
run_ksoftirqd+0x36/0x60 kernel/softirq.c:1099
smpboot_thread_fn+0x565/0xa70 kernel/smpboot.c:160
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 8030 Comm: syz.4.577 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/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:4384 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408
____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:779 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546
netif_receive_generic_xdp net/core/dev.c:5666 [inline]
do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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:0x7fb59055e98e
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:00007fb591523fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb5915246c0 RCX: 00007fb59055e98e
RDX: 000000000000fdef RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 00007fb59063506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb590826038 R14: 00007fb590825fa0 R15: 00007fff9ee79d08
BUG: Bad page state in process syz.4.577 pfn:759b8
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880759b8000 pfn:0x759b8
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b144000 0000000000000000
raw: ffff8880759b8000 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 8030, tgid 8029 (syz.4.577), ts 297849398982
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:235 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
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+0xc08/0x18e0 net/core/skbuff.c:990
netif_skb_check_for_xdp net/core/dev.c:5619 [inline]
netif_receive_generic_xdp net/core/dev.c:5660 [inline]
do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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 24 tgid 24 ts 297842600780 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+0x926/0x1260 kernel/rcu/tree.c:2919
handle_softirqs+0x226/0x860 kernel/softirq.c:645
run_ksoftirqd+0x36/0x60 kernel/softirq.c:1099
smpboot_thread_fn+0x565/0xa70 kernel/smpboot.c:160
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 8030 Comm: syz.4.577 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/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:4384 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408
____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:779 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546
netif_receive_generic_xdp net/core/dev.c:5666 [inline]
do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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:0x7fb59055e98e
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:00007fb591523fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb5915246c0 RCX: 00007fb59055e98e
RDX: 000000000000fdef RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 00007fb59063506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb590826038 R14: 00007fb590825fa0 R15: 00007fff9ee79d08
BUG: Bad page state in process syz.4.577 pfn:75f22
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888075f22a00 pfn:0x75f22
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b144000 0000000000000000
raw: ffff888075f22a00 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 8030, tgid 8029 (syz.4.577), ts 297849381342
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:235 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
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+0xc08/0x18e0 net/core/skbuff.c:990
netif_skb_check_for_xdp net/core/dev.c:5619 [inline]
netif_receive_generic_xdp net/core/dev.c:5660 [inline]
do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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 24 tgid 24 ts 297842621300 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+0x926/0x1260 kernel/rcu/tree.c:2919
handle_softirqs+0x226/0x860 kernel/softirq.c:645
run_ksoftirqd+0x36/0x60 kernel/softirq.c:1099
smpboot_thread_fn+0x565/0xa70 kernel/smpboot.c:160
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 8030 Comm: syz.4.577 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/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:4384 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408
____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:779 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546
netif_receive_generic_xdp net/core/dev.c:5666 [inline]
do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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:0x7fb59055e98e
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:00007fb591523fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb5915246c0 RCX: 00007fb59055e98e
RDX: 000000000000fdef RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 00007fb59063506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb590826038 R14: 00007fb590825fa0 R15: 00007fff9ee79d08
BUG: Bad page state in process syz.4.577 pfn:749c3
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x749c3
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b144000 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 8030, tgid 8029 (syz.4.577), ts 297849363162
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:235 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
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+0xc08/0x18e0 net/core/skbuff.c:990
netif_skb_check_for_xdp net/core/dev.c:5619 [inline]
netif_receive_generic_xdp net/core/dev.c:5660 [inline]
do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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 24 tgid 24 ts 297842642359 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+0x926/0x1260 kernel/rcu/tree.c:2919
handle_softirqs+0x226/0x860 kernel/softirq.c:645
run_ksoftirqd+0x36/0x60 kernel/softirq.c:1099
smpboot_thread_fn+0x565/0xa70 kernel/smpboot.c:160
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 8030 Comm: syz.4.577 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/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:4384 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408
____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:779 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546
netif_receive_generic_xdp net/core/dev.c:5666 [inline]
do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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:0x7fb59055e98e
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:00007fb591523fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb5915246c0 RCX: 00007fb59055e98e
RDX: 000000000000fdef RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 00007fb59063506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb590826038 R14: 00007fb590825fa0 R15: 00007fff9ee79d08
BUG: Bad page state in process syz.4.577 pfn:762e4
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880762e4b00 pfn:0x762e4
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b144000 0000000000000000
raw: ffff8880762e4b00 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 8030, tgid 8029 (syz.4.577), ts 297849345362
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:235 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:637
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+0xc08/0x18e0 net/core/skbuff.c:990
netif_skb_check_for_xdp net/core/dev.c:5619 [inline]
netif_receive_generic_xdp net/core/dev.c:5660 [inline]
do_xdp_generic+0x78f/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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 24 tgid 24 ts 297842662929 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+0x926/0x1260 kernel/rcu/tree.c:2919
handle_softirqs+0x226/0x860 kernel/softirq.c:645
run_ksoftirqd+0x36/0x60 kernel/softirq.c:1099
smpboot_thread_fn+0x565/0xa70 kernel/smpboot.c:160
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 8030 Comm: syz.4.577 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/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:4384 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4408
____bpf_xdp_adjust_tail net/core/filter.c:4430 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4423
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:779 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x612/0x1560 net/core/dev.c:5546
netif_receive_generic_xdp net/core/dev.c:5666 [inline]
do_xdp_generic+0xae1/0x12f0 net/core/dev.c:5728
tun_get_user+0x24e7/0x44d0 drivers/net/tun.c:1964
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2091
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:0x7fb59055e98e
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:00007fb591523fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb5915246c0 RCX: 00007fb59055e98e
RDX: 000000000000fdef RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 00007fb59063506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb590826038 R14: 00007fb590825fa0 R15: 00007fff9ee79d08