BUG: Bad page state in process syz-executor193 pfn:44326
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x44326
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e572000 0000000000000000
raw: 0000000000000000 3fffffffffffffff 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 5318, tgid 5318 (syz-executor193), ts 67658077797, free_ts 67542162652
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551
prep_new_page mm/page_alloc.c:1559 [inline]
get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3477
__alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4740
__alloc_pages_noprof mm/page_alloc.c:4774 [inline]
alloc_pages_bulk_noprof+0x847/0xae0 mm/page_alloc.c:4694
alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline]
__page_pool_alloc_pages_slow+0x11f/0x690 net/core/page_pool.c:542
page_pool_alloc_netmems net/core/page_pool.c:593 [inline]
page_pool_alloc_frag_netmem+0x59c/0x940 net/core/page_pool.c:998
page_pool_alloc_netmem include/net/page_pool/helpers.h:131 [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+0xcea/0x1720 net/core/skbuff.c:893
netif_skb_check_for_xdp net/core/dev.c:5259 [inline]
netif_receive_generic_xdp net/core/dev.c:5298 [inline]
do_xdp_generic+0x505/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5313 tgid 5313 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1127 [inline]
free_frozen_pages+0xe0d/0x10e0 mm/page_alloc.c:2660
discard_slab mm/slub.c:2707 [inline]
__put_partials+0x160/0x1c0 mm/slub.c:3176
put_cpu_partial+0x17c/0x250 mm/slub.c:3251
__slab_free+0x290/0x380 mm/slub.c:4503
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4138 [inline]
slab_alloc_node mm/slub.c:4187 [inline]
kmem_cache_alloc_noprof+0x1d9/0x380 mm/slub.c:4194
proc_reg_open+0x201/0x530 fs/proc/inode.c:502
do_dentry_open+0xdec/0x1960 fs/open.c:956
vfs_open+0x3b/0x370 fs/open.c:1086
do_open fs/namei.c:3845 [inline]
path_openat+0x2c9f/0x35b0 fs/namei.c:4004
do_filp_open+0x282/0x4e0 fs/namei.c:4031
do_sys_openat2+0x122/0x1c0 fs/open.c:1429
do_sys_open fs/open.c:1444 [inline]
__do_sys_openat fs/open.c:1460 [inline]
__se_sys_openat fs/open.c:1455 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1455
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
Modules linked in:
CPU: 0 UID: 0 PID: 5318 Comm: syz-executor193 Not tainted 6.14.0-syzkaller-00624-g2f2d52945852 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
bad_page+0x176/0x1d0 mm/page_alloc.c:501
free_page_is_bad mm/page_alloc.c:923 [inline]
free_pages_prepare mm/page_alloc.c:1119 [inline]
free_frozen_pages+0x1082/0x10e0 mm/page_alloc.c:2660
bpf_xdp_shrink_data net/core/filter.c:4155 [inline]
bpf_xdp_frags_shrink_tail+0x3b3/0x780 net/core/filter.c:4175
____bpf_xdp_adjust_tail net/core/filter.c:4200 [inline]
bpf_xdp_adjust_tail+0x1c6/0x210 net/core/filter.c:4193
bpf_prog_f476d5219b92964a+0x1e/0x20
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run_xdp include/net/xdp.h:654 [inline]
bpf_prog_run_generic_xdp+0x686/0x1510 net/core/dev.c:5191
netif_receive_generic_xdp net/core/dev.c:5304 [inline]
do_xdp_generic+0x757/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3ff23dadf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffe2ecb8d28 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3ff23dadf0
RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffe2ecb8e58 R09: 00007ffe2ecb8e58
R10: 00007ffe2ecb8e58 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffe2ecb8d60 R15: 00007ffe2ecb8d50
BUG: Bad page state in process syz-executor193 pfn:44325
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x44325
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e572000 0000000000000000
raw: 0000000000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 5318, tgid 5318 (syz-executor193), ts 67658066743, free_ts 67542162652
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551
prep_new_page mm/page_alloc.c:1559 [inline]
get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3477
__alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4740
__alloc_pages_noprof mm/page_alloc.c:4774 [inline]
alloc_pages_bulk_noprof+0x847/0xae0 mm/page_alloc.c:4694
alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline]
__page_pool_alloc_pages_slow+0x11f/0x690 net/core/page_pool.c:542
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+0xcc8/0x1720 net/core/skbuff.c:893
netif_skb_check_for_xdp net/core/dev.c:5259 [inline]
netif_receive_generic_xdp net/core/dev.c:5298 [inline]
do_xdp_generic+0x505/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5313 tgid 5313 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1127 [inline]
free_frozen_pages+0xe0d/0x10e0 mm/page_alloc.c:2660
discard_slab mm/slub.c:2707 [inline]
__put_partials+0x160/0x1c0 mm/slub.c:3176
put_cpu_partial+0x17c/0x250 mm/slub.c:3251
__slab_free+0x290/0x380 mm/slub.c:4503
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4138 [inline]
slab_alloc_node mm/slub.c:4187 [inline]
kmem_cache_alloc_noprof+0x1d9/0x380 mm/slub.c:4194
proc_reg_open+0x201/0x530 fs/proc/inode.c:502
do_dentry_open+0xdec/0x1960 fs/open.c:956
vfs_open+0x3b/0x370 fs/open.c:1086
do_open fs/namei.c:3845 [inline]
path_openat+0x2c9f/0x35b0 fs/namei.c:4004
do_filp_open+0x282/0x4e0 fs/namei.c:4031
do_sys_openat2+0x122/0x1c0 fs/open.c:1429
do_sys_open fs/open.c:1444 [inline]
__do_sys_openat fs/open.c:1460 [inline]
__se_sys_openat fs/open.c:1455 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1455
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
Modules linked in:
CPU: 0 UID: 0 PID: 5318 Comm: syz-executor193 Tainted: G B 6.14.0-syzkaller-00624-g2f2d52945852 #0
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
bad_page+0x176/0x1d0 mm/page_alloc.c:501
free_page_is_bad mm/page_alloc.c:923 [inline]
free_pages_prepare mm/page_alloc.c:1119 [inline]
free_frozen_pages+0x1082/0x10e0 mm/page_alloc.c:2660
bpf_xdp_shrink_data net/core/filter.c:4155 [inline]
bpf_xdp_frags_shrink_tail+0x3b3/0x780 net/core/filter.c:4175
____bpf_xdp_adjust_tail net/core/filter.c:4200 [inline]
bpf_xdp_adjust_tail+0x1c6/0x210 net/core/filter.c:4193
bpf_prog_f476d5219b92964a+0x1e/0x20
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run_xdp include/net/xdp.h:654 [inline]
bpf_prog_run_generic_xdp+0x686/0x1510 net/core/dev.c:5191
netif_receive_generic_xdp net/core/dev.c:5304 [inline]
do_xdp_generic+0x757/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3ff23dadf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffe2ecb8d28 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3ff23dadf0
RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffe2ecb8e58 R09: 00007ffe2ecb8e58
R10: 00007ffe2ecb8e58 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffe2ecb8d60 R15: 00007ffe2ecb8d50
BUG: Bad page state in process syz-executor193 pfn:44324
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x44324
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e572000 0000000000000000
raw: 0000000000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 5318, tgid 5318 (syz-executor193), ts 67658058700, free_ts 67542162652
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551
prep_new_page mm/page_alloc.c:1559 [inline]
get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3477
__alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4740
__alloc_pages_noprof mm/page_alloc.c:4774 [inline]
alloc_pages_bulk_noprof+0x847/0xae0 mm/page_alloc.c:4694
alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline]
__page_pool_alloc_pages_slow+0x11f/0x690 net/core/page_pool.c:542
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+0xcc8/0x1720 net/core/skbuff.c:893
netif_skb_check_for_xdp net/core/dev.c:5259 [inline]
netif_receive_generic_xdp net/core/dev.c:5298 [inline]
do_xdp_generic+0x505/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5313 tgid 5313 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1127 [inline]
free_frozen_pages+0xe0d/0x10e0 mm/page_alloc.c:2660
discard_slab mm/slub.c:2707 [inline]
__put_partials+0x160/0x1c0 mm/slub.c:3176
put_cpu_partial+0x17c/0x250 mm/slub.c:3251
__slab_free+0x290/0x380 mm/slub.c:4503
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4138 [inline]
slab_alloc_node mm/slub.c:4187 [inline]
kmem_cache_alloc_noprof+0x1d9/0x380 mm/slub.c:4194
proc_reg_open+0x201/0x530 fs/proc/inode.c:502
do_dentry_open+0xdec/0x1960 fs/open.c:956
vfs_open+0x3b/0x370 fs/open.c:1086
do_open fs/namei.c:3845 [inline]
path_openat+0x2c9f/0x35b0 fs/namei.c:4004
do_filp_open+0x282/0x4e0 fs/namei.c:4031
do_sys_openat2+0x122/0x1c0 fs/open.c:1429
do_sys_open fs/open.c:1444 [inline]
__do_sys_openat fs/open.c:1460 [inline]
__se_sys_openat fs/open.c:1455 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1455
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
Modules linked in:
CPU: 0 UID: 0 PID: 5318 Comm: syz-executor193 Tainted: G B 6.14.0-syzkaller-00624-g2f2d52945852 #0
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
bad_page+0x176/0x1d0 mm/page_alloc.c:501
free_page_is_bad mm/page_alloc.c:923 [inline]
free_pages_prepare mm/page_alloc.c:1119 [inline]
free_frozen_pages+0x1082/0x10e0 mm/page_alloc.c:2660
bpf_xdp_shrink_data net/core/filter.c:4155 [inline]
bpf_xdp_frags_shrink_tail+0x3b3/0x780 net/core/filter.c:4175
____bpf_xdp_adjust_tail net/core/filter.c:4200 [inline]
bpf_xdp_adjust_tail+0x1c6/0x210 net/core/filter.c:4193
bpf_prog_f476d5219b92964a+0x1e/0x20
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run_xdp include/net/xdp.h:654 [inline]
bpf_prog_run_generic_xdp+0x686/0x1510 net/core/dev.c:5191
netif_receive_generic_xdp net/core/dev.c:5304 [inline]
do_xdp_generic+0x757/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3ff23dadf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffe2ecb8d28 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3ff23dadf0
RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffe2ecb8e58 R09: 00007ffe2ecb8e58
R10: 00007ffe2ecb8e58 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffe2ecb8d60 R15: 00007ffe2ecb8d50
BUG: Bad page state in process syz-executor193 pfn:44323
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x44323
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e572000 0000000000000000
raw: 0000000000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 5318, tgid 5318 (syz-executor193), ts 67658048846, free_ts 67542162652
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551
prep_new_page mm/page_alloc.c:1559 [inline]
get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3477
__alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4740
__alloc_pages_noprof mm/page_alloc.c:4774 [inline]
alloc_pages_bulk_noprof+0x847/0xae0 mm/page_alloc.c:4694
alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline]
__page_pool_alloc_pages_slow+0x11f/0x690 net/core/page_pool.c:542
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+0xcc8/0x1720 net/core/skbuff.c:893
netif_skb_check_for_xdp net/core/dev.c:5259 [inline]
netif_receive_generic_xdp net/core/dev.c:5298 [inline]
do_xdp_generic+0x505/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5313 tgid 5313 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1127 [inline]
free_frozen_pages+0xe0d/0x10e0 mm/page_alloc.c:2660
discard_slab mm/slub.c:2707 [inline]
__put_partials+0x160/0x1c0 mm/slub.c:3176
put_cpu_partial+0x17c/0x250 mm/slub.c:3251
__slab_free+0x290/0x380 mm/slub.c:4503
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4138 [inline]
slab_alloc_node mm/slub.c:4187 [inline]
kmem_cache_alloc_noprof+0x1d9/0x380 mm/slub.c:4194
proc_reg_open+0x201/0x530 fs/proc/inode.c:502
do_dentry_open+0xdec/0x1960 fs/open.c:956
vfs_open+0x3b/0x370 fs/open.c:1086
do_open fs/namei.c:3845 [inline]
path_openat+0x2c9f/0x35b0 fs/namei.c:4004
do_filp_open+0x282/0x4e0 fs/namei.c:4031
do_sys_openat2+0x122/0x1c0 fs/open.c:1429
do_sys_open fs/open.c:1444 [inline]
__do_sys_openat fs/open.c:1460 [inline]
__se_sys_openat fs/open.c:1455 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1455
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
Modules linked in:
CPU: 0 UID: 0 PID: 5318 Comm: syz-executor193 Tainted: G B 6.14.0-syzkaller-00624-g2f2d52945852 #0
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
bad_page+0x176/0x1d0 mm/page_alloc.c:501
free_page_is_bad mm/page_alloc.c:923 [inline]
free_pages_prepare mm/page_alloc.c:1119 [inline]
free_frozen_pages+0x1082/0x10e0 mm/page_alloc.c:2660
bpf_xdp_shrink_data net/core/filter.c:4155 [inline]
bpf_xdp_frags_shrink_tail+0x3b3/0x780 net/core/filter.c:4175
____bpf_xdp_adjust_tail net/core/filter.c:4200 [inline]
bpf_xdp_adjust_tail+0x1c6/0x210 net/core/filter.c:4193
bpf_prog_f476d5219b92964a+0x1e/0x20
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run_xdp include/net/xdp.h:654 [inline]
bpf_prog_run_generic_xdp+0x686/0x1510 net/core/dev.c:5191
netif_receive_generic_xdp net/core/dev.c:5304 [inline]
do_xdp_generic+0x757/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3ff23dadf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffe2ecb8d28 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3ff23dadf0
RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffe2ecb8e58 R09: 00007ffe2ecb8e58
R10: 00007ffe2ecb8e58 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffe2ecb8d60 R15: 00007ffe2ecb8d50
BUG: Bad page state in process syz-executor193 pfn:44322
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x44322
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e572000 0000000000000000
raw: 0000000000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 5318, tgid 5318 (syz-executor193), ts 67658039064, free_ts 67542162652
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551
prep_new_page mm/page_alloc.c:1559 [inline]
get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3477
__alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4740
__alloc_pages_noprof mm/page_alloc.c:4774 [inline]
alloc_pages_bulk_noprof+0x847/0xae0 mm/page_alloc.c:4694
alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline]
__page_pool_alloc_pages_slow+0x11f/0x690 net/core/page_pool.c:542
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+0xcc8/0x1720 net/core/skbuff.c:893
netif_skb_check_for_xdp net/core/dev.c:5259 [inline]
netif_receive_generic_xdp net/core/dev.c:5298 [inline]
do_xdp_generic+0x505/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5313 tgid 5313 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1127 [inline]
free_frozen_pages+0xe0d/0x10e0 mm/page_alloc.c:2660
discard_slab mm/slub.c:2707 [inline]
__put_partials+0x160/0x1c0 mm/slub.c:3176
put_cpu_partial+0x17c/0x250 mm/slub.c:3251
__slab_free+0x290/0x380 mm/slub.c:4503
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4138 [inline]
slab_alloc_node mm/slub.c:4187 [inline]
kmem_cache_alloc_noprof+0x1d9/0x380 mm/slub.c:4194
proc_reg_open+0x201/0x530 fs/proc/inode.c:502
do_dentry_open+0xdec/0x1960 fs/open.c:956
vfs_open+0x3b/0x370 fs/open.c:1086
do_open fs/namei.c:3845 [inline]
path_openat+0x2c9f/0x35b0 fs/namei.c:4004
do_filp_open+0x282/0x4e0 fs/namei.c:4031
do_sys_openat2+0x122/0x1c0 fs/open.c:1429
do_sys_open fs/open.c:1444 [inline]
__do_sys_openat fs/open.c:1460 [inline]
__se_sys_openat fs/open.c:1455 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1455
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
Modules linked in:
CPU: 0 UID: 0 PID: 5318 Comm: syz-executor193 Tainted: G B 6.14.0-syzkaller-00624-g2f2d52945852 #0
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
bad_page+0x176/0x1d0 mm/page_alloc.c:501
free_page_is_bad mm/page_alloc.c:923 [inline]
free_pages_prepare mm/page_alloc.c:1119 [inline]
free_frozen_pages+0x1082/0x10e0 mm/page_alloc.c:2660
bpf_xdp_shrink_data net/core/filter.c:4155 [inline]
bpf_xdp_frags_shrink_tail+0x3b3/0x780 net/core/filter.c:4175
____bpf_xdp_adjust_tail net/core/filter.c:4200 [inline]
bpf_xdp_adjust_tail+0x1c6/0x210 net/core/filter.c:4193
bpf_prog_f476d5219b92964a+0x1e/0x20
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run_xdp include/net/xdp.h:654 [inline]
bpf_prog_run_generic_xdp+0x686/0x1510 net/core/dev.c:5191
netif_receive_generic_xdp net/core/dev.c:5304 [inline]
do_xdp_generic+0x757/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3ff23dadf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffe2ecb8d28 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3ff23dadf0
RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffe2ecb8e58 R09: 00007ffe2ecb8e58
R10: 00007ffe2ecb8e58 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffe2ecb8d60 R15: 00007ffe2ecb8d50
BUG: Bad page state in process syz-executor193 pfn:44321
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x8 pfn:0x44321
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e572000 0000000000000000
raw: 0000000000000008 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 5318, tgid 5318 (syz-executor193), ts 67658029396, free_ts 67542162652
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551
prep_new_page mm/page_alloc.c:1559 [inline]
get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3477
__alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4740
__alloc_pages_noprof mm/page_alloc.c:4774 [inline]
alloc_pages_bulk_noprof+0x847/0xae0 mm/page_alloc.c:4694
alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline]
__page_pool_alloc_pages_slow+0x11f/0x690 net/core/page_pool.c:542
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+0xcc8/0x1720 net/core/skbuff.c:893
netif_skb_check_for_xdp net/core/dev.c:5259 [inline]
netif_receive_generic_xdp net/core/dev.c:5298 [inline]
do_xdp_generic+0x505/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5313 tgid 5313 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1127 [inline]
free_frozen_pages+0xe0d/0x10e0 mm/page_alloc.c:2660
discard_slab mm/slub.c:2707 [inline]
__put_partials+0x160/0x1c0 mm/slub.c:3176
put_cpu_partial+0x17c/0x250 mm/slub.c:3251
__slab_free+0x290/0x380 mm/slub.c:4503
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4138 [inline]
slab_alloc_node mm/slub.c:4187 [inline]
kmem_cache_alloc_noprof+0x1d9/0x380 mm/slub.c:4194
proc_reg_open+0x201/0x530 fs/proc/inode.c:502
do_dentry_open+0xdec/0x1960 fs/open.c:956
vfs_open+0x3b/0x370 fs/open.c:1086
do_open fs/namei.c:3845 [inline]
path_openat+0x2c9f/0x35b0 fs/namei.c:4004
do_filp_open+0x282/0x4e0 fs/namei.c:4031
do_sys_openat2+0x122/0x1c0 fs/open.c:1429
do_sys_open fs/open.c:1444 [inline]
__do_sys_openat fs/open.c:1460 [inline]
__se_sys_openat fs/open.c:1455 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1455
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
Modules linked in:
CPU: 0 UID: 0 PID: 5318 Comm: syz-executor193 Tainted: G B 6.14.0-syzkaller-00624-g2f2d52945852 #0
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
bad_page+0x176/0x1d0 mm/page_alloc.c:501
free_page_is_bad mm/page_alloc.c:923 [inline]
free_pages_prepare mm/page_alloc.c:1119 [inline]
free_frozen_pages+0x1082/0x10e0 mm/page_alloc.c:2660
bpf_xdp_shrink_data net/core/filter.c:4155 [inline]
bpf_xdp_frags_shrink_tail+0x3b3/0x780 net/core/filter.c:4175
____bpf_xdp_adjust_tail net/core/filter.c:4200 [inline]
bpf_xdp_adjust_tail+0x1c6/0x210 net/core/filter.c:4193
bpf_prog_f476d5219b92964a+0x1e/0x20
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run_xdp include/net/xdp.h:654 [inline]
bpf_prog_run_generic_xdp+0x686/0x1510 net/core/dev.c:5191
netif_receive_generic_xdp net/core/dev.c:5304 [inline]
do_xdp_generic+0x757/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3ff23dadf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffe2ecb8d28 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3ff23dadf0
RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffe2ecb8e58 R09: 00007ffe2ecb8e58
R10: 00007ffe2ecb8e58 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffe2ecb8d60 R15: 00007ffe2ecb8d50
BUG: Bad page state in process syz-executor193 pfn:44320
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888044322000 pfn:0x44320
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e572000 0000000000000000
raw: ffff888044322000 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 5318, tgid 5318 (syz-executor193), ts 67658019999, free_ts 67542162652
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551
prep_new_page mm/page_alloc.c:1559 [inline]
get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3477
__alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4740
__alloc_pages_noprof mm/page_alloc.c:4774 [inline]
alloc_pages_bulk_noprof+0x847/0xae0 mm/page_alloc.c:4694
alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline]
__page_pool_alloc_pages_slow+0x11f/0x690 net/core/page_pool.c:542
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+0xcc8/0x1720 net/core/skbuff.c:893
netif_skb_check_for_xdp net/core/dev.c:5259 [inline]
netif_receive_generic_xdp net/core/dev.c:5298 [inline]
do_xdp_generic+0x505/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5313 tgid 5313 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1127 [inline]
free_frozen_pages+0xe0d/0x10e0 mm/page_alloc.c:2660
discard_slab mm/slub.c:2707 [inline]
__put_partials+0x160/0x1c0 mm/slub.c:3176
put_cpu_partial+0x17c/0x250 mm/slub.c:3251
__slab_free+0x290/0x380 mm/slub.c:4503
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4138 [inline]
slab_alloc_node mm/slub.c:4187 [inline]
kmem_cache_alloc_noprof+0x1d9/0x380 mm/slub.c:4194
proc_reg_open+0x201/0x530 fs/proc/inode.c:502
do_dentry_open+0xdec/0x1960 fs/open.c:956
vfs_open+0x3b/0x370 fs/open.c:1086
do_open fs/namei.c:3845 [inline]
path_openat+0x2c9f/0x35b0 fs/namei.c:4004
do_filp_open+0x282/0x4e0 fs/namei.c:4031
do_sys_openat2+0x122/0x1c0 fs/open.c:1429
do_sys_open fs/open.c:1444 [inline]
__do_sys_openat fs/open.c:1460 [inline]
__se_sys_openat fs/open.c:1455 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1455
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
Modules linked in:
CPU: 0 UID: 0 PID: 5318 Comm: syz-executor193 Tainted: G B 6.14.0-syzkaller-00624-g2f2d52945852 #0
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
bad_page+0x176/0x1d0 mm/page_alloc.c:501
free_page_is_bad mm/page_alloc.c:923 [inline]
free_pages_prepare mm/page_alloc.c:1119 [inline]
free_frozen_pages+0x1082/0x10e0 mm/page_alloc.c:2660
bpf_xdp_shrink_data net/core/filter.c:4155 [inline]
bpf_xdp_frags_shrink_tail+0x3b3/0x780 net/core/filter.c:4175
____bpf_xdp_adjust_tail net/core/filter.c:4200 [inline]
bpf_xdp_adjust_tail+0x1c6/0x210 net/core/filter.c:4193
bpf_prog_f476d5219b92964a+0x1e/0x20
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run_xdp include/net/xdp.h:654 [inline]
bpf_prog_run_generic_xdp+0x686/0x1510 net/core/dev.c:5191
netif_receive_generic_xdp net/core/dev.c:5304 [inline]
do_xdp_generic+0x757/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3ff23dadf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffe2ecb8d28 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3ff23dadf0
RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffe2ecb8e58 R09: 00007ffe2ecb8e58
R10: 00007ffe2ecb8e58 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffe2ecb8d60 R15: 00007ffe2ecb8d50
BUG: Bad page state in process syz-executor193 pfn:44857
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x44857
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e572000 0000000000000000
raw: 0000000000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 5318, tgid 5318 (syz-executor193), ts 67657991941, free_ts 63760645561
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551
prep_new_page mm/page_alloc.c:1559 [inline]
get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3477
__alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4740
__alloc_pages_noprof mm/page_alloc.c:4774 [inline]
alloc_pages_bulk_noprof+0x847/0xae0 mm/page_alloc.c:4694
alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline]
__page_pool_alloc_pages_slow+0x11f/0x690 net/core/page_pool.c:542
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+0xcc8/0x1720 net/core/skbuff.c:893
netif_skb_check_for_xdp net/core/dev.c:5259 [inline]
netif_receive_generic_xdp net/core/dev.c:5298 [inline]
do_xdp_generic+0x505/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5251 tgid 5251 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1127 [inline]
free_frozen_pages+0xe0d/0x10e0 mm/page_alloc.c:2660
skb_free_frag include/linux/skbuff.h:3445 [inline]
skb_free_head net/core/skbuff.c:1006 [inline]
skb_release_data+0x6dc/0x8a0 net/core/skbuff.c:1035
skb_release_all net/core/skbuff.c:1100 [inline]
kfree_skb_add_bulk net/core/skbuff.c:1173 [inline]
kfree_skb_list_reason+0x2ee/0x750 net/core/skbuff.c:1195
skb_release_data+0x5cc/0x8a0 net/core/skbuff.c:1033
skb_release_all net/core/skbuff.c:1100 [inline]
__napi_kfree_skb net/core/skbuff.c:1390 [inline]
kfree_skb_napi_cache net/core/skbuff.c:7025 [inline]
skb_attempt_defer_free+0x42f/0x5c0 net/core/skbuff.c:7047
tcp_eat_recv_skb net/ipv4/tcp.c:1527 [inline]
tcp_recvmsg_locked+0x2800/0x3a90 net/ipv4/tcp.c:2819
tcp_recvmsg+0x25d/0x920 net/ipv4/tcp.c:2865
inet_recvmsg+0x150/0x2d0 net/ipv4/af_inet.c:883
sock_recvmsg_nosec net/socket.c:1023 [inline]
sock_recvmsg+0x1ae/0x280 net/socket.c:1045
sock_read_iter+0x2c4/0x3d0 net/socket.c:1115
new_sync_read fs/read_write.c:489 [inline]
vfs_read+0x975/0xb40 fs/read_write.c:570
ksys_read+0x18f/0x2b0 fs/read_write.c:713
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 0 UID: 0 PID: 5318 Comm: syz-executor193 Tainted: G B 6.14.0-syzkaller-00624-g2f2d52945852 #0
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
bad_page+0x176/0x1d0 mm/page_alloc.c:501
free_page_is_bad mm/page_alloc.c:923 [inline]
free_pages_prepare mm/page_alloc.c:1119 [inline]
free_frozen_pages+0x1082/0x10e0 mm/page_alloc.c:2660
bpf_xdp_shrink_data net/core/filter.c:4155 [inline]
bpf_xdp_frags_shrink_tail+0x3b3/0x780 net/core/filter.c:4175
____bpf_xdp_adjust_tail net/core/filter.c:4200 [inline]
bpf_xdp_adjust_tail+0x1c6/0x210 net/core/filter.c:4193
bpf_prog_f476d5219b92964a+0x1e/0x20
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run_xdp include/net/xdp.h:654 [inline]
bpf_prog_run_generic_xdp+0x686/0x1510 net/core/dev.c:5191
netif_receive_generic_xdp net/core/dev.c:5304 [inline]
do_xdp_generic+0x757/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3ff23dadf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffe2ecb8d28 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3ff23dadf0
RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffe2ecb8e58 R09: 00007ffe2ecb8e58
R10: 00007ffe2ecb8e58 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffe2ecb8d60 R15: 00007ffe2ecb8d50
BUG: Bad page state in process syz-executor193 pfn:44856
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x44856
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e572000 0000000000000000
raw: 0000000000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 5318, tgid 5318 (syz-executor193), ts 67657982342, free_ts 63760645561
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551
prep_new_page mm/page_alloc.c:1559 [inline]
get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3477
__alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4740
__alloc_pages_noprof mm/page_alloc.c:4774 [inline]
alloc_pages_bulk_noprof+0x847/0xae0 mm/page_alloc.c:4694
alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline]
__page_pool_alloc_pages_slow+0x11f/0x690 net/core/page_pool.c:542
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+0xcc8/0x1720 net/core/skbuff.c:893
netif_skb_check_for_xdp net/core/dev.c:5259 [inline]
netif_receive_generic_xdp net/core/dev.c:5298 [inline]
do_xdp_generic+0x505/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5251 tgid 5251 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1127 [inline]
free_frozen_pages+0xe0d/0x10e0 mm/page_alloc.c:2660
skb_free_frag include/linux/skbuff.h:3445 [inline]
skb_free_head net/core/skbuff.c:1006 [inline]
skb_release_data+0x6dc/0x8a0 net/core/skbuff.c:1035
skb_release_all net/core/skbuff.c:1100 [inline]
kfree_skb_add_bulk net/core/skbuff.c:1173 [inline]
kfree_skb_list_reason+0x2ee/0x750 net/core/skbuff.c:1195
skb_release_data+0x5cc/0x8a0 net/core/skbuff.c:1033
skb_release_all net/core/skbuff.c:1100 [inline]
__napi_kfree_skb net/core/skbuff.c:1390 [inline]
kfree_skb_napi_cache net/core/skbuff.c:7025 [inline]
skb_attempt_defer_free+0x42f/0x5c0 net/core/skbuff.c:7047
tcp_eat_recv_skb net/ipv4/tcp.c:1527 [inline]
tcp_recvmsg_locked+0x2800/0x3a90 net/ipv4/tcp.c:2819
tcp_recvmsg+0x25d/0x920 net/ipv4/tcp.c:2865
inet_recvmsg+0x150/0x2d0 net/ipv4/af_inet.c:883
sock_recvmsg_nosec net/socket.c:1023 [inline]
sock_recvmsg+0x1ae/0x280 net/socket.c:1045
sock_read_iter+0x2c4/0x3d0 net/socket.c:1115
new_sync_read fs/read_write.c:489 [inline]
vfs_read+0x975/0xb40 fs/read_write.c:570
ksys_read+0x18f/0x2b0 fs/read_write.c:713
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 0 UID: 0 PID: 5318 Comm: syz-executor193 Tainted: G B 6.14.0-syzkaller-00624-g2f2d52945852 #0
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
bad_page+0x176/0x1d0 mm/page_alloc.c:501
free_page_is_bad mm/page_alloc.c:923 [inline]
free_pages_prepare mm/page_alloc.c:1119 [inline]
free_frozen_pages+0x1082/0x10e0 mm/page_alloc.c:2660
bpf_xdp_shrink_data net/core/filter.c:4155 [inline]
bpf_xdp_frags_shrink_tail+0x3b3/0x780 net/core/filter.c:4175
____bpf_xdp_adjust_tail net/core/filter.c:4200 [inline]
bpf_xdp_adjust_tail+0x1c6/0x210 net/core/filter.c:4193
bpf_prog_f476d5219b92964a+0x1e/0x20
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run_xdp include/net/xdp.h:654 [inline]
bpf_prog_run_generic_xdp+0x686/0x1510 net/core/dev.c:5191
netif_receive_generic_xdp net/core/dev.c:5304 [inline]
do_xdp_generic+0x757/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3ff23dadf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffe2ecb8d28 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3ff23dadf0
RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffe2ecb8e58 R09: 00007ffe2ecb8e58
R10: 00007ffe2ecb8e58 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffe2ecb8d60 R15: 00007ffe2ecb8d50
BUG: Bad page state in process syz-executor193 pfn:44855
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x44855
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e572000 0000000000000000
raw: 0000000000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 5318, tgid 5318 (syz-executor193), ts 67657972939, free_ts 63760645561
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551
prep_new_page mm/page_alloc.c:1559 [inline]
get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3477
__alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4740
__alloc_pages_noprof mm/page_alloc.c:4774 [inline]
alloc_pages_bulk_noprof+0x847/0xae0 mm/page_alloc.c:4694
alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline]
__page_pool_alloc_pages_slow+0x11f/0x690 net/core/page_pool.c:542
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+0xcc8/0x1720 net/core/skbuff.c:893
netif_skb_check_for_xdp net/core/dev.c:5259 [inline]
netif_receive_generic_xdp net/core/dev.c:5298 [inline]
do_xdp_generic+0x505/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5251 tgid 5251 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1127 [inline]
free_frozen_pages+0xe0d/0x10e0 mm/page_alloc.c:2660
skb_free_frag include/linux/skbuff.h:3445 [inline]
skb_free_head net/core/skbuff.c:1006 [inline]
skb_release_data+0x6dc/0x8a0 net/core/skbuff.c:1035
skb_release_all net/core/skbuff.c:1100 [inline]
kfree_skb_add_bulk net/core/skbuff.c:1173 [inline]
kfree_skb_list_reason+0x2ee/0x750 net/core/skbuff.c:1195
skb_release_data+0x5cc/0x8a0 net/core/skbuff.c:1033
skb_release_all net/core/skbuff.c:1100 [inline]
__napi_kfree_skb net/core/skbuff.c:1390 [inline]
kfree_skb_napi_cache net/core/skbuff.c:7025 [inline]
skb_attempt_defer_free+0x42f/0x5c0 net/core/skbuff.c:7047
tcp_eat_recv_skb net/ipv4/tcp.c:1527 [inline]
tcp_recvmsg_locked+0x2800/0x3a90 net/ipv4/tcp.c:2819
tcp_recvmsg+0x25d/0x920 net/ipv4/tcp.c:2865
inet_recvmsg+0x150/0x2d0 net/ipv4/af_inet.c:883
sock_recvmsg_nosec net/socket.c:1023 [inline]
sock_recvmsg+0x1ae/0x280 net/socket.c:1045
sock_read_iter+0x2c4/0x3d0 net/socket.c:1115
new_sync_read fs/read_write.c:489 [inline]
vfs_read+0x975/0xb40 fs/read_write.c:570
ksys_read+0x18f/0x2b0 fs/read_write.c:713
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 0 UID: 0 PID: 5318 Comm: syz-executor193 Tainted: G B 6.14.0-syzkaller-00624-g2f2d52945852 #0
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
bad_page+0x176/0x1d0 mm/page_alloc.c:501
free_page_is_bad mm/page_alloc.c:923 [inline]
free_pages_prepare mm/page_alloc.c:1119 [inline]
free_frozen_pages+0x1082/0x10e0 mm/page_alloc.c:2660
bpf_xdp_shrink_data net/core/filter.c:4155 [inline]
bpf_xdp_frags_shrink_tail+0x3b3/0x780 net/core/filter.c:4175
____bpf_xdp_adjust_tail net/core/filter.c:4200 [inline]
bpf_xdp_adjust_tail+0x1c6/0x210 net/core/filter.c:4193
bpf_prog_f476d5219b92964a+0x1e/0x20
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run_xdp include/net/xdp.h:654 [inline]
bpf_prog_run_generic_xdp+0x686/0x1510 net/core/dev.c:5191
netif_receive_generic_xdp net/core/dev.c:5304 [inline]
do_xdp_generic+0x757/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3ff23dadf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffe2ecb8d28 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3ff23dadf0
RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffe2ecb8e58 R09: 00007ffe2ecb8e58
R10: 00007ffe2ecb8e58 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffe2ecb8d60 R15: 00007ffe2ecb8d50
BUG: Bad page state in process syz-executor193 pfn:44854
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x44854
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e572000 0000000000000000
raw: 0000000000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 5318, tgid 5318 (syz-executor193), ts 67657952044, free_ts 63760645561
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551
prep_new_page mm/page_alloc.c:1559 [inline]
get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3477
__alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4740
__alloc_pages_noprof mm/page_alloc.c:4774 [inline]
alloc_pages_bulk_noprof+0x847/0xae0 mm/page_alloc.c:4694
alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline]
__page_pool_alloc_pages_slow+0x11f/0x690 net/core/page_pool.c:542
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+0xcc8/0x1720 net/core/skbuff.c:893
netif_skb_check_for_xdp net/core/dev.c:5259 [inline]
netif_receive_generic_xdp net/core/dev.c:5298 [inline]
do_xdp_generic+0x505/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5251 tgid 5251 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1127 [inline]
free_frozen_pages+0xe0d/0x10e0 mm/page_alloc.c:2660
skb_free_frag include/linux/skbuff.h:3445 [inline]
skb_free_head net/core/skbuff.c:1006 [inline]
skb_release_data+0x6dc/0x8a0 net/core/skbuff.c:1035
skb_release_all net/core/skbuff.c:1100 [inline]
kfree_skb_add_bulk net/core/skbuff.c:1173 [inline]
kfree_skb_list_reason+0x2ee/0x750 net/core/skbuff.c:1195
skb_release_data+0x5cc/0x8a0 net/core/skbuff.c:1033
skb_release_all net/core/skbuff.c:1100 [inline]
__napi_kfree_skb net/core/skbuff.c:1390 [inline]
kfree_skb_napi_cache net/core/skbuff.c:7025 [inline]
skb_attempt_defer_free+0x42f/0x5c0 net/core/skbuff.c:7047
tcp_eat_recv_skb net/ipv4/tcp.c:1527 [inline]
tcp_recvmsg_locked+0x2800/0x3a90 net/ipv4/tcp.c:2819
tcp_recvmsg+0x25d/0x920 net/ipv4/tcp.c:2865
inet_recvmsg+0x150/0x2d0 net/ipv4/af_inet.c:883
sock_recvmsg_nosec net/socket.c:1023 [inline]
sock_recvmsg+0x1ae/0x280 net/socket.c:1045
sock_read_iter+0x2c4/0x3d0 net/socket.c:1115
new_sync_read fs/read_write.c:489 [inline]
vfs_read+0x975/0xb40 fs/read_write.c:570
ksys_read+0x18f/0x2b0 fs/read_write.c:713
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 0 UID: 0 PID: 5318 Comm: syz-executor193 Tainted: G B 6.14.0-syzkaller-00624-g2f2d52945852 #0
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
bad_page+0x176/0x1d0 mm/page_alloc.c:501
free_page_is_bad mm/page_alloc.c:923 [inline]
free_pages_prepare mm/page_alloc.c:1119 [inline]
free_frozen_pages+0x1082/0x10e0 mm/page_alloc.c:2660
bpf_xdp_shrink_data net/core/filter.c:4155 [inline]
bpf_xdp_frags_shrink_tail+0x3b3/0x780 net/core/filter.c:4175
____bpf_xdp_adjust_tail net/core/filter.c:4200 [inline]
bpf_xdp_adjust_tail+0x1c6/0x210 net/core/filter.c:4193
bpf_prog_f476d5219b92964a+0x1e/0x20
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run_xdp include/net/xdp.h:654 [inline]
bpf_prog_run_generic_xdp+0x686/0x1510 net/core/dev.c:5191
netif_receive_generic_xdp net/core/dev.c:5304 [inline]
do_xdp_generic+0x757/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3ff23dadf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffe2ecb8d28 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3ff23dadf0
RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffe2ecb8e58 R09: 00007ffe2ecb8e58
R10: 00007ffe2ecb8e58 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffe2ecb8d60 R15: 00007ffe2ecb8d50
BUG: Bad page state in process syz-executor193 pfn:44853
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x44853
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
raw: 04fff00000000000 dead000000000040 ffff88801e572000 0000000000000000
raw: 0000000000000000 0000000000000001 00000000ffffffff 0000000000000000
page dumped because: page_pool leak
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 5318, tgid 5318 (syz-executor193), ts 67657942907, free_ts 63760645561
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551
prep_new_page mm/page_alloc.c:1559 [inline]
get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3477
__alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4740
__alloc_pages_noprof mm/page_alloc.c:4774 [inline]
alloc_pages_bulk_noprof+0x847/0xae0 mm/page_alloc.c:4694
alloc_pages_bulk_node_noprof include/linux/gfp.h:235 [inline]
__page_pool_alloc_pages_slow+0x11f/0x690 net/core/page_pool.c:542
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+0xcc8/0x1720 net/core/skbuff.c:893
netif_skb_check_for_xdp net/core/dev.c:5259 [inline]
netif_receive_generic_xdp net/core/dev.c:5298 [inline]
do_xdp_generic+0x505/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5251 tgid 5251 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1127 [inline]
free_frozen_pages+0xe0d/0x10e0 mm/page_alloc.c:2660
skb_free_frag include/linux/skbuff.h:3445 [inline]
skb_free_head net/core/skbuff.c:1006 [inline]
skb_release_data+0x6dc/0x8a0 net/core/skbuff.c:1035
skb_release_all net/core/skbuff.c:1100 [inline]
kfree_skb_add_bulk net/core/skbuff.c:1173 [inline]
kfree_skb_list_reason+0x2ee/0x750 net/core/skbuff.c:1195
skb_release_data+0x5cc/0x8a0 net/core/skbuff.c:1033
skb_release_all net/core/skbuff.c:1100 [inline]
__napi_kfree_skb net/core/skbuff.c:1390 [inline]
kfree_skb_napi_cache net/core/skbuff.c:7025 [inline]
skb_attempt_defer_free+0x42f/0x5c0 net/core/skbuff.c:7047
tcp_eat_recv_skb net/ipv4/tcp.c:1527 [inline]
tcp_recvmsg_locked+0x2800/0x3a90 net/ipv4/tcp.c:2819
tcp_recvmsg+0x25d/0x920 net/ipv4/tcp.c:2865
inet_recvmsg+0x150/0x2d0 net/ipv4/af_inet.c:883
sock_recvmsg_nosec net/socket.c:1023 [inline]
sock_recvmsg+0x1ae/0x280 net/socket.c:1045
sock_read_iter+0x2c4/0x3d0 net/socket.c:1115
new_sync_read fs/read_write.c:489 [inline]
vfs_read+0x975/0xb40 fs/read_write.c:570
ksys_read+0x18f/0x2b0 fs/read_write.c:713
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 0 UID: 0 PID: 5318 Comm: syz-executor193 Tainted: G B 6.14.0-syzkaller-00624-g2f2d52945852 #0
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
bad_page+0x176/0x1d0 mm/page_alloc.c:501
free_page_is_bad mm/page_alloc.c:923 [inline]
free_pages_prepare mm/page_alloc.c:1119 [inline]
free_frozen_pages+0x1082/0x10e0 mm/page_alloc.c:2660
bpf_xdp_shrink_data net/core/filter.c:4155 [inline]
bpf_xdp_frags_shrink_tail+0x3b3/0x780 net/core/filter.c:4175
____bpf_xdp_adjust_tail net/core/filter.c:4200 [inline]
bpf_xdp_adjust_tail+0x1c6/0x210 net/core/filter.c:4193
bpf_prog_f476d5219b92964a+0x1e/0x20
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run_xdp include/net/xdp.h:654 [inline]
bpf_prog_run_generic_xdp+0x686/0x1510 net/core/dev.c:5191
netif_receive_generic_xdp net/core/dev.c:5304 [inline]
do_xdp_generic+0x757/0xd30 net/core/dev.c:5366
tun_get_user+0x2a4b/0x4860 drivers/net/tun.c:1929
tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xacf/0xd10 fs/read_write.c:684
ksys_write+0x18f/0x2b0 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3ff23dadf0
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffe2ecb8d28 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3ff23dadf0
RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 00007ffe2ecb8e58 R09: 00007ffe2ecb8e58
R10: 00007ffe2ecb8e58 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffe2ecb8d60 R15: 00007ffe2ecb8d50