BUG: Bad page state in process syz.0.15 pfn:3114e
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88803114edc0 pfn:0x3114e
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888021280000 0000000000000000
raw: ffff88803114edc0 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 6533, tgid 6532 (syz.0.15), ts 128290671769, free_ts 124073725402
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1714
prep_new_page mm/page_alloc.c:1722 [inline]
get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3684
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4966
__alloc_pages_noprof mm/page_alloc.c:5000 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4920
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955
netif_skb_check_for_xdp net/core/dev.c:5241 [inline]
netif_receive_generic_xdp net/core/dev.c:5280 [inline]
do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
page last free pid 15 tgid 15 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1258 [inline]
__free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2721
rcu_do_batch kernel/rcu/tree.c:2568 [inline]
rcu_core+0xca5/0x1710 kernel/rcu/tree.c:2824
handle_softirqs+0x283/0x870 kernel/softirq.c:579
run_ksoftirqd+0x9b/0x100 kernel/softirq.c:968
smpboot_thread_fn+0x53f/0xa60 kernel/smpboot.c:164
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 0 UID: 0 PID: 6533 Comm: syz.0.15 Not tainted 6.15.0-rc7-syzkaller-ga11a72229881 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x15e/0x1a0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:949 [inline]
free_pages_prepare mm/page_alloc.c:1250 [inline]
__free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2721
bpf_xdp_shrink_data net/core/filter.c:4164 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4184
____bpf_xdp_adjust_tail net/core/filter.c:4209 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4202
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:653 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173
netif_receive_generic_xdp net/core/dev.c:5286 [inline]
do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a8eb7e98f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f9a8fa5d020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9a8ed45fa0 RCX: 00007f9a8eb7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007f9a8ebf3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9a8ed45fa0 R15: 00007ffd8d6314a8
BUG: Bad page state in process syz.0.15 pfn:28407
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888028407b40 pfn:0x28407
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888021280000 0000000000000000
raw: ffff888028407b40 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 6533, tgid 6532 (syz.0.15), ts 128290656876, free_ts 124075915278
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1714
prep_new_page mm/page_alloc.c:1722 [inline]
get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3684
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4966
__alloc_pages_noprof mm/page_alloc.c:5000 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4920
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955
netif_skb_check_for_xdp net/core/dev.c:5241 [inline]
netif_receive_generic_xdp net/core/dev.c:5280 [inline]
do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
page last free pid 15 tgid 15 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1258 [inline]
__free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2721
pagetable_free include/linux/mm.h:3019 [inline]
pagetable_dtor_free include/linux/mm.h:3117 [inline]
__tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:215
__tlb_remove_table_free mm/mmu_gather.c:227 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290
rcu_do_batch kernel/rcu/tree.c:2568 [inline]
rcu_core+0xca5/0x1710 kernel/rcu/tree.c:2824
handle_softirqs+0x283/0x870 kernel/softirq.c:579
run_ksoftirqd+0x9b/0x100 kernel/softirq.c:968
smpboot_thread_fn+0x53f/0xa60 kernel/smpboot.c:164
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 0 UID: 0 PID: 6533 Comm: syz.0.15 Tainted: G B 6.15.0-rc7-syzkaller-ga11a72229881 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x15e/0x1a0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:949 [inline]
free_pages_prepare mm/page_alloc.c:1250 [inline]
__free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2721
bpf_xdp_shrink_data net/core/filter.c:4164 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4184
____bpf_xdp_adjust_tail net/core/filter.c:4209 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4202
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:653 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173
netif_receive_generic_xdp net/core/dev.c:5286 [inline]
do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a8eb7e98f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f9a8fa5d020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9a8ed45fa0 RCX: 00007f9a8eb7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007f9a8ebf3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9a8ed45fa0 R15: 00007ffd8d6314a8
BUG: Bad page state in process syz.0.15 pfn:34bd1
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x34bd1
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888021280000 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 6533, tgid 6532 (syz.0.15), ts 128290640496, free_ts 124075940156
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1714
prep_new_page mm/page_alloc.c:1722 [inline]
get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3684
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4966
__alloc_pages_noprof mm/page_alloc.c:5000 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4920
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955
netif_skb_check_for_xdp net/core/dev.c:5241 [inline]
netif_receive_generic_xdp net/core/dev.c:5280 [inline]
do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
page last free pid 15 tgid 15 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1258 [inline]
__free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2721
pagetable_free include/linux/mm.h:3019 [inline]
pagetable_dtor_free include/linux/mm.h:3117 [inline]
__tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:215
__tlb_remove_table_free mm/mmu_gather.c:227 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290
rcu_do_batch kernel/rcu/tree.c:2568 [inline]
rcu_core+0xca5/0x1710 kernel/rcu/tree.c:2824
handle_softirqs+0x283/0x870 kernel/softirq.c:579
run_ksoftirqd+0x9b/0x100 kernel/softirq.c:968
smpboot_thread_fn+0x53f/0xa60 kernel/smpboot.c:164
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 0 UID: 0 PID: 6533 Comm: syz.0.15 Tainted: G B 6.15.0-rc7-syzkaller-ga11a72229881 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x15e/0x1a0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:949 [inline]
free_pages_prepare mm/page_alloc.c:1250 [inline]
__free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2721
bpf_xdp_shrink_data net/core/filter.c:4164 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4184
____bpf_xdp_adjust_tail net/core/filter.c:4209 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4202
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:653 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173
netif_receive_generic_xdp net/core/dev.c:5286 [inline]
do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a8eb7e98f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f9a8fa5d020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9a8ed45fa0 RCX: 00007f9a8eb7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007f9a8ebf3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9a8ed45fa0 R15: 00007ffd8d6314a8
BUG: Bad page state in process syz.0.15 pfn:5c1d9
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5c1d9
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888021280000 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 6533, tgid 6532 (syz.0.15), ts 128290622776, free_ts 124075995850
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1714
prep_new_page mm/page_alloc.c:1722 [inline]
get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3684
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4966
__alloc_pages_noprof mm/page_alloc.c:5000 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4920
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955
netif_skb_check_for_xdp net/core/dev.c:5241 [inline]
netif_receive_generic_xdp net/core/dev.c:5280 [inline]
do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
page last free pid 15 tgid 15 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1258 [inline]
__free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2721
pagetable_free include/linux/mm.h:3019 [inline]
pagetable_dtor_free include/linux/mm.h:3117 [inline]
__tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:215
__tlb_remove_table_free mm/mmu_gather.c:227 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290
rcu_do_batch kernel/rcu/tree.c:2568 [inline]
rcu_core+0xca5/0x1710 kernel/rcu/tree.c:2824
handle_softirqs+0x283/0x870 kernel/softirq.c:579
run_ksoftirqd+0x9b/0x100 kernel/softirq.c:968
smpboot_thread_fn+0x53f/0xa60 kernel/smpboot.c:164
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 0 UID: 0 PID: 6533 Comm: syz.0.15 Tainted: G B 6.15.0-rc7-syzkaller-ga11a72229881 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x15e/0x1a0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:949 [inline]
free_pages_prepare mm/page_alloc.c:1250 [inline]
__free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2721
bpf_xdp_shrink_data net/core/filter.c:4164 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4184
____bpf_xdp_adjust_tail net/core/filter.c:4209 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4202
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:653 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173
netif_receive_generic_xdp net/core/dev.c:5286 [inline]
do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a8eb7e98f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f9a8fa5d020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9a8ed45fa0 RCX: 00007f9a8eb7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007f9a8ebf3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9a8ed45fa0 R15: 00007ffd8d6314a8
BUG: Bad page state in process syz.0.15 pfn:2ee75
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802ee75dc0 pfn:0x2ee75
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888021280000 0000000000000000
raw: ffff88802ee75dc0 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 6533, tgid 6532 (syz.0.15), ts 128290605056, free_ts 124076020964
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1714
prep_new_page mm/page_alloc.c:1722 [inline]
get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3684
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4966
__alloc_pages_noprof mm/page_alloc.c:5000 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4920
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955
netif_skb_check_for_xdp net/core/dev.c:5241 [inline]
netif_receive_generic_xdp net/core/dev.c:5280 [inline]
do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
page last free pid 15 tgid 15 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1258 [inline]
__free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2721
pagetable_free include/linux/mm.h:3019 [inline]
pagetable_dtor_free include/linux/mm.h:3117 [inline]
__tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:215
__tlb_remove_table_free mm/mmu_gather.c:227 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290
rcu_do_batch kernel/rcu/tree.c:2568 [inline]
rcu_core+0xca5/0x1710 kernel/rcu/tree.c:2824
handle_softirqs+0x283/0x870 kernel/softirq.c:579
run_ksoftirqd+0x9b/0x100 kernel/softirq.c:968
smpboot_thread_fn+0x53f/0xa60 kernel/smpboot.c:164
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 0 UID: 0 PID: 6533 Comm: syz.0.15 Tainted: G B 6.15.0-rc7-syzkaller-ga11a72229881 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x15e/0x1a0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:949 [inline]
free_pages_prepare mm/page_alloc.c:1250 [inline]
__free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2721
bpf_xdp_shrink_data net/core/filter.c:4164 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4184
____bpf_xdp_adjust_tail net/core/filter.c:4209 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4202
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:653 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173
netif_receive_generic_xdp net/core/dev.c:5286 [inline]
do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a8eb7e98f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f9a8fa5d020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9a8ed45fa0 RCX: 00007f9a8eb7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007f9a8ebf3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9a8ed45fa0 R15: 00007ffd8d6314a8
BUG: Bad page state in process syz.0.15 pfn:5ee3b
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805ee3b3c0 pfn:0x5ee3b
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888021280000 0000000000000000
raw: ffff88805ee3b3c0 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 6533, tgid 6532 (syz.0.15), ts 128290587562, free_ts 124076044427
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1714
prep_new_page mm/page_alloc.c:1722 [inline]
get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3684
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4966
__alloc_pages_noprof mm/page_alloc.c:5000 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4920
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955
netif_skb_check_for_xdp net/core/dev.c:5241 [inline]
netif_receive_generic_xdp net/core/dev.c:5280 [inline]
do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
page last free pid 15 tgid 15 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1258 [inline]
__free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2721
pagetable_free include/linux/mm.h:3019 [inline]
pagetable_dtor_free include/linux/mm.h:3117 [inline]
__tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:215
__tlb_remove_table_free mm/mmu_gather.c:227 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290
rcu_do_batch kernel/rcu/tree.c:2568 [inline]
rcu_core+0xca5/0x1710 kernel/rcu/tree.c:2824
handle_softirqs+0x283/0x870 kernel/softirq.c:579
run_ksoftirqd+0x9b/0x100 kernel/softirq.c:968
smpboot_thread_fn+0x53f/0xa60 kernel/smpboot.c:164
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 0 UID: 0 PID: 6533 Comm: syz.0.15 Tainted: G B 6.15.0-rc7-syzkaller-ga11a72229881 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x15e/0x1a0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:949 [inline]
free_pages_prepare mm/page_alloc.c:1250 [inline]
__free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2721
bpf_xdp_shrink_data net/core/filter.c:4164 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4184
____bpf_xdp_adjust_tail net/core/filter.c:4209 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4202
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:653 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173
netif_receive_generic_xdp net/core/dev.c:5286 [inline]
do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a8eb7e98f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f9a8fa5d020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9a8ed45fa0 RCX: 00007f9a8eb7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007f9a8ebf3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9a8ed45fa0 R15: 00007ffd8d6314a8
BUG: Bad page state in process syz.0.15 pfn:2eff1
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x2eff1
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888021280000 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 6533, tgid 6532 (syz.0.15), ts 128290570030, free_ts 124076062780
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1714
prep_new_page mm/page_alloc.c:1722 [inline]
get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3684
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4966
__alloc_pages_noprof mm/page_alloc.c:5000 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4920
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955
netif_skb_check_for_xdp net/core/dev.c:5241 [inline]
netif_receive_generic_xdp net/core/dev.c:5280 [inline]
do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
page last free pid 15 tgid 15 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1258 [inline]
__free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2721
pagetable_free include/linux/mm.h:3019 [inline]
pagetable_dtor_free include/linux/mm.h:3117 [inline]
__tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:215
__tlb_remove_table_free mm/mmu_gather.c:227 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290
rcu_do_batch kernel/rcu/tree.c:2568 [inline]
rcu_core+0xca5/0x1710 kernel/rcu/tree.c:2824
handle_softirqs+0x283/0x870 kernel/softirq.c:579
run_ksoftirqd+0x9b/0x100 kernel/softirq.c:968
smpboot_thread_fn+0x53f/0xa60 kernel/smpboot.c:164
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 0 UID: 0 PID: 6533 Comm: syz.0.15 Tainted: G B 6.15.0-rc7-syzkaller-ga11a72229881 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x15e/0x1a0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:949 [inline]
free_pages_prepare mm/page_alloc.c:1250 [inline]
__free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2721
bpf_xdp_shrink_data net/core/filter.c:4164 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4184
____bpf_xdp_adjust_tail net/core/filter.c:4209 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4202
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:653 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173
netif_receive_generic_xdp net/core/dev.c:5286 [inline]
do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a8eb7e98f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f9a8fa5d020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9a8ed45fa0 RCX: 00007f9a8eb7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007f9a8ebf3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9a8ed45fa0 R15: 00007ffd8d6314a8
BUG: Bad page state in process syz.0.15 pfn:33461
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x33461
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888021280000 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 6533, tgid 6532 (syz.0.15), ts 128290552408, free_ts 128278376179
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1714
prep_new_page mm/page_alloc.c:1722 [inline]
get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3684
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4966
__alloc_pages_noprof mm/page_alloc.c:5000 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4920
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955
netif_skb_check_for_xdp net/core/dev.c:5241 [inline]
netif_receive_generic_xdp net/core/dev.c:5280 [inline]
do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
page last free pid 6533 tgid 6532 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1258 [inline]
__free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2721
vfree+0x1a6/0x330 mm/vmalloc.c:3384
bpf_prog_calc_tag+0x55c/0x620 kernel/bpf/core.c:359
resolve_pseudo_ldimm64+0xbc/0xc60 kernel/bpf/verifier.c:20086
bpf_check+0x1bfd/0x19a70 kernel/bpf/verifier.c:24007
bpf_prog_load+0x1318/0x1930 kernel/bpf/syscall.c:2971
__sys_bpf+0x5f1/0x860 kernel/bpf/syscall.c:5834
__do_sys_bpf kernel/bpf/syscall.c:5941 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5939 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5939
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 0 UID: 0 PID: 6533 Comm: syz.0.15 Tainted: G B 6.15.0-rc7-syzkaller-ga11a72229881 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x15e/0x1a0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:949 [inline]
free_pages_prepare mm/page_alloc.c:1250 [inline]
__free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2721
bpf_xdp_shrink_data net/core/filter.c:4164 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4184
____bpf_xdp_adjust_tail net/core/filter.c:4209 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4202
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:653 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173
netif_receive_generic_xdp net/core/dev.c:5286 [inline]
do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a8eb7e98f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f9a8fa5d020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9a8ed45fa0 RCX: 00007f9a8eb7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007f9a8ebf3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9a8ed45fa0 R15: 00007ffd8d6314a8
BUG: Bad page state in process syz.0.15 pfn:2f003
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802f003f50 pfn:0x2f003
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888021280000 0000000000000000
raw: ffff88802f003f50 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 6533, tgid 6532 (syz.0.15), ts 128290534978, free_ts 128278718171
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1714
prep_new_page mm/page_alloc.c:1722 [inline]
get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3684
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4966
__alloc_pages_noprof mm/page_alloc.c:5000 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4920
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955
netif_skb_check_for_xdp net/core/dev.c:5241 [inline]
netif_receive_generic_xdp net/core/dev.c:5280 [inline]
do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
page last free pid 6533 tgid 6532 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1258 [inline]
__free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2721
vfree+0x1a6/0x330 mm/vmalloc.c:3384
bpf_check+0x146ee/0x19a70 kernel/bpf/verifier.c:24164
bpf_prog_load+0x1318/0x1930 kernel/bpf/syscall.c:2971
__sys_bpf+0x5f1/0x860 kernel/bpf/syscall.c:5834
__do_sys_bpf kernel/bpf/syscall.c:5941 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5939 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5939
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 0 UID: 0 PID: 6533 Comm: syz.0.15 Tainted: G B 6.15.0-rc7-syzkaller-ga11a72229881 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x15e/0x1a0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:949 [inline]
free_pages_prepare mm/page_alloc.c:1250 [inline]
__free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2721
bpf_xdp_shrink_data net/core/filter.c:4164 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4184
____bpf_xdp_adjust_tail net/core/filter.c:4209 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4202
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:653 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173
netif_receive_generic_xdp net/core/dev.c:5286 [inline]
do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a8eb7e98f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f9a8fa5d020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9a8ed45fa0 RCX: 00007f9a8eb7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007f9a8ebf3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9a8ed45fa0 R15: 00007ffd8d6314a8
BUG: Bad page state in process syz.0.15 pfn:2dbb3
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802dbb3f50 pfn:0x2dbb3
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888021280000 0000000000000000
raw: ffff88802dbb3f50 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 6533, tgid 6532 (syz.0.15), ts 128290517448, free_ts 128280973564
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1714
prep_new_page mm/page_alloc.c:1722 [inline]
get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3684
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4966
__alloc_pages_noprof mm/page_alloc.c:5000 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4920
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955
netif_skb_check_for_xdp net/core/dev.c:5241 [inline]
netif_receive_generic_xdp net/core/dev.c:5280 [inline]
do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
page last free pid 15 tgid 15 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1258 [inline]
__free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2721
pagetable_free include/linux/mm.h:3019 [inline]
pagetable_dtor_free include/linux/mm.h:3117 [inline]
__tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:215
__tlb_remove_table_free mm/mmu_gather.c:227 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290
rcu_do_batch kernel/rcu/tree.c:2568 [inline]
rcu_core+0xca5/0x1710 kernel/rcu/tree.c:2824
handle_softirqs+0x283/0x870 kernel/softirq.c:579
run_ksoftirqd+0x9b/0x100 kernel/softirq.c:968
smpboot_thread_fn+0x53f/0xa60 kernel/smpboot.c:164
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 0 UID: 0 PID: 6533 Comm: syz.0.15 Tainted: G B 6.15.0-rc7-syzkaller-ga11a72229881 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x15e/0x1a0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:949 [inline]
free_pages_prepare mm/page_alloc.c:1250 [inline]
__free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2721
bpf_xdp_shrink_data net/core/filter.c:4164 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4184
____bpf_xdp_adjust_tail net/core/filter.c:4209 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4202
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:653 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173
netif_receive_generic_xdp net/core/dev.c:5286 [inline]
do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a8eb7e98f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f9a8fa5d020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9a8ed45fa0 RCX: 00007f9a8eb7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007f9a8ebf3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9a8ed45fa0 R15: 00007ffd8d6314a8
BUG: Bad page state in process syz.0.15 pfn:28f48
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888028f48f50 pfn:0x28f48
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888021280000 0000000000000000
raw: ffff888028f48f50 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 6533, tgid 6532 (syz.0.15), ts 128290500315, free_ts 128281000287
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1d8/0x230 mm/page_alloc.c:1714
prep_new_page mm/page_alloc.c:1722 [inline]
get_page_from_freelist+0x21c7/0x22a0 mm/page_alloc.c:3684
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4966
__alloc_pages_noprof mm/page_alloc.c:5000 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4920
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x6c0 net/core/page_pool.c:547
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xaf4/0x12f0 net/core/skbuff.c:955
netif_skb_check_for_xdp net/core/dev.c:5241 [inline]
netif_receive_generic_xdp net/core/dev.c:5280 [inline]
do_xdp_generic+0x51a/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
page last free pid 15 tgid 15 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1258 [inline]
__free_frozen_pages+0xb05/0xcd0 mm/page_alloc.c:2721
pagetable_free include/linux/mm.h:3019 [inline]
pagetable_dtor_free include/linux/mm.h:3117 [inline]
__tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:215
__tlb_remove_table_free mm/mmu_gather.c:227 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290
rcu_do_batch kernel/rcu/tree.c:2568 [inline]
rcu_core+0xca5/0x1710 kernel/rcu/tree.c:2824
handle_softirqs+0x283/0x870 kernel/softirq.c:579
run_ksoftirqd+0x9b/0x100 kernel/softirq.c:968
smpboot_thread_fn+0x53f/0xa60 kernel/smpboot.c:164
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 0 UID: 0 PID: 6533 Comm: syz.0.15 Tainted: G B 6.15.0-rc7-syzkaller-ga11a72229881 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x15e/0x1a0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:949 [inline]
free_pages_prepare mm/page_alloc.c:1250 [inline]
__free_frozen_pages+0xc77/0xcd0 mm/page_alloc.c:2721
bpf_xdp_shrink_data net/core/filter.c:4164 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4184
____bpf_xdp_adjust_tail net/core/filter.c:4209 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4202
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:653 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5173
netif_receive_generic_xdp net/core/dev.c:5286 [inline]
do_xdp_generic+0x76e/0xd20 net/core/dev.c:5348
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5698
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6145
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2879/0x3c20 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a8eb7e98f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f9a8fa5d020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9a8ed45fa0 RCX: 00007f9a8eb7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007f9a8ebf3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9a8ed45fa0 R15: 00007ffd8d6314a8