BUG: Bad page state in process syz.4.334 pfn:42bf3
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42bf3
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022adc000 0000000000000000
raw: 0000000000000000 3fffffffffffffff 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 7013, tgid 7009 (syz.4.334), ts 127757301609, free_ts 127490459463
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x22d/0x280 mm/page_alloc.c:1853
prep_new_page mm/page_alloc.c:1861 [inline]
get_page_from_freelist+0x24ae/0x2530 mm/page_alloc.c:3941
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5221
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5255
alloc_pages_bulk_noprof+0x5ff/0x7c0 mm/page_alloc.c:5175
alloc_pages_bulk_node_noprof include/linux/gfp.h:259 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
page_pool_alloc_netmems net/core/page_pool.c:670 [inline]
page_pool_alloc_frag_netmem+0x551/0x9c0 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_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xcf6/0x19a0 net/core/skbuff.c:982
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 6996 tgid 6996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xc0d/0xd20 mm/page_alloc.c:2938
vfree+0x1fd/0x330 mm/vmalloc.c:3472
xskq_destroy+0x40/0x60 net/xdp/xsk_queue.c:64
xsk_release+0x724/0x980 net/xdp/xsk.c:1364
__sock_release net/socket.c:722 [inline]
sock_close+0xad/0x220 net/socket.c:1515
__fput+0x418/0xa50 fs/file_table.c:510
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:67 [inline]
exit_to_user_mode_loop+0x193/0x6b0 kernel/entry/common.c:98
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]
do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 1 UID: 0 PID: 7013 Comm: syz.4.334 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:632
free_page_is_bad mm/page_alloc.c:1076 [inline]
__free_pages_prepare mm/page_alloc.c:1388 [inline]
__free_frozen_pages+0xcca/0xd20 mm/page_alloc.c:2938
bpf_xdp_shrink_data net/core/filter.c:4247 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4271
____bpf_xdp_adjust_tail net/core/filter.c:4293 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4286
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:722 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2150d5d68e
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:00007f214eff5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f214eff66c0 RCX: 00007f2150d5d68e
RDX: 000000000000fdef RSI: 00002000000030c0 RDI: 00000000000000c8
RBP: 00007f2150e32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2151016128 R14: 00007f2151016090 R15: 00007ffe1b793a68
BUG: Bad page state in process syz.4.334 pfn:42bf4
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42bf4
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022adc000 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 7013, tgid 7009 (syz.4.334), ts 127757282516, free_ts 127490473876
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x22d/0x280 mm/page_alloc.c:1853
prep_new_page mm/page_alloc.c:1861 [inline]
get_page_from_freelist+0x24ae/0x2530 mm/page_alloc.c:3941
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5221
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5255
alloc_pages_bulk_noprof+0x5ff/0x7c0 mm/page_alloc.c:5175
alloc_pages_bulk_node_noprof include/linux/gfp.h:259 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
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+0xcd0/0x19a0 net/core/skbuff.c:982
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 6996 tgid 6996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xc0d/0xd20 mm/page_alloc.c:2938
vfree+0x1fd/0x330 mm/vmalloc.c:3472
xskq_destroy+0x40/0x60 net/xdp/xsk_queue.c:64
xsk_release+0x724/0x980 net/xdp/xsk.c:1364
__sock_release net/socket.c:722 [inline]
sock_close+0xad/0x220 net/socket.c:1515
__fput+0x418/0xa50 fs/file_table.c:510
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:67 [inline]
exit_to_user_mode_loop+0x193/0x6b0 kernel/entry/common.c:98
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]
do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 1 UID: 0 PID: 7013 Comm: syz.4.334 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:632
free_page_is_bad mm/page_alloc.c:1076 [inline]
__free_pages_prepare mm/page_alloc.c:1388 [inline]
__free_frozen_pages+0xcca/0xd20 mm/page_alloc.c:2938
bpf_xdp_shrink_data net/core/filter.c:4247 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4271
____bpf_xdp_adjust_tail net/core/filter.c:4293 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4286
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:722 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2150d5d68e
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:00007f214eff5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f214eff66c0 RCX: 00007f2150d5d68e
RDX: 000000000000fdef RSI: 00002000000030c0 RDI: 00000000000000c8
RBP: 00007f2150e32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2151016128 R14: 00007f2151016090 R15: 00007ffe1b793a68
BUG: Bad page state in process syz.4.334 pfn:42bf5
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42bf5
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022adc000 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 7013, tgid 7009 (syz.4.334), ts 127757264492, free_ts 127490487894
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x22d/0x280 mm/page_alloc.c:1853
prep_new_page mm/page_alloc.c:1861 [inline]
get_page_from_freelist+0x24ae/0x2530 mm/page_alloc.c:3941
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5221
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5255
alloc_pages_bulk_noprof+0x5ff/0x7c0 mm/page_alloc.c:5175
alloc_pages_bulk_node_noprof include/linux/gfp.h:259 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
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+0xcd0/0x19a0 net/core/skbuff.c:982
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 6996 tgid 6996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xc0d/0xd20 mm/page_alloc.c:2938
vfree+0x1fd/0x330 mm/vmalloc.c:3472
xskq_destroy+0x40/0x60 net/xdp/xsk_queue.c:64
xsk_release+0x724/0x980 net/xdp/xsk.c:1364
__sock_release net/socket.c:722 [inline]
sock_close+0xad/0x220 net/socket.c:1515
__fput+0x418/0xa50 fs/file_table.c:510
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:67 [inline]
exit_to_user_mode_loop+0x193/0x6b0 kernel/entry/common.c:98
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]
do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 1 UID: 0 PID: 7013 Comm: syz.4.334 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:632
free_page_is_bad mm/page_alloc.c:1076 [inline]
__free_pages_prepare mm/page_alloc.c:1388 [inline]
__free_frozen_pages+0xcca/0xd20 mm/page_alloc.c:2938
bpf_xdp_shrink_data net/core/filter.c:4247 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4271
____bpf_xdp_adjust_tail net/core/filter.c:4293 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4286
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:722 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2150d5d68e
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:00007f214eff5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f214eff66c0 RCX: 00007f2150d5d68e
RDX: 000000000000fdef RSI: 00002000000030c0 RDI: 00000000000000c8
RBP: 00007f2150e32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2151016128 R14: 00007f2151016090 R15: 00007ffe1b793a68
BUG: Bad page state in process syz.4.334 pfn:42bf6
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42bf6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022adc000 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 7013, tgid 7009 (syz.4.334), ts 127757222926, free_ts 127490502053
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x22d/0x280 mm/page_alloc.c:1853
prep_new_page mm/page_alloc.c:1861 [inline]
get_page_from_freelist+0x24ae/0x2530 mm/page_alloc.c:3941
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5221
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5255
alloc_pages_bulk_noprof+0x5ff/0x7c0 mm/page_alloc.c:5175
alloc_pages_bulk_node_noprof include/linux/gfp.h:259 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
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+0xcd0/0x19a0 net/core/skbuff.c:982
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 6996 tgid 6996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xc0d/0xd20 mm/page_alloc.c:2938
vfree+0x1fd/0x330 mm/vmalloc.c:3472
xskq_destroy+0x40/0x60 net/xdp/xsk_queue.c:64
xsk_release+0x724/0x980 net/xdp/xsk.c:1364
__sock_release net/socket.c:722 [inline]
sock_close+0xad/0x220 net/socket.c:1515
__fput+0x418/0xa50 fs/file_table.c:510
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:67 [inline]
exit_to_user_mode_loop+0x193/0x6b0 kernel/entry/common.c:98
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]
do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 1 UID: 0 PID: 7013 Comm: syz.4.334 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:632
free_page_is_bad mm/page_alloc.c:1076 [inline]
__free_pages_prepare mm/page_alloc.c:1388 [inline]
__free_frozen_pages+0xcca/0xd20 mm/page_alloc.c:2938
bpf_xdp_shrink_data net/core/filter.c:4247 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4271
____bpf_xdp_adjust_tail net/core/filter.c:4293 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4286
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:722 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2150d5d68e
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:00007f214eff5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f214eff66c0 RCX: 00007f2150d5d68e
RDX: 000000000000fdef RSI: 00002000000030c0 RDI: 00000000000000c8
RBP: 00007f2150e32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2151016128 R14: 00007f2151016090 R15: 00007ffe1b793a68
BUG: Bad page state in process syz.4.334 pfn:42bf7
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42bf7
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022adc000 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 7013, tgid 7009 (syz.4.334), ts 127757206748, free_ts 127490515383
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x22d/0x280 mm/page_alloc.c:1853
prep_new_page mm/page_alloc.c:1861 [inline]
get_page_from_freelist+0x24ae/0x2530 mm/page_alloc.c:3941
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5221
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5255
alloc_pages_bulk_noprof+0x5ff/0x7c0 mm/page_alloc.c:5175
alloc_pages_bulk_node_noprof include/linux/gfp.h:259 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
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+0xcd0/0x19a0 net/core/skbuff.c:982
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 6996 tgid 6996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xc0d/0xd20 mm/page_alloc.c:2938
vfree+0x1fd/0x330 mm/vmalloc.c:3472
xskq_destroy+0x40/0x60 net/xdp/xsk_queue.c:64
xsk_release+0x724/0x980 net/xdp/xsk.c:1364
__sock_release net/socket.c:722 [inline]
sock_close+0xad/0x220 net/socket.c:1515
__fput+0x418/0xa50 fs/file_table.c:510
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:67 [inline]
exit_to_user_mode_loop+0x193/0x6b0 kernel/entry/common.c:98
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]
do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 1 UID: 0 PID: 7013 Comm: syz.4.334 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:632
free_page_is_bad mm/page_alloc.c:1076 [inline]
__free_pages_prepare mm/page_alloc.c:1388 [inline]
__free_frozen_pages+0xcca/0xd20 mm/page_alloc.c:2938
bpf_xdp_shrink_data net/core/filter.c:4247 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4271
____bpf_xdp_adjust_tail net/core/filter.c:4293 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4286
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:722 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2150d5d68e
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:00007f214eff5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f214eff66c0 RCX: 00007f2150d5d68e
RDX: 000000000000fdef RSI: 00002000000030c0 RDI: 00000000000000c8
RBP: 00007f2150e32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2151016128 R14: 00007f2151016090 R15: 00007ffe1b793a68
BUG: Bad page state in process syz.4.334 pfn:42bf8
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42bf8
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022adc000 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 7013, tgid 7009 (syz.4.334), ts 127757178121, free_ts 127490529589
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x22d/0x280 mm/page_alloc.c:1853
prep_new_page mm/page_alloc.c:1861 [inline]
get_page_from_freelist+0x24ae/0x2530 mm/page_alloc.c:3941
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5221
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5255
alloc_pages_bulk_noprof+0x5ff/0x7c0 mm/page_alloc.c:5175
alloc_pages_bulk_node_noprof include/linux/gfp.h:259 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
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+0xcd0/0x19a0 net/core/skbuff.c:982
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 6996 tgid 6996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xc0d/0xd20 mm/page_alloc.c:2938
vfree+0x1fd/0x330 mm/vmalloc.c:3472
xskq_destroy+0x40/0x60 net/xdp/xsk_queue.c:64
xsk_release+0x724/0x980 net/xdp/xsk.c:1364
__sock_release net/socket.c:722 [inline]
sock_close+0xad/0x220 net/socket.c:1515
__fput+0x418/0xa50 fs/file_table.c:510
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:67 [inline]
exit_to_user_mode_loop+0x193/0x6b0 kernel/entry/common.c:98
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]
do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 1 UID: 0 PID: 7013 Comm: syz.4.334 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:632
free_page_is_bad mm/page_alloc.c:1076 [inline]
__free_pages_prepare mm/page_alloc.c:1388 [inline]
__free_frozen_pages+0xcca/0xd20 mm/page_alloc.c:2938
bpf_xdp_shrink_data net/core/filter.c:4247 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4271
____bpf_xdp_adjust_tail net/core/filter.c:4293 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4286
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:722 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2150d5d68e
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:00007f214eff5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f214eff66c0 RCX: 00007f2150d5d68e
RDX: 000000000000fdef RSI: 00002000000030c0 RDI: 00000000000000c8
RBP: 00007f2150e32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2151016128 R14: 00007f2151016090 R15: 00007ffe1b793a68
BUG: Bad page state in process syz.4.334 pfn:42bf9
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42bf9
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022adc000 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 7013, tgid 7009 (syz.4.334), ts 127757160700, free_ts 127490544086
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x22d/0x280 mm/page_alloc.c:1853
prep_new_page mm/page_alloc.c:1861 [inline]
get_page_from_freelist+0x24ae/0x2530 mm/page_alloc.c:3941
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5221
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5255
alloc_pages_bulk_noprof+0x5ff/0x7c0 mm/page_alloc.c:5175
alloc_pages_bulk_node_noprof include/linux/gfp.h:259 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
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+0xcd0/0x19a0 net/core/skbuff.c:982
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 6996 tgid 6996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xc0d/0xd20 mm/page_alloc.c:2938
vfree+0x1fd/0x330 mm/vmalloc.c:3472
xskq_destroy+0x40/0x60 net/xdp/xsk_queue.c:64
xsk_release+0x724/0x980 net/xdp/xsk.c:1364
__sock_release net/socket.c:722 [inline]
sock_close+0xad/0x220 net/socket.c:1515
__fput+0x418/0xa50 fs/file_table.c:510
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:67 [inline]
exit_to_user_mode_loop+0x193/0x6b0 kernel/entry/common.c:98
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]
do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 1 UID: 0 PID: 7013 Comm: syz.4.334 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:632
free_page_is_bad mm/page_alloc.c:1076 [inline]
__free_pages_prepare mm/page_alloc.c:1388 [inline]
__free_frozen_pages+0xcca/0xd20 mm/page_alloc.c:2938
bpf_xdp_shrink_data net/core/filter.c:4247 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4271
____bpf_xdp_adjust_tail net/core/filter.c:4293 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4286
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:722 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2150d5d68e
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:00007f214eff5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f214eff66c0 RCX: 00007f2150d5d68e
RDX: 000000000000fdef RSI: 00002000000030c0 RDI: 00000000000000c8
RBP: 00007f2150e32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2151016128 R14: 00007f2151016090 R15: 00007ffe1b793a68
BUG: Bad page state in process syz.4.334 pfn:42bfa
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42bfa
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022adc000 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 7013, tgid 7009 (syz.4.334), ts 127757143035, free_ts 127490558275
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x22d/0x280 mm/page_alloc.c:1853
prep_new_page mm/page_alloc.c:1861 [inline]
get_page_from_freelist+0x24ae/0x2530 mm/page_alloc.c:3941
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5221
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5255
alloc_pages_bulk_noprof+0x5ff/0x7c0 mm/page_alloc.c:5175
alloc_pages_bulk_node_noprof include/linux/gfp.h:259 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
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+0xcd0/0x19a0 net/core/skbuff.c:982
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 6996 tgid 6996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xc0d/0xd20 mm/page_alloc.c:2938
vfree+0x1fd/0x330 mm/vmalloc.c:3472
xskq_destroy+0x40/0x60 net/xdp/xsk_queue.c:64
xsk_release+0x724/0x980 net/xdp/xsk.c:1364
__sock_release net/socket.c:722 [inline]
sock_close+0xad/0x220 net/socket.c:1515
__fput+0x418/0xa50 fs/file_table.c:510
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:67 [inline]
exit_to_user_mode_loop+0x193/0x6b0 kernel/entry/common.c:98
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]
do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 1 UID: 0 PID: 7013 Comm: syz.4.334 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:632
free_page_is_bad mm/page_alloc.c:1076 [inline]
__free_pages_prepare mm/page_alloc.c:1388 [inline]
__free_frozen_pages+0xcca/0xd20 mm/page_alloc.c:2938
bpf_xdp_shrink_data net/core/filter.c:4247 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4271
____bpf_xdp_adjust_tail net/core/filter.c:4293 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4286
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:722 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2150d5d68e
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:00007f214eff5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f214eff66c0 RCX: 00007f2150d5d68e
RDX: 000000000000fdef RSI: 00002000000030c0 RDI: 00000000000000c8
RBP: 00007f2150e32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2151016128 R14: 00007f2151016090 R15: 00007ffe1b793a68
BUG: Bad page state in process syz.4.334 pfn:42bfb
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42bfb
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022adc000 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 7013, tgid 7009 (syz.4.334), ts 127757125789, free_ts 127490572005
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x22d/0x280 mm/page_alloc.c:1853
prep_new_page mm/page_alloc.c:1861 [inline]
get_page_from_freelist+0x24ae/0x2530 mm/page_alloc.c:3941
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5221
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5255
alloc_pages_bulk_noprof+0x5ff/0x7c0 mm/page_alloc.c:5175
alloc_pages_bulk_node_noprof include/linux/gfp.h:259 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
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+0xcd0/0x19a0 net/core/skbuff.c:982
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 6996 tgid 6996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xc0d/0xd20 mm/page_alloc.c:2938
vfree+0x1fd/0x330 mm/vmalloc.c:3472
xskq_destroy+0x40/0x60 net/xdp/xsk_queue.c:64
xsk_release+0x724/0x980 net/xdp/xsk.c:1364
__sock_release net/socket.c:722 [inline]
sock_close+0xad/0x220 net/socket.c:1515
__fput+0x418/0xa50 fs/file_table.c:510
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:67 [inline]
exit_to_user_mode_loop+0x193/0x6b0 kernel/entry/common.c:98
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]
do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 1 UID: 0 PID: 7013 Comm: syz.4.334 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:632
free_page_is_bad mm/page_alloc.c:1076 [inline]
__free_pages_prepare mm/page_alloc.c:1388 [inline]
__free_frozen_pages+0xcca/0xd20 mm/page_alloc.c:2938
bpf_xdp_shrink_data net/core/filter.c:4247 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4271
____bpf_xdp_adjust_tail net/core/filter.c:4293 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4286
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:722 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2150d5d68e
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:00007f214eff5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f214eff66c0 RCX: 00007f2150d5d68e
RDX: 000000000000fdef RSI: 00002000000030c0 RDI: 00000000000000c8
RBP: 00007f2150e32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2151016128 R14: 00007f2151016090 R15: 00007ffe1b793a68
BUG: Bad page state in process syz.4.334 pfn:42bfc
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42bfc
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022adc000 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 7013, tgid 7009 (syz.4.334), ts 127757108694, free_ts 127490586493
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x22d/0x280 mm/page_alloc.c:1853
prep_new_page mm/page_alloc.c:1861 [inline]
get_page_from_freelist+0x24ae/0x2530 mm/page_alloc.c:3941
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5221
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5255
alloc_pages_bulk_noprof+0x5ff/0x7c0 mm/page_alloc.c:5175
alloc_pages_bulk_node_noprof include/linux/gfp.h:259 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
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+0xcd0/0x19a0 net/core/skbuff.c:982
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 6996 tgid 6996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xc0d/0xd20 mm/page_alloc.c:2938
vfree+0x1fd/0x330 mm/vmalloc.c:3472
xskq_destroy+0x40/0x60 net/xdp/xsk_queue.c:64
xsk_release+0x724/0x980 net/xdp/xsk.c:1364
__sock_release net/socket.c:722 [inline]
sock_close+0xad/0x220 net/socket.c:1515
__fput+0x418/0xa50 fs/file_table.c:510
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:67 [inline]
exit_to_user_mode_loop+0x193/0x6b0 kernel/entry/common.c:98
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]
do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 1 UID: 0 PID: 7013 Comm: syz.4.334 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:632
free_page_is_bad mm/page_alloc.c:1076 [inline]
__free_pages_prepare mm/page_alloc.c:1388 [inline]
__free_frozen_pages+0xcca/0xd20 mm/page_alloc.c:2938
bpf_xdp_shrink_data net/core/filter.c:4247 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4271
____bpf_xdp_adjust_tail net/core/filter.c:4293 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4286
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:722 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2150d5d68e
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:00007f214eff5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f214eff66c0 RCX: 00007f2150d5d68e
RDX: 000000000000fdef RSI: 00002000000030c0 RDI: 00000000000000c8
RBP: 00007f2150e32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2151016128 R14: 00007f2151016090 R15: 00007ffe1b793a68
BUG: Bad page state in process syz.4.334 pfn:42bfd
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42bfd
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022adc000 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 7013, tgid 7009 (syz.4.334), ts 127757091301, free_ts 127490601802
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x22d/0x280 mm/page_alloc.c:1853
prep_new_page mm/page_alloc.c:1861 [inline]
get_page_from_freelist+0x24ae/0x2530 mm/page_alloc.c:3941
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5221
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5255
alloc_pages_bulk_noprof+0x5ff/0x7c0 mm/page_alloc.c:5175
alloc_pages_bulk_node_noprof include/linux/gfp.h:259 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
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+0xcd0/0x19a0 net/core/skbuff.c:982
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 6996 tgid 6996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xc0d/0xd20 mm/page_alloc.c:2938
vfree+0x1fd/0x330 mm/vmalloc.c:3472
xskq_destroy+0x40/0x60 net/xdp/xsk_queue.c:64
xsk_release+0x724/0x980 net/xdp/xsk.c:1364
__sock_release net/socket.c:722 [inline]
sock_close+0xad/0x220 net/socket.c:1515
__fput+0x418/0xa50 fs/file_table.c:510
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:67 [inline]
exit_to_user_mode_loop+0x193/0x6b0 kernel/entry/common.c:98
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]
do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 1 UID: 0 PID: 7013 Comm: syz.4.334 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:632
free_page_is_bad mm/page_alloc.c:1076 [inline]
__free_pages_prepare mm/page_alloc.c:1388 [inline]
__free_frozen_pages+0xcca/0xd20 mm/page_alloc.c:2938
bpf_xdp_shrink_data net/core/filter.c:4247 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4271
____bpf_xdp_adjust_tail net/core/filter.c:4293 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4286
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:722 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2150d5d68e
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:00007f214eff5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f214eff66c0 RCX: 00007f2150d5d68e
RDX: 000000000000fdef RSI: 00002000000030c0 RDI: 00000000000000c8
RBP: 00007f2150e32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2151016128 R14: 00007f2151016090 R15: 00007ffe1b793a68
BUG: Bad page state in process syz.4.334 pfn:42bfe
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42bfe
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022adc000 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 7013, tgid 7009 (syz.4.334), ts 127757073832, free_ts 127490615685
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x22d/0x280 mm/page_alloc.c:1853
prep_new_page mm/page_alloc.c:1861 [inline]
get_page_from_freelist+0x24ae/0x2530 mm/page_alloc.c:3941
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5221
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5255
alloc_pages_bulk_noprof+0x5ff/0x7c0 mm/page_alloc.c:5175
alloc_pages_bulk_node_noprof include/linux/gfp.h:259 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
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+0xcd0/0x19a0 net/core/skbuff.c:982
netif_skb_check_for_xdp net/core/dev.c:5561 [inline]
netif_receive_generic_xdp net/core/dev.c:5602 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 6996 tgid 6996 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xc0d/0xd20 mm/page_alloc.c:2938
vfree+0x1fd/0x330 mm/vmalloc.c:3472
xskq_destroy+0x40/0x60 net/xdp/xsk_queue.c:64
xsk_release+0x724/0x980 net/xdp/xsk.c:1364
__sock_release net/socket.c:722 [inline]
sock_close+0xad/0x220 net/socket.c:1515
__fput+0x418/0xa50 fs/file_table.c:510
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:67 [inline]
exit_to_user_mode_loop+0x193/0x6b0 kernel/entry/common.c:98
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]
do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 1 UID: 0 PID: 7013 Comm: syz.4.334 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:632
free_page_is_bad mm/page_alloc.c:1076 [inline]
__free_pages_prepare mm/page_alloc.c:1388 [inline]
__free_frozen_pages+0xcca/0xd20 mm/page_alloc.c:2938
bpf_xdp_shrink_data net/core/filter.c:4247 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4271
____bpf_xdp_adjust_tail net/core/filter.c:4293 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4286
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:722 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5492
netif_receive_generic_xdp net/core/dev.c:5608 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5670
tun_get_user+0x24a0/0x4350 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:688
ksys_write+0x150/0x270 fs/read_write.c:740
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2150d5d68e
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:00007f214eff5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f214eff66c0 RCX: 00007f2150d5d68e
RDX: 000000000000fdef RSI: 00002000000030c0 RDI: 00000000000000c8
RBP: 00007f2150e32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2151016128 R14: 00007f2151016090 R15: 00007ffe1b793a68