BUG: Bad page state in process syz.0.15 pfn:31775
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888031775fc0 pfn:0x31775
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022a93000 0000000000000000
raw: ffff888031775fc0 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 6640, tgid 6639 (syz.0.15), ts 136096528152, free_ts 132754140138
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851
prep_new_page mm/page_alloc.c:1859 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3858
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148
__alloc_pages_noprof mm/page_alloc.c:5182 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_netmems_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:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:951
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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 last free pid 36 tgid 36 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
__free_frozen_pages+0xbb1/0xd20 mm/page_alloc.c:2895
discard_slab mm/slub.c:2753 [inline]
__put_partials+0x156/0x1a0 mm/slub.c:3218
put_cpu_partial+0x17c/0x250 mm/slub.c:3293
__slab_free+0x2d5/0x3c0 mm/slub.c:4550
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4180 [inline]
slab_alloc_node mm/slub.c:4229 [inline]
__do_kmalloc_node mm/slub.c:4364 [inline]
__kmalloc_node_track_caller_noprof+0x216/0x4e0 mm/slub.c:4384
kmemdup_noprof+0x2b/0x70 mm/util.c:138
kmemdup_noprof include/linux/fortify-string.h:765 [inline]
__addrconf_sysctl_register+0x9e/0x4c0 net/ipv6/addrconf.c:7303
addrconf_sysctl_register+0x168/0x1c0 net/ipv6/addrconf.c:7369
ipv6_add_dev+0xd46/0x1370 net/ipv6/addrconf.c:460
addrconf_notify+0x794/0x1010 net/ipv6/addrconf.c:3650
notifier_call_chain+0x1b3/0x3e0 kernel/notifier.c:85
call_netdevice_notifiers_extack net/core/dev.c:2267 [inline]
call_netdevice_notifiers net/core/dev.c:2281 [inline]
register_netdevice+0x1608/0x1ae0 net/core/dev.c:11235
nsim_init_netdevsim drivers/net/netdevsim/netdev.c:1030 [inline]
nsim_create+0xae8/0xf10 drivers/net/netdevsim/netdev.c:1101
Modules linked in:
CPU: 1 UID: 0 PID: 6640 Comm: syz.0.15 Not tainted 6.16.0-syzkaller-g186f3edfdd41 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:650
free_page_is_bad mm/page_alloc.c:1083 [inline]
free_pages_prepare mm/page_alloc.c:1387 [inline]
__free_frozen_pages+0xcd1/0xd20 mm/page_alloc.c:2895
bpf_xdp_shrink_data net/core/filter.c:4181 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201
____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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:0x7fa422f7e98f
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:00007fa423e56020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa423145fa0 RCX: 00007fa422f7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007fa422ff3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa423145fa0 R15: 00007ffd16b0f158
BUG: Bad page state in process syz.0.15 pfn:20bde
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888020bdefc0 pfn:0x20bde
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022a93000 0000000000000000
raw: ffff888020bdefc0 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 6640, tgid 6639 (syz.0.15), ts 136096510432, free_ts 132754158529
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851
prep_new_page mm/page_alloc.c:1859 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3858
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148
__alloc_pages_noprof mm/page_alloc.c:5182 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_netmems_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:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:951
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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 last free pid 36 tgid 36 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
__free_frozen_pages+0xbb1/0xd20 mm/page_alloc.c:2895
discard_slab mm/slub.c:2753 [inline]
__put_partials+0x156/0x1a0 mm/slub.c:3218
put_cpu_partial+0x17c/0x250 mm/slub.c:3293
__slab_free+0x2d5/0x3c0 mm/slub.c:4550
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4180 [inline]
slab_alloc_node mm/slub.c:4229 [inline]
__do_kmalloc_node mm/slub.c:4364 [inline]
__kmalloc_node_track_caller_noprof+0x216/0x4e0 mm/slub.c:4384
kmemdup_noprof+0x2b/0x70 mm/util.c:138
kmemdup_noprof include/linux/fortify-string.h:765 [inline]
__addrconf_sysctl_register+0x9e/0x4c0 net/ipv6/addrconf.c:7303
addrconf_sysctl_register+0x168/0x1c0 net/ipv6/addrconf.c:7369
ipv6_add_dev+0xd46/0x1370 net/ipv6/addrconf.c:460
addrconf_notify+0x794/0x1010 net/ipv6/addrconf.c:3650
notifier_call_chain+0x1b3/0x3e0 kernel/notifier.c:85
call_netdevice_notifiers_extack net/core/dev.c:2267 [inline]
call_netdevice_notifiers net/core/dev.c:2281 [inline]
register_netdevice+0x1608/0x1ae0 net/core/dev.c:11235
nsim_init_netdevsim drivers/net/netdevsim/netdev.c:1030 [inline]
nsim_create+0xae8/0xf10 drivers/net/netdevsim/netdev.c:1101
Modules linked in:
CPU: 1 UID: 0 PID: 6640 Comm: syz.0.15 Tainted: G B 6.16.0-syzkaller-g186f3edfdd41 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:650
free_page_is_bad mm/page_alloc.c:1083 [inline]
free_pages_prepare mm/page_alloc.c:1387 [inline]
__free_frozen_pages+0xcd1/0xd20 mm/page_alloc.c:2895
bpf_xdp_shrink_data net/core/filter.c:4181 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201
____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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:0x7fa422f7e98f
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:00007fa423e56020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa423145fa0 RCX: 00007fa422f7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007fa422ff3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa423145fa0 R15: 00007ffd16b0f158
BUG: Bad page state in process syz.0.15 pfn:75f59
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888075f59f50 pfn:0x75f59
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022a93000 0000000000000000
raw: ffff888075f59f50 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 6640, tgid 6639 (syz.0.15), ts 136096492514, free_ts 132754446638
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851
prep_new_page mm/page_alloc.c:1859 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3858
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148
__alloc_pages_noprof mm/page_alloc.c:5182 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_netmems_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:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:951
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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 last free pid 36 tgid 36 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
__free_frozen_pages+0xbb1/0xd20 mm/page_alloc.c:2895
discard_slab mm/slub.c:2753 [inline]
__put_partials+0x156/0x1a0 mm/slub.c:3218
put_cpu_partial+0x17c/0x250 mm/slub.c:3293
__slab_free+0x2d5/0x3c0 mm/slub.c:4550
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4180 [inline]
slab_alloc_node mm/slub.c:4229 [inline]
__do_kmalloc_node mm/slub.c:4364 [inline]
__kmalloc_node_track_caller_noprof+0x216/0x4e0 mm/slub.c:4384
kmemdup_noprof+0x2b/0x70 mm/util.c:138
kmemdup_noprof include/linux/fortify-string.h:765 [inline]
__addrconf_sysctl_register+0x9e/0x4c0 net/ipv6/addrconf.c:7303
addrconf_sysctl_register+0x168/0x1c0 net/ipv6/addrconf.c:7369
ipv6_add_dev+0xd46/0x1370 net/ipv6/addrconf.c:460
addrconf_notify+0x794/0x1010 net/ipv6/addrconf.c:3650
notifier_call_chain+0x1b3/0x3e0 kernel/notifier.c:85
call_netdevice_notifiers_extack net/core/dev.c:2267 [inline]
call_netdevice_notifiers net/core/dev.c:2281 [inline]
register_netdevice+0x1608/0x1ae0 net/core/dev.c:11235
nsim_init_netdevsim drivers/net/netdevsim/netdev.c:1030 [inline]
nsim_create+0xae8/0xf10 drivers/net/netdevsim/netdev.c:1101
Modules linked in:
CPU: 1 UID: 0 PID: 6640 Comm: syz.0.15 Tainted: G B 6.16.0-syzkaller-g186f3edfdd41 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:650
free_page_is_bad mm/page_alloc.c:1083 [inline]
free_pages_prepare mm/page_alloc.c:1387 [inline]
__free_frozen_pages+0xcd1/0xd20 mm/page_alloc.c:2895
bpf_xdp_shrink_data net/core/filter.c:4181 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201
____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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:0x7fa422f7e98f
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:00007fa423e56020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa423145fa0 RCX: 00007fa422f7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007fa422ff3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa423145fa0 R15: 00007ffd16b0f158
BUG: Bad page state in process syz.0.15 pfn:769f6
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880769f6ee0 pfn:0x769f6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022a93000 0000000000000000
raw: ffff8880769f6ee0 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 6640, tgid 6639 (syz.0.15), ts 136096474496, free_ts 132789811135
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851
prep_new_page mm/page_alloc.c:1859 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3858
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148
__alloc_pages_noprof mm/page_alloc.c:5182 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_netmems_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:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:951
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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 last free pid 6520 tgid 6520 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
__free_frozen_pages+0xbb1/0xd20 mm/page_alloc.c:2895
rcu_do_batch kernel/rcu/tree.c:2605 [inline]
rcu_core+0xca8/0x1770 kernel/rcu/tree.c:2861
handle_softirqs+0x286/0x870 kernel/softirq.c:579
__do_softirq kernel/softirq.c:613 [inline]
invoke_softirq kernel/softirq.c:453 [inline]
__irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680
irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
Modules linked in:
CPU: 1 UID: 0 PID: 6640 Comm: syz.0.15 Tainted: G B 6.16.0-syzkaller-g186f3edfdd41 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:650
free_page_is_bad mm/page_alloc.c:1083 [inline]
free_pages_prepare mm/page_alloc.c:1387 [inline]
__free_frozen_pages+0xcd1/0xd20 mm/page_alloc.c:2895
bpf_xdp_shrink_data net/core/filter.c:4181 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201
____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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:0x7fa422f7e98f
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:00007fa423e56020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa423145fa0 RCX: 00007fa422f7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007fa422ff3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa423145fa0 R15: 00007ffd16b0f158
BUG: Bad page state in process syz.0.15 pfn:202b5
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880202b5aa0 pfn:0x202b5
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022a93000 0000000000000000
raw: ffff8880202b5aa0 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 6640, tgid 6639 (syz.0.15), ts 136096456294, free_ts 132789854462
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851
prep_new_page mm/page_alloc.c:1859 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3858
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148
__alloc_pages_noprof mm/page_alloc.c:5182 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_netmems_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:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:951
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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 last free pid 6520 tgid 6520 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
__free_frozen_pages+0xbb1/0xd20 mm/page_alloc.c:2895
rcu_do_batch kernel/rcu/tree.c:2605 [inline]
rcu_core+0xca8/0x1770 kernel/rcu/tree.c:2861
handle_softirqs+0x286/0x870 kernel/softirq.c:579
__do_softirq kernel/softirq.c:613 [inline]
invoke_softirq kernel/softirq.c:453 [inline]
__irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680
irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
Modules linked in:
CPU: 1 UID: 0 PID: 6640 Comm: syz.0.15 Tainted: G B 6.16.0-syzkaller-g186f3edfdd41 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:650
free_page_is_bad mm/page_alloc.c:1083 [inline]
free_pages_prepare mm/page_alloc.c:1387 [inline]
__free_frozen_pages+0xcd1/0xd20 mm/page_alloc.c:2895
bpf_xdp_shrink_data net/core/filter.c:4181 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201
____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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:0x7fa422f7e98f
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:00007fa423e56020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa423145fa0 RCX: 00007fa422f7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007fa422ff3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa423145fa0 R15: 00007ffd16b0f158
BUG: Bad page state in process syz.0.15 pfn:7abcc
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807abccdc0 pfn:0x7abcc
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022a93000 0000000000000000
raw: ffff88807abccdc0 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 6640, tgid 6639 (syz.0.15), ts 136096440190, free_ts 132789896347
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851
prep_new_page mm/page_alloc.c:1859 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3858
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148
__alloc_pages_noprof mm/page_alloc.c:5182 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_netmems_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:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:951
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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 last free pid 6520 tgid 6520 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
__free_frozen_pages+0xbb1/0xd20 mm/page_alloc.c:2895
rcu_do_batch kernel/rcu/tree.c:2605 [inline]
rcu_core+0xca8/0x1770 kernel/rcu/tree.c:2861
handle_softirqs+0x286/0x870 kernel/softirq.c:579
__do_softirq kernel/softirq.c:613 [inline]
invoke_softirq kernel/softirq.c:453 [inline]
__irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680
irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
Modules linked in:
CPU: 1 UID: 0 PID: 6640 Comm: syz.0.15 Tainted: G B 6.16.0-syzkaller-g186f3edfdd41 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:650
free_page_is_bad mm/page_alloc.c:1083 [inline]
free_pages_prepare mm/page_alloc.c:1387 [inline]
__free_frozen_pages+0xcd1/0xd20 mm/page_alloc.c:2895
bpf_xdp_shrink_data net/core/filter.c:4181 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201
____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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:0x7fa422f7e98f
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:00007fa423e56020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa423145fa0 RCX: 00007fa422f7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007fa422ff3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa423145fa0 R15: 00007ffd16b0f158
BUG: Bad page state in process syz.0.15 pfn:59690
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888059690a00 pfn:0x59690
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022a93000 0000000000000000
raw: ffff888059690a00 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 6640, tgid 6639 (syz.0.15), ts 136096422511, free_ts 132789938146
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851
prep_new_page mm/page_alloc.c:1859 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3858
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148
__alloc_pages_noprof mm/page_alloc.c:5182 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_netmems_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:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:951
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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 last free pid 6520 tgid 6520 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
__free_frozen_pages+0xbb1/0xd20 mm/page_alloc.c:2895
rcu_do_batch kernel/rcu/tree.c:2605 [inline]
rcu_core+0xca8/0x1770 kernel/rcu/tree.c:2861
handle_softirqs+0x286/0x870 kernel/softirq.c:579
__do_softirq kernel/softirq.c:613 [inline]
invoke_softirq kernel/softirq.c:453 [inline]
__irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680
irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
Modules linked in:
CPU: 1 UID: 0 PID: 6640 Comm: syz.0.15 Tainted: G B 6.16.0-syzkaller-g186f3edfdd41 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:650
free_page_is_bad mm/page_alloc.c:1083 [inline]
free_pages_prepare mm/page_alloc.c:1387 [inline]
__free_frozen_pages+0xcd1/0xd20 mm/page_alloc.c:2895
bpf_xdp_shrink_data net/core/filter.c:4181 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201
____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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:0x7fa422f7e98f
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:00007fa423e56020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa423145fa0 RCX: 00007fa422f7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007fa422ff3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa423145fa0 R15: 00007ffd16b0f158
BUG: Bad page state in process syz.0.15 pfn:5e509
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5e509
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022a93000 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 6640, tgid 6639 (syz.0.15), ts 136096399075, free_ts 131810382256
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851
prep_new_page mm/page_alloc.c:1859 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3858
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148
__alloc_pages_noprof mm/page_alloc.c:5182 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_netmems_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:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:951
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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 last free pid 10 tgid 10 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
__free_frozen_pages+0xbb1/0xd20 mm/page_alloc.c:2895
kasan_depopulate_vmalloc_pte+0x74/0xa0 mm/kasan/shadow.c:472
apply_to_pte_range mm/memory.c:3015 [inline]
apply_to_pmd_range mm/memory.c:3059 [inline]
apply_to_pud_range mm/memory.c:3095 [inline]
apply_to_p4d_range mm/memory.c:3131 [inline]
__apply_to_page_range+0xb92/0x1380 mm/memory.c:3167
kasan_release_vmalloc+0xa2/0xd0 mm/kasan/shadow.c:593
kasan_release_vmalloc_node mm/vmalloc.c:2249 [inline]
purge_vmap_node+0x214/0x8f0 mm/vmalloc.c:2266
__purge_vmap_area_lazy+0x7a4/0xb40 mm/vmalloc.c:2356
drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2390
process_one_work kernel/workqueue.c:3236 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3319
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 6640 Comm: syz.0.15 Tainted: G B 6.16.0-syzkaller-g186f3edfdd41 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:650
free_page_is_bad mm/page_alloc.c:1083 [inline]
free_pages_prepare mm/page_alloc.c:1387 [inline]
__free_frozen_pages+0xcd1/0xd20 mm/page_alloc.c:2895
bpf_xdp_shrink_data net/core/filter.c:4181 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201
____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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:0x7fa422f7e98f
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:00007fa423e56020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa423145fa0 RCX: 00007fa422f7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007fa422ff3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa423145fa0 R15: 00007ffd16b0f158
BUG: Bad page state in process syz.0.15 pfn:5a9ec
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5a9ec
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022a93000 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 6640, tgid 6639 (syz.0.15), ts 136096383017, free_ts 131810962136
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851
prep_new_page mm/page_alloc.c:1859 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3858
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148
__alloc_pages_noprof mm/page_alloc.c:5182 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_netmems_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:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:951
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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 last free pid 10 tgid 10 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
__free_frozen_pages+0xbb1/0xd20 mm/page_alloc.c:2895
kasan_depopulate_vmalloc_pte+0x74/0xa0 mm/kasan/shadow.c:472
apply_to_pte_range mm/memory.c:3015 [inline]
apply_to_pmd_range mm/memory.c:3059 [inline]
apply_to_pud_range mm/memory.c:3095 [inline]
apply_to_p4d_range mm/memory.c:3131 [inline]
__apply_to_page_range+0xb92/0x1380 mm/memory.c:3167
kasan_release_vmalloc+0xa2/0xd0 mm/kasan/shadow.c:593
kasan_release_vmalloc_node mm/vmalloc.c:2249 [inline]
purge_vmap_node+0x214/0x8f0 mm/vmalloc.c:2266
__purge_vmap_area_lazy+0x7a4/0xb40 mm/vmalloc.c:2356
drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2390
process_one_work kernel/workqueue.c:3236 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3319
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 6640 Comm: syz.0.15 Tainted: G B 6.16.0-syzkaller-g186f3edfdd41 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:650
free_page_is_bad mm/page_alloc.c:1083 [inline]
free_pages_prepare mm/page_alloc.c:1387 [inline]
__free_frozen_pages+0xcd1/0xd20 mm/page_alloc.c:2895
bpf_xdp_shrink_data net/core/filter.c:4181 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201
____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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:0x7fa422f7e98f
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:00007fa423e56020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa423145fa0 RCX: 00007fa422f7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007fa422ff3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa423145fa0 R15: 00007ffd16b0f158
BUG: Bad page state in process syz.0.15 pfn:75b08
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888075b08dc0 pfn:0x75b08
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022a93000 0000000000000000
raw: ffff888075b08dc0 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 6640, tgid 6639 (syz.0.15), ts 136096366253, free_ts 131812821933
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851
prep_new_page mm/page_alloc.c:1859 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3858
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148
__alloc_pages_noprof mm/page_alloc.c:5182 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_netmems_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:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:951
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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 last free pid 10 tgid 10 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
__free_frozen_pages+0xbb1/0xd20 mm/page_alloc.c:2895
kasan_depopulate_vmalloc_pte+0x74/0xa0 mm/kasan/shadow.c:472
apply_to_pte_range mm/memory.c:3015 [inline]
apply_to_pmd_range mm/memory.c:3059 [inline]
apply_to_pud_range mm/memory.c:3095 [inline]
apply_to_p4d_range mm/memory.c:3131 [inline]
__apply_to_page_range+0xb92/0x1380 mm/memory.c:3167
kasan_release_vmalloc+0xa2/0xd0 mm/kasan/shadow.c:593
kasan_release_vmalloc_node mm/vmalloc.c:2249 [inline]
purge_vmap_node+0x214/0x8f0 mm/vmalloc.c:2266
__purge_vmap_area_lazy+0x7a4/0xb40 mm/vmalloc.c:2356
drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2390
process_one_work kernel/workqueue.c:3236 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3319
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 6640 Comm: syz.0.15 Tainted: G B 6.16.0-syzkaller-g186f3edfdd41 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:650
free_page_is_bad mm/page_alloc.c:1083 [inline]
free_pages_prepare mm/page_alloc.c:1387 [inline]
__free_frozen_pages+0xcd1/0xd20 mm/page_alloc.c:2895
bpf_xdp_shrink_data net/core/filter.c:4181 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201
____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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:0x7fa422f7e98f
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:00007fa423e56020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa423145fa0 RCX: 00007fa422f7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007fa422ff3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa423145fa0 R15: 00007ffd16b0f158
BUG: Bad page state in process syz.0.15 pfn:7121c
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807121cdc0 pfn:0x7121c
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022a93000 0000000000000000
raw: ffff88807121cdc0 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 6640, tgid 6639 (syz.0.15), ts 136096307367, free_ts 131812837784
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851
prep_new_page mm/page_alloc.c:1859 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3858
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148
__alloc_pages_noprof mm/page_alloc.c:5182 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:5102
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_netmems_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:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:951
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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 last free pid 10 tgid 10 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
__free_frozen_pages+0xbb1/0xd20 mm/page_alloc.c:2895
kasan_depopulate_vmalloc_pte+0x74/0xa0 mm/kasan/shadow.c:472
apply_to_pte_range mm/memory.c:3015 [inline]
apply_to_pmd_range mm/memory.c:3059 [inline]
apply_to_pud_range mm/memory.c:3095 [inline]
apply_to_p4d_range mm/memory.c:3131 [inline]
__apply_to_page_range+0xb92/0x1380 mm/memory.c:3167
kasan_release_vmalloc+0xa2/0xd0 mm/kasan/shadow.c:593
kasan_release_vmalloc_node mm/vmalloc.c:2249 [inline]
purge_vmap_node+0x214/0x8f0 mm/vmalloc.c:2266
__purge_vmap_area_lazy+0x7a4/0xb40 mm/vmalloc.c:2356
drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2390
process_one_work kernel/workqueue.c:3236 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3319
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 1 UID: 0 PID: 6640 Comm: syz.0.15 Tainted: G B 6.16.0-syzkaller-g186f3edfdd41 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:650
free_page_is_bad mm/page_alloc.c:1083 [inline]
free_pages_prepare mm/page_alloc.c:1387 [inline]
__free_frozen_pages+0xcd1/0xd20 mm/page_alloc.c:2895
bpf_xdp_shrink_data net/core/filter.c:4181 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4201
____bpf_xdp_adjust_tail net/core/filter.c:4226 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4219
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+0x17f9/0x4020 net/core/dev.c:5789
__netif_receive_skb_one_core net/core/dev.c:5977 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6092
netif_receive_skb_internal net/core/dev.c:6178 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237
tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485
tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996
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:0x7fa422f7e98f
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:00007fa423e56020 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa423145fa0 RCX: 00007fa422f7e98f
RDX: 0000000000011dc0 RSI: 00000000200004c0 RDI: 00000000000000c8
RBP: 00007fa422ff3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa423145fa0 R15: 00007ffd16b0f158