BUG: Bad page state in process syz.3.818 pfn:7bc17
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807bc17800 pfn:0x7bc17
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b1b1000 0000000000000000
raw: ffff88807bc17800 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 8958, tgid 8955 (syz.3.818), ts 204540879375, free_ts 204250299429
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338
alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xcd0/0x19a0 net/core/skbuff.c:984
netif_skb_check_for_xdp net/core/dev.c:5564 [inline]
netif_receive_generic_xdp net/core/dev.c:5605 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8928 tgid 8928 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950
__slab_free+0x274/0x2c0 mm/slub.c:5767
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:350
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4612 [inline]
slab_alloc_node mm/slub.c:4945 [inline]
kmem_cache_alloc_node_noprof+0x355/0x610 mm/slub.c:5017
kmalloc_reserve net/core/skbuff.c:615 [inline]
__alloc_skb+0x276/0x7a0 net/core/skbuff.c:715
alloc_skb include/linux/skbuff.h:1384 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
mpls_netconf_notify_devconf+0x46/0x100 net/mpls/af_mpls.c:1217
mpls_dev_notify+0xb52/0xd30 net/mpls/af_mpls.c:1691
notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:85
call_netdevice_notifiers_extack net/core/dev.c:2291 [inline]
call_netdevice_notifiers net/core/dev.c:2305 [inline]
unregister_netdevice_many_notify+0x17de/0x2150 net/core/dev.c:12457
unregister_netdevice_many net/core/dev.c:12528 [inline]
unregister_netdevice_queue+0x2f5/0x340 net/core/dev.c:12330
unregister_netdevice include/linux/netdevice.h:3477 [inline]
__tun_detach+0x1018/0x1880 drivers/net/tun.c:628
tun_detach drivers/net/tun.c:644 [inline]
tun_chr_close+0x10a/0x1c0 drivers/net/tun.c:3510
__fput+0x418/0xa50 fs/file_table.c:512
task_work_run+0x1d9/0x270 kernel/task_work.c:233
Modules linked in:
CPU: 0 UID: 0 PID: 8958 Comm: syz.3.818 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:724 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495
netif_receive_generic_xdp net/core/dev.c:5611 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd85435e68e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fd8551d5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd8551d66c0 RCX: 00007fd85435e68e
RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8
RBP: 00007fd854433e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd854626038 R14: 00007fd854625fa0 R15: 00007ffc6eea68a8
BUG: Bad page state in process syz.3.818 pfn:29b2f
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888029b2ff00 pfn:0x29b2f
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b1b1000 0000000000000000
raw: ffff888029b2ff00 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 8958, tgid 8955 (syz.3.818), ts 204540862064, free_ts 204250355020
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338
alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xcd0/0x19a0 net/core/skbuff.c:984
netif_skb_check_for_xdp net/core/dev.c:5564 [inline]
netif_receive_generic_xdp net/core/dev.c:5605 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8928 tgid 8928 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950
__slab_free+0x274/0x2c0 mm/slub.c:5767
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:350
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4612 [inline]
slab_alloc_node mm/slub.c:4945 [inline]
kmem_cache_alloc_node_noprof+0x355/0x610 mm/slub.c:5017
kmalloc_reserve net/core/skbuff.c:615 [inline]
__alloc_skb+0x276/0x7a0 net/core/skbuff.c:715
alloc_skb include/linux/skbuff.h:1384 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
mpls_netconf_notify_devconf+0x46/0x100 net/mpls/af_mpls.c:1217
mpls_dev_notify+0xb52/0xd30 net/mpls/af_mpls.c:1691
notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:85
call_netdevice_notifiers_extack net/core/dev.c:2291 [inline]
call_netdevice_notifiers net/core/dev.c:2305 [inline]
unregister_netdevice_many_notify+0x17de/0x2150 net/core/dev.c:12457
unregister_netdevice_many net/core/dev.c:12528 [inline]
unregister_netdevice_queue+0x2f5/0x340 net/core/dev.c:12330
unregister_netdevice include/linux/netdevice.h:3477 [inline]
__tun_detach+0x1018/0x1880 drivers/net/tun.c:628
tun_detach drivers/net/tun.c:644 [inline]
tun_chr_close+0x10a/0x1c0 drivers/net/tun.c:3510
__fput+0x418/0xa50 fs/file_table.c:512
task_work_run+0x1d9/0x270 kernel/task_work.c:233
Modules linked in:
CPU: 0 UID: 0 PID: 8958 Comm: syz.3.818 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:724 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495
netif_receive_generic_xdp net/core/dev.c:5611 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd85435e68e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fd8551d5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd8551d66c0 RCX: 00007fd85435e68e
RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8
RBP: 00007fd854433e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd854626038 R14: 00007fd854625fa0 R15: 00007ffc6eea68a8
BUG: Bad page state in process syz.3.818 pfn:74989
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888074989200 pfn:0x74989
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b1b1000 0000000000000000
raw: ffff888074989200 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 8958, tgid 8955 (syz.3.818), ts 204540844919, free_ts 204250411596
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338
alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xcd0/0x19a0 net/core/skbuff.c:984
netif_skb_check_for_xdp net/core/dev.c:5564 [inline]
netif_receive_generic_xdp net/core/dev.c:5605 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8928 tgid 8928 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950
__slab_free+0x274/0x2c0 mm/slub.c:5767
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:350
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4612 [inline]
slab_alloc_node mm/slub.c:4945 [inline]
kmem_cache_alloc_node_noprof+0x355/0x610 mm/slub.c:5017
kmalloc_reserve net/core/skbuff.c:615 [inline]
__alloc_skb+0x276/0x7a0 net/core/skbuff.c:715
alloc_skb include/linux/skbuff.h:1384 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
mpls_netconf_notify_devconf+0x46/0x100 net/mpls/af_mpls.c:1217
mpls_dev_notify+0xb52/0xd30 net/mpls/af_mpls.c:1691
notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:85
call_netdevice_notifiers_extack net/core/dev.c:2291 [inline]
call_netdevice_notifiers net/core/dev.c:2305 [inline]
unregister_netdevice_many_notify+0x17de/0x2150 net/core/dev.c:12457
unregister_netdevice_many net/core/dev.c:12528 [inline]
unregister_netdevice_queue+0x2f5/0x340 net/core/dev.c:12330
unregister_netdevice include/linux/netdevice.h:3477 [inline]
__tun_detach+0x1018/0x1880 drivers/net/tun.c:628
tun_detach drivers/net/tun.c:644 [inline]
tun_chr_close+0x10a/0x1c0 drivers/net/tun.c:3510
__fput+0x418/0xa50 fs/file_table.c:512
task_work_run+0x1d9/0x270 kernel/task_work.c:233
Modules linked in:
CPU: 0 UID: 0 PID: 8958 Comm: syz.3.818 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:724 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495
netif_receive_generic_xdp net/core/dev.c:5611 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd85435e68e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fd8551d5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd8551d66c0 RCX: 00007fd85435e68e
RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8
RBP: 00007fd854433e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd854626038 R14: 00007fd854625fa0 R15: 00007ffc6eea68a8
BUG: Bad page state in process syz.3.818 pfn:342c2
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880342c2000 pfn:0x342c2
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b1b1000 0000000000000000
raw: ffff8880342c2000 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 8958, tgid 8955 (syz.3.818), ts 204540828464, free_ts 204250420986
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338
alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xcd0/0x19a0 net/core/skbuff.c:984
netif_skb_check_for_xdp net/core/dev.c:5564 [inline]
netif_receive_generic_xdp net/core/dev.c:5605 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8928 tgid 8928 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950
__slab_free+0x274/0x2c0 mm/slub.c:5767
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:350
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4612 [inline]
slab_alloc_node mm/slub.c:4945 [inline]
kmem_cache_alloc_node_noprof+0x355/0x610 mm/slub.c:5017
kmalloc_reserve net/core/skbuff.c:615 [inline]
__alloc_skb+0x276/0x7a0 net/core/skbuff.c:715
alloc_skb include/linux/skbuff.h:1384 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
mpls_netconf_notify_devconf+0x46/0x100 net/mpls/af_mpls.c:1217
mpls_dev_notify+0xb52/0xd30 net/mpls/af_mpls.c:1691
notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:85
call_netdevice_notifiers_extack net/core/dev.c:2291 [inline]
call_netdevice_notifiers net/core/dev.c:2305 [inline]
unregister_netdevice_many_notify+0x17de/0x2150 net/core/dev.c:12457
unregister_netdevice_many net/core/dev.c:12528 [inline]
unregister_netdevice_queue+0x2f5/0x340 net/core/dev.c:12330
unregister_netdevice include/linux/netdevice.h:3477 [inline]
__tun_detach+0x1018/0x1880 drivers/net/tun.c:628
tun_detach drivers/net/tun.c:644 [inline]
tun_chr_close+0x10a/0x1c0 drivers/net/tun.c:3510
__fput+0x418/0xa50 fs/file_table.c:512
task_work_run+0x1d9/0x270 kernel/task_work.c:233
Modules linked in:
CPU: 0 UID: 0 PID: 8958 Comm: syz.3.818 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:724 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495
netif_receive_generic_xdp net/core/dev.c:5611 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd85435e68e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fd8551d5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd8551d66c0 RCX: 00007fd85435e68e
RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8
RBP: 00007fd854433e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd854626038 R14: 00007fd854625fa0 R15: 00007ffc6eea68a8
BUG: Bad page state in process syz.3.818 pfn:74aa0
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888074aa0420 pfn:0x74aa0
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b1b1000 0000000000000000
raw: ffff888074aa0420 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 8958, tgid 8955 (syz.3.818), ts 204540811917, free_ts 204250450736
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338
alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xcd0/0x19a0 net/core/skbuff.c:984
netif_skb_check_for_xdp net/core/dev.c:5564 [inline]
netif_receive_generic_xdp net/core/dev.c:5605 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8928 tgid 8928 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950
__slab_free+0x274/0x2c0 mm/slub.c:5767
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:350
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4612 [inline]
slab_alloc_node mm/slub.c:4945 [inline]
kmem_cache_alloc_node_noprof+0x355/0x610 mm/slub.c:5017
kmalloc_reserve net/core/skbuff.c:615 [inline]
__alloc_skb+0x276/0x7a0 net/core/skbuff.c:715
alloc_skb include/linux/skbuff.h:1384 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
mpls_netconf_notify_devconf+0x46/0x100 net/mpls/af_mpls.c:1217
mpls_dev_notify+0xb52/0xd30 net/mpls/af_mpls.c:1691
notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:85
call_netdevice_notifiers_extack net/core/dev.c:2291 [inline]
call_netdevice_notifiers net/core/dev.c:2305 [inline]
unregister_netdevice_many_notify+0x17de/0x2150 net/core/dev.c:12457
unregister_netdevice_many net/core/dev.c:12528 [inline]
unregister_netdevice_queue+0x2f5/0x340 net/core/dev.c:12330
unregister_netdevice include/linux/netdevice.h:3477 [inline]
__tun_detach+0x1018/0x1880 drivers/net/tun.c:628
tun_detach drivers/net/tun.c:644 [inline]
tun_chr_close+0x10a/0x1c0 drivers/net/tun.c:3510
__fput+0x418/0xa50 fs/file_table.c:512
task_work_run+0x1d9/0x270 kernel/task_work.c:233
Modules linked in:
CPU: 0 UID: 0 PID: 8958 Comm: syz.3.818 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:724 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495
netif_receive_generic_xdp net/core/dev.c:5611 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd85435e68e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fd8551d5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd8551d66c0 RCX: 00007fd85435e68e
RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8
RBP: 00007fd854433e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd854626038 R14: 00007fd854625fa0 R15: 00007ffc6eea68a8
BUG: Bad page state in process syz.3.818 pfn:2955e
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802955e120 pfn:0x2955e
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b1b1000 0000000000000000
raw: ffff88802955e120 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 8958, tgid 8955 (syz.3.818), ts 204540795089, free_ts 204250510060
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338
alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xcd0/0x19a0 net/core/skbuff.c:984
netif_skb_check_for_xdp net/core/dev.c:5564 [inline]
netif_receive_generic_xdp net/core/dev.c:5605 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8928 tgid 8928 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950
__slab_free+0x274/0x2c0 mm/slub.c:5767
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:350
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4612 [inline]
slab_alloc_node mm/slub.c:4945 [inline]
kmem_cache_alloc_node_noprof+0x355/0x610 mm/slub.c:5017
kmalloc_reserve net/core/skbuff.c:615 [inline]
__alloc_skb+0x276/0x7a0 net/core/skbuff.c:715
alloc_skb include/linux/skbuff.h:1384 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
mpls_netconf_notify_devconf+0x46/0x100 net/mpls/af_mpls.c:1217
mpls_dev_notify+0xb52/0xd30 net/mpls/af_mpls.c:1691
notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:85
call_netdevice_notifiers_extack net/core/dev.c:2291 [inline]
call_netdevice_notifiers net/core/dev.c:2305 [inline]
unregister_netdevice_many_notify+0x17de/0x2150 net/core/dev.c:12457
unregister_netdevice_many net/core/dev.c:12528 [inline]
unregister_netdevice_queue+0x2f5/0x340 net/core/dev.c:12330
unregister_netdevice include/linux/netdevice.h:3477 [inline]
__tun_detach+0x1018/0x1880 drivers/net/tun.c:628
tun_detach drivers/net/tun.c:644 [inline]
tun_chr_close+0x10a/0x1c0 drivers/net/tun.c:3510
__fput+0x418/0xa50 fs/file_table.c:512
task_work_run+0x1d9/0x270 kernel/task_work.c:233
Modules linked in:
CPU: 0 UID: 0 PID: 8958 Comm: syz.3.818 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:724 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495
netif_receive_generic_xdp net/core/dev.c:5611 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd85435e68e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fd8551d5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd8551d66c0 RCX: 00007fd85435e68e
RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8
RBP: 00007fd854433e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd854626038 R14: 00007fd854625fa0 R15: 00007ffc6eea68a8
BUG: Bad page state in process syz.3.818 pfn:745e5
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880745e5300 pfn:0x745e5
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b1b1000 0000000000000000
raw: ffff8880745e5300 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 8958, tgid 8955 (syz.3.818), ts 204540777985, free_ts 204250541702
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338
alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xcd0/0x19a0 net/core/skbuff.c:984
netif_skb_check_for_xdp net/core/dev.c:5564 [inline]
netif_receive_generic_xdp net/core/dev.c:5605 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8928 tgid 8928 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950
__slab_free+0x274/0x2c0 mm/slub.c:5767
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:350
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4612 [inline]
slab_alloc_node mm/slub.c:4945 [inline]
kmem_cache_alloc_node_noprof+0x355/0x610 mm/slub.c:5017
kmalloc_reserve net/core/skbuff.c:615 [inline]
__alloc_skb+0x276/0x7a0 net/core/skbuff.c:715
alloc_skb include/linux/skbuff.h:1384 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
mpls_netconf_notify_devconf+0x46/0x100 net/mpls/af_mpls.c:1217
mpls_dev_notify+0xb52/0xd30 net/mpls/af_mpls.c:1691
notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:85
call_netdevice_notifiers_extack net/core/dev.c:2291 [inline]
call_netdevice_notifiers net/core/dev.c:2305 [inline]
unregister_netdevice_many_notify+0x17de/0x2150 net/core/dev.c:12457
unregister_netdevice_many net/core/dev.c:12528 [inline]
unregister_netdevice_queue+0x2f5/0x340 net/core/dev.c:12330
unregister_netdevice include/linux/netdevice.h:3477 [inline]
__tun_detach+0x1018/0x1880 drivers/net/tun.c:628
tun_detach drivers/net/tun.c:644 [inline]
tun_chr_close+0x10a/0x1c0 drivers/net/tun.c:3510
__fput+0x418/0xa50 fs/file_table.c:512
task_work_run+0x1d9/0x270 kernel/task_work.c:233
Modules linked in:
CPU: 0 UID: 0 PID: 8958 Comm: syz.3.818 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:724 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495
netif_receive_generic_xdp net/core/dev.c:5611 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd85435e68e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fd8551d5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd8551d66c0 RCX: 00007fd85435e68e
RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8
RBP: 00007fd854433e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd854626038 R14: 00007fd854625fa0 R15: 00007ffc6eea68a8
BUG: Bad page state in process syz.3.818 pfn:7c66b
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807c66b300 pfn:0x7c66b
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b1b1000 0000000000000000
raw: ffff88807c66b300 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 8958, tgid 8955 (syz.3.818), ts 204540760650, free_ts 204250580575
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338
alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xcd0/0x19a0 net/core/skbuff.c:984
netif_skb_check_for_xdp net/core/dev.c:5564 [inline]
netif_receive_generic_xdp net/core/dev.c:5605 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8928 tgid 8928 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950
__slab_free+0x274/0x2c0 mm/slub.c:5767
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:350
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4612 [inline]
slab_alloc_node mm/slub.c:4945 [inline]
kmem_cache_alloc_node_noprof+0x355/0x610 mm/slub.c:5017
kmalloc_reserve net/core/skbuff.c:615 [inline]
__alloc_skb+0x276/0x7a0 net/core/skbuff.c:715
alloc_skb include/linux/skbuff.h:1384 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
mpls_netconf_notify_devconf+0x46/0x100 net/mpls/af_mpls.c:1217
mpls_dev_notify+0xb52/0xd30 net/mpls/af_mpls.c:1691
notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:85
call_netdevice_notifiers_extack net/core/dev.c:2291 [inline]
call_netdevice_notifiers net/core/dev.c:2305 [inline]
unregister_netdevice_many_notify+0x17de/0x2150 net/core/dev.c:12457
unregister_netdevice_many net/core/dev.c:12528 [inline]
unregister_netdevice_queue+0x2f5/0x340 net/core/dev.c:12330
unregister_netdevice include/linux/netdevice.h:3477 [inline]
__tun_detach+0x1018/0x1880 drivers/net/tun.c:628
tun_detach drivers/net/tun.c:644 [inline]
tun_chr_close+0x10a/0x1c0 drivers/net/tun.c:3510
__fput+0x418/0xa50 fs/file_table.c:512
task_work_run+0x1d9/0x270 kernel/task_work.c:233
Modules linked in:
CPU: 0 UID: 0 PID: 8958 Comm: syz.3.818 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:724 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495
netif_receive_generic_xdp net/core/dev.c:5611 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd85435e68e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fd8551d5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd8551d66c0 RCX: 00007fd85435e68e
RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8
RBP: 00007fd854433e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd854626038 R14: 00007fd854625fa0 R15: 00007ffc6eea68a8
BUG: Bad page state in process syz.3.818 pfn:28e60
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888028e60f00 pfn:0x28e60
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b1b1000 0000000000000000
raw: ffff888028e60f00 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 8958, tgid 8955 (syz.3.818), ts 204540743097, free_ts 204282032451
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338
alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xcd0/0x19a0 net/core/skbuff.c:984
netif_skb_check_for_xdp net/core/dev.c:5564 [inline]
netif_receive_generic_xdp net/core/dev.c:5605 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 8933 tgid 8932 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950
tlb_batch_list_free mm/mmu_gather.c:161 [inline]
tlb_finish_mmu+0x13e/0x220 mm/mmu_gather.c:552
exit_mmap+0x4b2/0x9f0 mm/mmap.c:1313
__mmput+0x118/0x420 kernel/fork.c:1187
exit_mm+0x221/0x2d0 kernel/exit.c:610
do_exit+0x6cd/0x2360 kernel/exit.c:992
do_group_exit+0x22d/0x2f0 kernel/exit.c:1147
get_signal+0x121b/0x12c0 kernel/signal.c:3038
arch_do_signal_or_restart+0xbb/0x860 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:66 [inline]
exit_to_user_mode_loop+0x104/0x730 kernel/entry/common.c:101
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]
do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 0 UID: 0 PID: 8958 Comm: syz.3.818 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:724 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495
netif_receive_generic_xdp net/core/dev.c:5611 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd85435e68e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fd8551d5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd8551d66c0 RCX: 00007fd85435e68e
RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8
RBP: 00007fd854433e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd854626038 R14: 00007fd854625fa0 R15: 00007ffc6eea68a8
BUG: Bad page state in process syz.3.818 pfn:75935
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888075935dc0 pfn:0x75935
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b1b1000 0000000000000000
raw: ffff888075935dc0 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 8958, tgid 8955 (syz.3.818), ts 204540725461, free_ts 204504866503
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338
alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xcd0/0x19a0 net/core/skbuff.c:984
netif_skb_check_for_xdp net/core/dev.c:5564 [inline]
netif_receive_generic_xdp net/core/dev.c:5605 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 4988 tgid 4988 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950
__slab_free+0x274/0x2c0 mm/slub.c:5767
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:350
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4612 [inline]
slab_alloc_node mm/slub.c:4945 [inline]
kmem_cache_alloc_noprof+0x2a0/0x5f0 mm/slub.c:4959
alloc_filename fs/namei.c:147 [inline]
do_getname+0x2e/0x250 fs/namei.c:187
getname include/linux/fs.h:2537 [inline]
getname_maybe_null include/linux/fs.h:2544 [inline]
class_filename_maybe_null_constructor include/linux/fs.h:2568 [inline]
vfs_fstatat+0x45/0x170 fs/stat.c:368
__do_sys_newfstatat fs/stat.c:538 [inline]
__se_sys_newfstatat fs/stat.c:532 [inline]
__x64_sys_newfstatat+0x151/0x200 fs/stat.c:532
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 0 UID: 0 PID: 8958 Comm: syz.3.818 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:724 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495
netif_receive_generic_xdp net/core/dev.c:5611 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd85435e68e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fd8551d5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd8551d66c0 RCX: 00007fd85435e68e
RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8
RBP: 00007fd854433e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd854626038 R14: 00007fd854625fa0 R15: 00007ffc6eea68a8
BUG: Bad page state in process syz.3.818 pfn:7f7cf
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x200000000 pfn:0x7f7cf
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff88801b1b1000 0000000000000000
raw: 0000000200000000 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 8958, tgid 8955 (syz.3.818), ts 204540708551, free_ts 204509332862
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946
__alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304
__alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338
alloc_pages_bulk_noprof+0x5f5/0x7b0 mm/page_alloc.c:5230
alloc_pages_bulk_node_noprof include/linux/gfp.h:261 [inline]
__page_pool_alloc_netmems_slow+0x14f/0x720 net/core/page_pool.c:619
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:167 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline]
skb_pp_cow_data+0xcd0/0x19a0 net/core/skbuff.c:984
netif_skb_check_for_xdp net/core/dev.c:5564 [inline]
netif_receive_generic_xdp net/core/dev.c:5605 [inline]
do_xdp_generic+0x770/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 15 tgid 15 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
__free_pages_prepare mm/page_alloc.c:1406 [inline]
__free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950
__tlb_remove_table_free mm/mmu_gather.c:228 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:291
rcu_do_batch kernel/rcu/tree.c:2645 [inline]
rcu_core+0x78b/0x10a0 kernel/rcu/tree.c:2897
handle_softirqs+0x225/0x840 kernel/softirq.c:622
run_ksoftirqd+0x36/0x60 kernel/softirq.c:1076
smpboot_thread_fn+0x57c/0xa80 kernel/smpboot.c:160
kthread+0x388/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 0 UID: 0 PID: 8958 Comm: syz.3.818 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
bad_page+0x17f/0x1c0 mm/page_alloc.c:643
free_page_is_bad mm/page_alloc.c:1078 [inline]
__free_pages_prepare mm/page_alloc.c:1397 [inline]
__free_frozen_pages+0xcc2/0xd10 mm/page_alloc.c:2950
bpf_xdp_shrink_data net/core/filter.c:4289 [inline]
bpf_xdp_frags_shrink_tail+0x4ed/0x800 net/core/filter.c:4313
____bpf_xdp_adjust_tail net/core/filter.c:4335 [inline]
bpf_xdp_adjust_tail+0x1ce/0x210 net/core/filter.c:4328
bpf_prog_5d7dc57dfd7f985a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:724 [inline]
bpf_prog_run_xdp include/net/xdp.h:696 [inline]
bpf_prog_run_generic_xdp+0x5e3/0x14b0 net/core/dev.c:5495
netif_receive_generic_xdp net/core/dev.c:5611 [inline]
do_xdp_generic+0xac2/0x12d0 net/core/dev.c:5673
tun_get_user+0x24f8/0x4370 drivers/net/tun.c:1905
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd85435e68e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fd8551d5fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd8551d66c0 RCX: 00007fd85435e68e
RDX: 0000000000011dc0 RSI: 0000200000001180 RDI: 00000000000000c8
RBP: 00007fd854433e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd854626038 R14: 00007fd854625fa0 R15: 00007ffc6eea68a8