BUG: Bad page state in process syz-executor246 pfn:447c9
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c9
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e77f000 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 5313, tgid 5313 (syz-executor246), ts 86465963767, free_ts 0
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
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+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
page_owner free stack trace missing
Modules linked in:
CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Not tainted 6.15.0-syzkaller-13473-gc0c9379f235d #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3452b9cdf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0
RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828
R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720
BUG: Bad page state in process syz-executor246 pfn:447c8
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c8
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e77f000 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 5313, tgid 5313 (syz-executor246), ts 86465948821, free_ts 0
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
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+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
page_owner free stack trace missing
Modules linked in:
CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3452b9cdf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0
RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828
R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720
BUG: Bad page state in process syz-executor246 pfn:447c7
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c7
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e77f000 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 5313, tgid 5313 (syz-executor246), ts 86465933516, free_ts 0
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
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+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
page_owner free stack trace missing
Modules linked in:
CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3452b9cdf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0
RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828
R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720
BUG: Bad page state in process syz-executor246 pfn:447c6
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c6
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e77f000 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 5313, tgid 5313 (syz-executor246), ts 86465918315, free_ts 0
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
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+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
page_owner free stack trace missing
Modules linked in:
CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3452b9cdf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0
RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828
R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720
BUG: Bad page state in process syz-executor246 pfn:447c5
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c5
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e77f000 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 5313, tgid 5313 (syz-executor246), ts 86465902969, free_ts 0
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
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+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
page_owner free stack trace missing
Modules linked in:
CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3452b9cdf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0
RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828
R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720
BUG: Bad page state in process syz-executor246 pfn:447c4
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c4
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e77f000 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 5313, tgid 5313 (syz-executor246), ts 86465888109, free_ts 0
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
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+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
page_owner free stack trace missing
Modules linked in:
CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3452b9cdf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0
RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828
R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720
BUG: Bad page state in process syz-executor246 pfn:447c3
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c3
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e77f000 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 5313, tgid 5313 (syz-executor246), ts 86465872869, free_ts 0
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
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+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
page_owner free stack trace missing
Modules linked in:
CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3452b9cdf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0
RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828
R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720
BUG: Bad page state in process syz-executor246 pfn:447c2
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c2
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e77f000 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 5313, tgid 5313 (syz-executor246), ts 86465858019, free_ts 0
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
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+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
page_owner free stack trace missing
Modules linked in:
CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3452b9cdf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0
RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828
R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720
BUG: Bad page state in process syz-executor246 pfn:447c1
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c1
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e77f000 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 5313, tgid 5313 (syz-executor246), ts 86465842540, free_ts 0
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
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+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
page_owner free stack trace missing
Modules linked in:
CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3452b9cdf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0
RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828
R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720
BUG: Bad page state in process syz-executor246 pfn:447c0
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c0
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e77f000 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 5313, tgid 5313 (syz-executor246), ts 86465827178, free_ts 0
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
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+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
page_owner free stack trace missing
Modules linked in:
CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3452b9cdf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0
RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828
R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720
BUG: Bad page state in process syz-executor246 pfn:447bf
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447bf
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e77f000 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 5313, tgid 5313 (syz-executor246), ts 86465811935, free_ts 0
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
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+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
page_owner free stack trace missing
Modules linked in:
CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
__netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788
__netif_receive_skb_one_core net/core/dev.c:5975 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3452b9cdf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0
RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828
R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720