BUG: Bad page state in process syz.3.3797 pfn:39760
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888039760000 pfn:0x39760
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022698000 0000000000000000
raw: ffff888039760000 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 20168, tgid 20167 (syz.3.3797), ts 1552546847629, free_ts 1550756893419
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 17802 tgid 17802 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1248 [inline]
__free_frozen_pages+0xc65/0xe60 mm/page_alloc.c:2706
vfree+0x25a/0x400 mm/vmalloc.c:3426
dvb_dmxdev_release+0x4f3/0x640 drivers/media/dvb-core/dmxdev.c:1473
dvb_usb_adapter_dvb_exit+0x9a/0x1b0 drivers/media/usb/dvb-usb/dvb-usb-dvb.c:224
dvb_usb_adapter_exit+0x8b/0x240 drivers/media/usb/dvb-usb/dvb-usb-init.c:128
dvb_usb_exit drivers/media/usb/dvb-usb/dvb-usb-init.c:143 [inline]
dvb_usb_device_exit+0x1b6/0x350 drivers/media/usb/dvb-usb/dvb-usb-init.c:338
usb_unbind_interface+0x26b/0x8f0 drivers/usb/core/driver.c:458
device_remove drivers/base/dd.c:569 [inline]
__device_release_driver drivers/base/dd.c:1272 [inline]
device_release_driver_internal+0x4d9/0x7c0 drivers/base/dd.c:1295
bus_remove_device+0x34d/0x410 drivers/base/bus.c:579
device_del+0x511/0x8e0 drivers/base/core.c:3881
usb_disable_device+0x3e9/0x8a0 drivers/usb/core/message.c:1418
usb_disconnect+0x330/0x910 drivers/usb/core/hub.c:2316
hub_port_connect drivers/usb/core/hub.c:5375 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5675 [inline]
port_event drivers/usb/core/hub.c:5835 [inline]
hub_event+0x1cdb/0x4a00 drivers/usb/core/hub.c:5917
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3321
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402
kthread+0x70e/0x8a0 kernel/kthread.c:464
Modules linked in:
CPU: 0 UID: 0 PID: 20168 Comm: syz.3.3797 Not tainted 6.16.0-rc1-syzkaller-00003-gf09079bd04a9 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe06/0xe60 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f27a018d3df
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:00007f27a10a1000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f27a03b5fa0 RCX: 00007f27a018d3df
RDX: 0000000000011dc0 RSI: 0000200000002d40 RDI: 00000000000000c8
RBP: 00007f27a0210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f27a03b5fa0 R15: 00007ffd1d282248
BUG: Bad page state in process syz.3.3797 pfn:73f51
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x73f51
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022698000 0000000000000000
raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 20168, tgid 20167 (syz.3.3797), ts 1552546829694, free_ts 1550756911444
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 17802 tgid 17802 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1248 [inline]
__free_frozen_pages+0xc65/0xe60 mm/page_alloc.c:2706
vfree+0x25a/0x400 mm/vmalloc.c:3426
dvb_dmxdev_release+0x4f3/0x640 drivers/media/dvb-core/dmxdev.c:1473
dvb_usb_adapter_dvb_exit+0x9a/0x1b0 drivers/media/usb/dvb-usb/dvb-usb-dvb.c:224
dvb_usb_adapter_exit+0x8b/0x240 drivers/media/usb/dvb-usb/dvb-usb-init.c:128
dvb_usb_exit drivers/media/usb/dvb-usb/dvb-usb-init.c:143 [inline]
dvb_usb_device_exit+0x1b6/0x350 drivers/media/usb/dvb-usb/dvb-usb-init.c:338
usb_unbind_interface+0x26b/0x8f0 drivers/usb/core/driver.c:458
device_remove drivers/base/dd.c:569 [inline]
__device_release_driver drivers/base/dd.c:1272 [inline]
device_release_driver_internal+0x4d9/0x7c0 drivers/base/dd.c:1295
bus_remove_device+0x34d/0x410 drivers/base/bus.c:579
device_del+0x511/0x8e0 drivers/base/core.c:3881
usb_disable_device+0x3e9/0x8a0 drivers/usb/core/message.c:1418
usb_disconnect+0x330/0x910 drivers/usb/core/hub.c:2316
hub_port_connect drivers/usb/core/hub.c:5375 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5675 [inline]
port_event drivers/usb/core/hub.c:5835 [inline]
hub_event+0x1cdb/0x4a00 drivers/usb/core/hub.c:5917
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3321
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402
kthread+0x70e/0x8a0 kernel/kthread.c:464
Modules linked in:
CPU: 0 UID: 0 PID: 20168 Comm: syz.3.3797 Tainted: G B 6.16.0-rc1-syzkaller-00003-gf09079bd04a9 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe06/0xe60 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f27a018d3df
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:00007f27a10a1000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f27a03b5fa0 RCX: 00007f27a018d3df
RDX: 0000000000011dc0 RSI: 0000200000002d40 RDI: 00000000000000c8
RBP: 00007f27a0210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f27a03b5fa0 R15: 00007ffd1d282248
BUG: Bad page state in process syz.3.3797 pfn:31491
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x31491
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022698000 0000000000000000
raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 20168, tgid 20167 (syz.3.3797), ts 1552546811603, free_ts 1550756930642
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 17802 tgid 17802 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1248 [inline]
__free_frozen_pages+0xc65/0xe60 mm/page_alloc.c:2706
vfree+0x25a/0x400 mm/vmalloc.c:3426
dvb_dmxdev_release+0x4f3/0x640 drivers/media/dvb-core/dmxdev.c:1473
dvb_usb_adapter_dvb_exit+0x9a/0x1b0 drivers/media/usb/dvb-usb/dvb-usb-dvb.c:224
dvb_usb_adapter_exit+0x8b/0x240 drivers/media/usb/dvb-usb/dvb-usb-init.c:128
dvb_usb_exit drivers/media/usb/dvb-usb/dvb-usb-init.c:143 [inline]
dvb_usb_device_exit+0x1b6/0x350 drivers/media/usb/dvb-usb/dvb-usb-init.c:338
usb_unbind_interface+0x26b/0x8f0 drivers/usb/core/driver.c:458
device_remove drivers/base/dd.c:569 [inline]
__device_release_driver drivers/base/dd.c:1272 [inline]
device_release_driver_internal+0x4d9/0x7c0 drivers/base/dd.c:1295
bus_remove_device+0x34d/0x410 drivers/base/bus.c:579
device_del+0x511/0x8e0 drivers/base/core.c:3881
usb_disable_device+0x3e9/0x8a0 drivers/usb/core/message.c:1418
usb_disconnect+0x330/0x910 drivers/usb/core/hub.c:2316
hub_port_connect drivers/usb/core/hub.c:5375 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5675 [inline]
port_event drivers/usb/core/hub.c:5835 [inline]
hub_event+0x1cdb/0x4a00 drivers/usb/core/hub.c:5917
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3321
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402
kthread+0x70e/0x8a0 kernel/kthread.c:464
Modules linked in:
CPU: 0 UID: 0 PID: 20168 Comm: syz.3.3797 Tainted: G B 6.16.0-rc1-syzkaller-00003-gf09079bd04a9 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe06/0xe60 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f27a018d3df
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:00007f27a10a1000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f27a03b5fa0 RCX: 00007f27a018d3df
RDX: 0000000000011dc0 RSI: 0000200000002d40 RDI: 00000000000000c8
RBP: 00007f27a0210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f27a03b5fa0 R15: 00007ffd1d282248
BUG: Bad page state in process syz.3.3797 pfn:64c6e
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888064c6e000 pfn:0x64c6e
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022698000 0000000000000000
raw: ffff888064c6e000 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 20168, tgid 20167 (syz.3.3797), ts 1552546793683, free_ts 1550756948674
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 17802 tgid 17802 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1248 [inline]
__free_frozen_pages+0xc65/0xe60 mm/page_alloc.c:2706
vfree+0x25a/0x400 mm/vmalloc.c:3426
dvb_dmxdev_release+0x4f3/0x640 drivers/media/dvb-core/dmxdev.c:1473
dvb_usb_adapter_dvb_exit+0x9a/0x1b0 drivers/media/usb/dvb-usb/dvb-usb-dvb.c:224
dvb_usb_adapter_exit+0x8b/0x240 drivers/media/usb/dvb-usb/dvb-usb-init.c:128
dvb_usb_exit drivers/media/usb/dvb-usb/dvb-usb-init.c:143 [inline]
dvb_usb_device_exit+0x1b6/0x350 drivers/media/usb/dvb-usb/dvb-usb-init.c:338
usb_unbind_interface+0x26b/0x8f0 drivers/usb/core/driver.c:458
device_remove drivers/base/dd.c:569 [inline]
__device_release_driver drivers/base/dd.c:1272 [inline]
device_release_driver_internal+0x4d9/0x7c0 drivers/base/dd.c:1295
bus_remove_device+0x34d/0x410 drivers/base/bus.c:579
device_del+0x511/0x8e0 drivers/base/core.c:3881
usb_disable_device+0x3e9/0x8a0 drivers/usb/core/message.c:1418
usb_disconnect+0x330/0x910 drivers/usb/core/hub.c:2316
hub_port_connect drivers/usb/core/hub.c:5375 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5675 [inline]
port_event drivers/usb/core/hub.c:5835 [inline]
hub_event+0x1cdb/0x4a00 drivers/usb/core/hub.c:5917
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3321
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402
kthread+0x70e/0x8a0 kernel/kthread.c:464
Modules linked in:
CPU: 0 UID: 0 PID: 20168 Comm: syz.3.3797 Tainted: G B 6.16.0-rc1-syzkaller-00003-gf09079bd04a9 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe06/0xe60 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f27a018d3df
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:00007f27a10a1000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f27a03b5fa0 RCX: 00007f27a018d3df
RDX: 0000000000011dc0 RSI: 0000200000002d40 RDI: 00000000000000c8
RBP: 00007f27a0210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f27a03b5fa0 R15: 00007ffd1d282248
BUG: Bad page state in process syz.3.3797 pfn:6551a
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x6551a
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022698000 0000000000000000
raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 20168, tgid 20167 (syz.3.3797), ts 1552546776234, free_ts 1550756967172
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 17802 tgid 17802 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1248 [inline]
__free_frozen_pages+0xc65/0xe60 mm/page_alloc.c:2706
vfree+0x25a/0x400 mm/vmalloc.c:3426
dvb_dmxdev_release+0x4f3/0x640 drivers/media/dvb-core/dmxdev.c:1473
dvb_usb_adapter_dvb_exit+0x9a/0x1b0 drivers/media/usb/dvb-usb/dvb-usb-dvb.c:224
dvb_usb_adapter_exit+0x8b/0x240 drivers/media/usb/dvb-usb/dvb-usb-init.c:128
dvb_usb_exit drivers/media/usb/dvb-usb/dvb-usb-init.c:143 [inline]
dvb_usb_device_exit+0x1b6/0x350 drivers/media/usb/dvb-usb/dvb-usb-init.c:338
usb_unbind_interface+0x26b/0x8f0 drivers/usb/core/driver.c:458
device_remove drivers/base/dd.c:569 [inline]
__device_release_driver drivers/base/dd.c:1272 [inline]
device_release_driver_internal+0x4d9/0x7c0 drivers/base/dd.c:1295
bus_remove_device+0x34d/0x410 drivers/base/bus.c:579
device_del+0x511/0x8e0 drivers/base/core.c:3881
usb_disable_device+0x3e9/0x8a0 drivers/usb/core/message.c:1418
usb_disconnect+0x330/0x910 drivers/usb/core/hub.c:2316
hub_port_connect drivers/usb/core/hub.c:5375 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5675 [inline]
port_event drivers/usb/core/hub.c:5835 [inline]
hub_event+0x1cdb/0x4a00 drivers/usb/core/hub.c:5917
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3321
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402
kthread+0x70e/0x8a0 kernel/kthread.c:464
Modules linked in:
CPU: 0 UID: 0 PID: 20168 Comm: syz.3.3797 Tainted: G B 6.16.0-rc1-syzkaller-00003-gf09079bd04a9 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe06/0xe60 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f27a018d3df
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:00007f27a10a1000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f27a03b5fa0 RCX: 00007f27a018d3df
RDX: 0000000000011dc0 RSI: 0000200000002d40 RDI: 00000000000000c8
RBP: 00007f27a0210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f27a03b5fa0 R15: 00007ffd1d282248
BUG: Bad page state in process syz.3.3797 pfn:76dd8
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888076dd8300 pfn:0x76dd8
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022698000 0000000000000000
raw: ffff888076dd8300 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 20168, tgid 20167 (syz.3.3797), ts 1552546758412, free_ts 1551657466905
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 20161 tgid 20158 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1248 [inline]
__free_frozen_pages+0xc65/0xe60 mm/page_alloc.c:2706
tlb_batch_list_free mm/mmu_gather.c:159 [inline]
tlb_finish_mmu+0x112/0x1d0 mm/mmu_gather.c:500
exit_mmap+0x44c/0xb50 mm/mmap.c:1297
__mmput+0x118/0x420 kernel/fork.c:1121
exit_mm+0x1da/0x2c0 kernel/exit.c:581
do_exit+0x640/0x22e0 kernel/exit.c:943
do_group_exit+0x21c/0x2d0 kernel/exit.c:1104
get_signal+0x125e/0x1310 kernel/signal.c:3034
arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop+0x75/0x110 kernel/entry/common.c:111
exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline]
do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 0 UID: 0 PID: 20168 Comm: syz.3.3797 Tainted: G B 6.16.0-rc1-syzkaller-00003-gf09079bd04a9 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe06/0xe60 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f27a018d3df
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:00007f27a10a1000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f27a03b5fa0 RCX: 00007f27a018d3df
RDX: 0000000000011dc0 RSI: 0000200000002d40 RDI: 00000000000000c8
RBP: 00007f27a0210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f27a03b5fa0 R15: 00007ffd1d282248
BUG: Bad page state in process syz.3.3797 pfn:53401
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x53401
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022698000 0000000000000000
raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 20168, tgid 20167 (syz.3.3797), ts 1552546740281, free_ts 1551657485378
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 20161 tgid 20158 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1248 [inline]
__free_frozen_pages+0xc65/0xe60 mm/page_alloc.c:2706
tlb_batch_list_free mm/mmu_gather.c:159 [inline]
tlb_finish_mmu+0x112/0x1d0 mm/mmu_gather.c:500
exit_mmap+0x44c/0xb50 mm/mmap.c:1297
__mmput+0x118/0x420 kernel/fork.c:1121
exit_mm+0x1da/0x2c0 kernel/exit.c:581
do_exit+0x640/0x22e0 kernel/exit.c:943
do_group_exit+0x21c/0x2d0 kernel/exit.c:1104
get_signal+0x125e/0x1310 kernel/signal.c:3034
arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop+0x75/0x110 kernel/entry/common.c:111
exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline]
do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 0 UID: 0 PID: 20168 Comm: syz.3.3797 Tainted: G B 6.16.0-rc1-syzkaller-00003-gf09079bd04a9 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe06/0xe60 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f27a018d3df
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:00007f27a10a1000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f27a03b5fa0 RCX: 00007f27a018d3df
RDX: 0000000000011dc0 RSI: 0000200000002d40 RDI: 00000000000000c8
RBP: 00007f27a0210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f27a03b5fa0 R15: 00007ffd1d282248
BUG: Bad page state in process syz.3.3797 pfn:28e17
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x28e17
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022698000 0000000000000000
raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 20168, tgid 20167 (syz.3.3797), ts 1552546722545, free_ts 1551723132183
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
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:1248 [inline]
__free_frozen_pages+0xc65/0xe60 mm/page_alloc.c:2706
pagetable_free include/linux/mm.h:2879 [inline]
pagetable_dtor_free include/linux/mm.h:2977 [inline]
__tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220
__tlb_remove_table_free mm/mmu_gather.c:227 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290
rcu_do_batch kernel/rcu/tree.c:2576 [inline]
rcu_core+0xca8/0x1710 kernel/rcu/tree.c:2832
handle_softirqs+0x286/0x870 kernel/softirq.c:579
run_ksoftirqd+0x9b/0x100 kernel/softirq.c:968
smpboot_thread_fn+0x53f/0xa60 kernel/smpboot.c:164
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 0 UID: 0 PID: 20168 Comm: syz.3.3797 Tainted: G B 6.16.0-rc1-syzkaller-00003-gf09079bd04a9 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe06/0xe60 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f27a018d3df
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:00007f27a10a1000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f27a03b5fa0 RCX: 00007f27a018d3df
RDX: 0000000000011dc0 RSI: 0000200000002d40 RDI: 00000000000000c8
RBP: 00007f27a0210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f27a03b5fa0 R15: 00007ffd1d282248
BUG: Bad page state in process syz.3.3797 pfn:788d9
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x788d9
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022698000 0000000000000000
raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 20168, tgid 20167 (syz.3.3797), ts 1552546704327, free_ts 1551723161704
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
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:1248 [inline]
__free_frozen_pages+0xc65/0xe60 mm/page_alloc.c:2706
pagetable_free include/linux/mm.h:2879 [inline]
pagetable_dtor_free include/linux/mm.h:2977 [inline]
__tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220
__tlb_remove_table_free mm/mmu_gather.c:227 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290
rcu_do_batch kernel/rcu/tree.c:2576 [inline]
rcu_core+0xca8/0x1710 kernel/rcu/tree.c:2832
handle_softirqs+0x286/0x870 kernel/softirq.c:579
run_ksoftirqd+0x9b/0x100 kernel/softirq.c:968
smpboot_thread_fn+0x53f/0xa60 kernel/smpboot.c:164
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 0 UID: 0 PID: 20168 Comm: syz.3.3797 Tainted: G B 6.16.0-rc1-syzkaller-00003-gf09079bd04a9 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe06/0xe60 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f27a018d3df
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:00007f27a10a1000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f27a03b5fa0 RCX: 00007f27a018d3df
RDX: 0000000000011dc0 RSI: 0000200000002d40 RDI: 00000000000000c8
RBP: 00007f27a0210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f27a03b5fa0 R15: 00007ffd1d282248
BUG: Bad page state in process syz.3.3797 pfn:3ac12
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x3ac12
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022698000 0000000000000000
raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 20168, tgid 20167 (syz.3.3797), ts 1552546686646, free_ts 1551723188723
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
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:1248 [inline]
__free_frozen_pages+0xc65/0xe60 mm/page_alloc.c:2706
pagetable_free include/linux/mm.h:2879 [inline]
pagetable_dtor_free include/linux/mm.h:2977 [inline]
__tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220
__tlb_remove_table_free mm/mmu_gather.c:227 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290
rcu_do_batch kernel/rcu/tree.c:2576 [inline]
rcu_core+0xca8/0x1710 kernel/rcu/tree.c:2832
handle_softirqs+0x286/0x870 kernel/softirq.c:579
run_ksoftirqd+0x9b/0x100 kernel/softirq.c:968
smpboot_thread_fn+0x53f/0xa60 kernel/smpboot.c:164
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 0 UID: 0 PID: 20168 Comm: syz.3.3797 Tainted: G B 6.16.0-rc1-syzkaller-00003-gf09079bd04a9 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe06/0xe60 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f27a018d3df
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:00007f27a10a1000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f27a03b5fa0 RCX: 00007f27a018d3df
RDX: 0000000000011dc0 RSI: 0000200000002d40 RDI: 00000000000000c8
RBP: 00007f27a0210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f27a03b5fa0 R15: 00007ffd1d282248
BUG: Bad page state in process syz.3.3797 pfn:7bde6
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x7bde6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff888022698000 0000000000000000
raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 20168, tgid 20167 (syz.3.3797), ts 1552546668964, free_ts 1551723215397
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704
prep_new_page mm/page_alloc.c:1712 [inline]
get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3669
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959
__alloc_pages_noprof mm/page_alloc.c:4993 [inline]
alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913
alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline]
__page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567
page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline]
page_pool_alloc include/net/page_pool/helpers.h:160 [inline]
page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline]
skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952
netif_skb_check_for_xdp net/core/dev.c:5329 [inline]
netif_receive_generic_xdp net/core/dev.c:5370 [inline]
do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
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:1248 [inline]
__free_frozen_pages+0xc65/0xe60 mm/page_alloc.c:2706
pagetable_free include/linux/mm.h:2879 [inline]
pagetable_dtor_free include/linux/mm.h:2977 [inline]
__tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220
__tlb_remove_table_free mm/mmu_gather.c:227 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290
rcu_do_batch kernel/rcu/tree.c:2576 [inline]
rcu_core+0xca8/0x1710 kernel/rcu/tree.c:2832
handle_softirqs+0x286/0x870 kernel/softirq.c:579
run_ksoftirqd+0x9b/0x100 kernel/softirq.c:968
smpboot_thread_fn+0x53f/0xa60 kernel/smpboot.c:164
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
CPU: 0 UID: 0 PID: 20168 Comm: syz.3.3797 Tainted: G B 6.16.0-rc1-syzkaller-00003-gf09079bd04a9 #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
bad_page+0x180/0x1c0 mm/page_alloc.c:506
free_page_is_bad mm/page_alloc.c:939 [inline]
free_pages_prepare mm/page_alloc.c:1240 [inline]
__free_frozen_pages+0xe06/0xe60 mm/page_alloc.c:2706
bpf_xdp_shrink_data net/core/filter.c:4165 [inline]
bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185
____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline]
bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203
bpf_prog_f476d5219b92964a+0x1e/0x24
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run_xdp include/net/xdp.h:657 [inline]
bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260
netif_receive_generic_xdp net/core/dev.c:5376 [inline]
do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438
tun_get_user+0x23fb/0x3ce0 drivers/net/tun.c:1860
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f27a018d3df
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:00007f27a10a1000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f27a03b5fa0 RCX: 00007f27a018d3df
RDX: 0000000000011dc0 RSI: 0000200000002d40 RDI: 00000000000000c8
RBP: 00007f27a0210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000011dc0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f27a03b5fa0 R15: 00007ffd1d282248