BUG: Bad page state in process syz.2.541 pfn:37b68
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x37b68
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546906737, free_ts 281358283770
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 940 tgid 940 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_page+0xd22/0xea0 mm/page_alloc.c:2612
kasan_depopulate_vmalloc_pte+0x74/0x90 mm/kasan/shadow.c:408
apply_to_pte_range mm/memory.c:2797 [inline]
apply_to_pmd_range mm/memory.c:2841 [inline]
apply_to_pud_range mm/memory.c:2877 [inline]
apply_to_p4d_range mm/memory.c:2913 [inline]
__apply_to_page_range+0x8a8/0xe50 mm/memory.c:2947
kasan_release_vmalloc+0x9a/0xb0 mm/kasan/shadow.c:525
purge_vmap_node+0x3e3/0x770 mm/vmalloc.c:2208
__purge_vmap_area_lazy+0x708/0xae0 mm/vmalloc.c:2290
drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2324
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
CPU: 1 UID: 0 PID: 8107 Comm: syz.2.541 Not tainted 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:37b6b
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x37b6b
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546889473, free_ts 281358298483
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 940 tgid 940 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_page+0xd22/0xea0 mm/page_alloc.c:2612
kasan_depopulate_vmalloc_pte+0x74/0x90 mm/kasan/shadow.c:408
apply_to_pte_range mm/memory.c:2797 [inline]
apply_to_pmd_range mm/memory.c:2841 [inline]
apply_to_pud_range mm/memory.c:2877 [inline]
apply_to_p4d_range mm/memory.c:2913 [inline]
__apply_to_page_range+0x8a8/0xe50 mm/memory.c:2947
kasan_release_vmalloc+0x9a/0xb0 mm/kasan/shadow.c:525
purge_vmap_node+0x3e3/0x770 mm/vmalloc.c:2208
__purge_vmap_area_lazy+0x708/0xae0 mm/vmalloc.c:2290
drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2324
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
CPU: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:37c39
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x37c39
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546866986, free_ts 281359925664
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 940 tgid 940 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_page+0xd22/0xea0 mm/page_alloc.c:2612
kasan_depopulate_vmalloc_pte+0x74/0x90 mm/kasan/shadow.c:408
apply_to_pte_range mm/memory.c:2797 [inline]
apply_to_pmd_range mm/memory.c:2841 [inline]
apply_to_pud_range mm/memory.c:2877 [inline]
apply_to_p4d_range mm/memory.c:2913 [inline]
__apply_to_page_range+0x8a8/0xe50 mm/memory.c:2947
kasan_release_vmalloc+0x9a/0xb0 mm/kasan/shadow.c:525
purge_vmap_node+0x3e3/0x770 mm/vmalloc.c:2208
__purge_vmap_area_lazy+0x708/0xae0 mm/vmalloc.c:2290
drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2324
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
CPU: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:7656c
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x7f7ccd133 pfn:0x7656c
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 0000000000000000
raw: 00000007f7ccd133 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546850387, free_ts 281362143914
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 940 tgid 940 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_page+0xd22/0xea0 mm/page_alloc.c:2612
kasan_depopulate_vmalloc_pte+0x74/0x90 mm/kasan/shadow.c:408
apply_to_pte_range mm/memory.c:2797 [inline]
apply_to_pmd_range mm/memory.c:2841 [inline]
apply_to_pud_range mm/memory.c:2877 [inline]
apply_to_p4d_range mm/memory.c:2913 [inline]
__apply_to_page_range+0x8a8/0xe50 mm/memory.c:2947
kasan_release_vmalloc+0x9a/0xb0 mm/kasan/shadow.c:525
purge_vmap_node+0x3e3/0x770 mm/vmalloc.c:2208
__purge_vmap_area_lazy+0x708/0xae0 mm/vmalloc.c:2290
drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2324
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
CPU: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:6a231
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88806a2312e8 pfn:0x6a231
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 0000000000000000
raw: ffff88806a2312e8 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546833221, free_ts 281365186102
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 940 tgid 940 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_page+0xd22/0xea0 mm/page_alloc.c:2612
kasan_depopulate_vmalloc_pte+0x74/0x90 mm/kasan/shadow.c:408
apply_to_pte_range mm/memory.c:2797 [inline]
apply_to_pmd_range mm/memory.c:2841 [inline]
apply_to_pud_range mm/memory.c:2877 [inline]
apply_to_p4d_range mm/memory.c:2913 [inline]
__apply_to_page_range+0x8a8/0xe50 mm/memory.c:2947
kasan_release_vmalloc+0x9a/0xb0 mm/kasan/shadow.c:525
purge_vmap_node+0x3e3/0x770 mm/vmalloc.c:2208
__purge_vmap_area_lazy+0x708/0xae0 mm/vmalloc.c:2290
drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2324
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
CPU: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:37d21
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x37d21
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546816878, free_ts 281365246619
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 940 tgid 940 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_page+0xd22/0xea0 mm/page_alloc.c:2612
kasan_depopulate_vmalloc_pte+0x74/0x90 mm/kasan/shadow.c:408
apply_to_pte_range mm/memory.c:2797 [inline]
apply_to_pmd_range mm/memory.c:2841 [inline]
apply_to_pud_range mm/memory.c:2877 [inline]
apply_to_p4d_range mm/memory.c:2913 [inline]
__apply_to_page_range+0x8a8/0xe50 mm/memory.c:2947
kasan_release_vmalloc+0x9a/0xb0 mm/kasan/shadow.c:525
purge_vmap_node+0x3e3/0x770 mm/vmalloc.c:2208
__purge_vmap_area_lazy+0x708/0xae0 mm/vmalloc.c:2290
drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2324
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
CPU: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:68cd7
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888068cd7dc0 pfn:0x68cd7
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 0000000000000000
raw: ffff888068cd7dc0 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546780103, free_ts 280907336635
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 940 tgid 940 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_page+0xd22/0xea0 mm/page_alloc.c:2612
kasan_depopulate_vmalloc_pte+0x74/0x90 mm/kasan/shadow.c:408
apply_to_pte_range mm/memory.c:2797 [inline]
apply_to_pmd_range mm/memory.c:2841 [inline]
apply_to_pud_range mm/memory.c:2877 [inline]
apply_to_p4d_range mm/memory.c:2913 [inline]
__apply_to_page_range+0x8a8/0xe50 mm/memory.c:2947
kasan_release_vmalloc+0x9a/0xb0 mm/kasan/shadow.c:525
purge_vmap_node+0x3e3/0x770 mm/vmalloc.c:2208
__purge_vmap_area_lazy+0x708/0xae0 mm/vmalloc.c:2290
drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2324
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
CPU: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:24813
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888024813e58 pfn:0x24813
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 0000000000000000
raw: ffff888024813e58 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546763431, free_ts 280912513081
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 8099 tgid 8099 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_folios+0x103a/0x1b00 mm/page_alloc.c:2660
folios_put_refs+0x76e/0x860 mm/swap.c:1039
free_pages_and_swap_cache+0x2ea/0x690 mm/swap_state.c:332
__tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline]
tlb_batch_pages_flush mm/mmu_gather.c:149 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:366 [inline]
tlb_flush_mmu+0x3a3/0x680 mm/mmu_gather.c:373
tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:465
exit_mmap+0x44f/0xc80 mm/mmap.c:3425
__mmput+0x115/0x390 kernel/fork.c:1345
exec_mmap+0x680/0x710 fs/exec.c:1089
begin_new_exec+0x12c6/0x2050 fs/exec.c:1355
load_elf_binary+0x969/0x2680 fs/binfmt_elf.c:996
search_binary_handler fs/exec.c:1827 [inline]
exec_binprm fs/exec.c:1869 [inline]
bprm_execve+0xaf8/0x1770 fs/exec.c:1920
do_execveat_common+0x55f/0x6f0 fs/exec.c:2027
do_execve fs/exec.c:2101 [inline]
__do_sys_execve fs/exec.c:2177 [inline]
__se_sys_execve fs/exec.c:2172 [inline]
__x64_sys_execve+0x92/0xb0 fs/exec.c:2172
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: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:6adec
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88806adecee0 pfn:0x6adec
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 0000000000000000
raw: ffff88806adecee0 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546746145, free_ts 280912526935
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 8099 tgid 8099 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_folios+0x103a/0x1b00 mm/page_alloc.c:2660
folios_put_refs+0x76e/0x860 mm/swap.c:1039
free_pages_and_swap_cache+0x2ea/0x690 mm/swap_state.c:332
__tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline]
tlb_batch_pages_flush mm/mmu_gather.c:149 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:366 [inline]
tlb_flush_mmu+0x3a3/0x680 mm/mmu_gather.c:373
tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:465
exit_mmap+0x44f/0xc80 mm/mmap.c:3425
__mmput+0x115/0x390 kernel/fork.c:1345
exec_mmap+0x680/0x710 fs/exec.c:1089
begin_new_exec+0x12c6/0x2050 fs/exec.c:1355
load_elf_binary+0x969/0x2680 fs/binfmt_elf.c:996
search_binary_handler fs/exec.c:1827 [inline]
exec_binprm fs/exec.c:1869 [inline]
bprm_execve+0xaf8/0x1770 fs/exec.c:1920
do_execveat_common+0x55f/0x6f0 fs/exec.c:2027
do_execve fs/exec.c:2101 [inline]
__do_sys_execve fs/exec.c:2177 [inline]
__se_sys_execve fs/exec.c:2172 [inline]
__x64_sys_execve+0x92/0xb0 fs/exec.c:2172
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: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:7f209
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807f209e58 pfn:0x7f209
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 0000000000000000
raw: ffff88807f209e58 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546728998, free_ts 280912557115
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 8099 tgid 8099 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_folios+0x103a/0x1b00 mm/page_alloc.c:2660
folios_put_refs+0x76e/0x860 mm/swap.c:1039
free_pages_and_swap_cache+0x2ea/0x690 mm/swap_state.c:332
__tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline]
tlb_batch_pages_flush mm/mmu_gather.c:149 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:366 [inline]
tlb_flush_mmu+0x3a3/0x680 mm/mmu_gather.c:373
tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:465
exit_mmap+0x44f/0xc80 mm/mmap.c:3425
__mmput+0x115/0x390 kernel/fork.c:1345
exec_mmap+0x680/0x710 fs/exec.c:1089
begin_new_exec+0x12c6/0x2050 fs/exec.c:1355
load_elf_binary+0x969/0x2680 fs/binfmt_elf.c:996
search_binary_handler fs/exec.c:1827 [inline]
exec_binprm fs/exec.c:1869 [inline]
bprm_execve+0xaf8/0x1770 fs/exec.c:1920
do_execveat_common+0x55f/0x6f0 fs/exec.c:2027
do_execve fs/exec.c:2101 [inline]
__do_sys_execve fs/exec.c:2177 [inline]
__se_sys_execve fs/exec.c:2172 [inline]
__x64_sys_execve+0x92/0xb0 fs/exec.c:2172
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: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:785a6
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880785a6e58 pfn:0x785a6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 0000000000000000
raw: ffff8880785a6e58 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546711808, free_ts 280782463763
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 8095 tgid 8095 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_folios+0x103a/0x1b00 mm/page_alloc.c:2660
folios_put_refs+0x76e/0x860 mm/swap.c:1039
free_pages_and_swap_cache+0x5c8/0x690 mm/swap_state.c:335
__tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline]
tlb_batch_pages_flush mm/mmu_gather.c:149 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:366 [inline]
tlb_flush_mmu+0x3a3/0x680 mm/mmu_gather.c:373
tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:465
exit_mmap+0x44f/0xc80 mm/mmap.c:3425
__mmput+0x115/0x390 kernel/fork.c:1345
exit_mm+0x220/0x310 kernel/exit.c:571
do_exit+0x9b2/0x27f0 kernel/exit.c:869
do_group_exit+0x207/0x2c0 kernel/exit.c:1031
__do_sys_exit_group kernel/exit.c:1042 [inline]
__se_sys_exit_group kernel/exit.c:1040 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1040
x64_sys_call+0x2634/0x2640 arch/x86/include/generated/asm/syscalls_64.h:232
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: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:65288
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x65288
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546694792, free_ts 280782480006
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 8095 tgid 8095 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_folios+0x103a/0x1b00 mm/page_alloc.c:2660
folios_put_refs+0x76e/0x860 mm/swap.c:1039
free_pages_and_swap_cache+0x5c8/0x690 mm/swap_state.c:335
__tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline]
tlb_batch_pages_flush mm/mmu_gather.c:149 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:366 [inline]
tlb_flush_mmu+0x3a3/0x680 mm/mmu_gather.c:373
tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:465
exit_mmap+0x44f/0xc80 mm/mmap.c:3425
__mmput+0x115/0x390 kernel/fork.c:1345
exit_mm+0x220/0x310 kernel/exit.c:571
do_exit+0x9b2/0x27f0 kernel/exit.c:869
do_group_exit+0x207/0x2c0 kernel/exit.c:1031
__do_sys_exit_group kernel/exit.c:1042 [inline]
__se_sys_exit_group kernel/exit.c:1040 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1040
x64_sys_call+0x2634/0x2640 arch/x86/include/generated/asm/syscalls_64.h:232
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: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:6be9d
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88806be9dee0 pfn:0x6be9d
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 0000000000000000
raw: ffff88806be9dee0 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546677887, free_ts 280782495732
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 8095 tgid 8095 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_folios+0x103a/0x1b00 mm/page_alloc.c:2660
folios_put_refs+0x76e/0x860 mm/swap.c:1039
free_pages_and_swap_cache+0x5c8/0x690 mm/swap_state.c:335
__tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline]
tlb_batch_pages_flush mm/mmu_gather.c:149 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:366 [inline]
tlb_flush_mmu+0x3a3/0x680 mm/mmu_gather.c:373
tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:465
exit_mmap+0x44f/0xc80 mm/mmap.c:3425
__mmput+0x115/0x390 kernel/fork.c:1345
exit_mm+0x220/0x310 kernel/exit.c:571
do_exit+0x9b2/0x27f0 kernel/exit.c:869
do_group_exit+0x207/0x2c0 kernel/exit.c:1031
__do_sys_exit_group kernel/exit.c:1042 [inline]
__se_sys_exit_group kernel/exit.c:1040 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1040
x64_sys_call+0x2634/0x2640 arch/x86/include/generated/asm/syscalls_64.h:232
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: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:2e9c7
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802e9c7690 pfn:0x2e9c7
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 0000000000000000
raw: ffff88802e9c7690 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546660682, free_ts 280832925172
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 5281 tgid 5281 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_page+0xd22/0xea0 mm/page_alloc.c:2612
vfree+0x186/0x2e0 mm/vmalloc.c:3364
delayed_vfree_work+0x56/0x80 mm/vmalloc.c:3285
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
CPU: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:7d928
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807d928f00 pfn:0x7d928
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 0000000000000000
raw: ffff88807d928f00 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546643808, free_ts 280832937845
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 5281 tgid 5281 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_page+0xd22/0xea0 mm/page_alloc.c:2612
vfree+0x186/0x2e0 mm/vmalloc.c:3364
delayed_vfree_work+0x56/0x80 mm/vmalloc.c:3285
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
CPU: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:2e82a
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802e82a000 pfn:0x2e82a
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 0000000000000000
raw: ffff88802e82a000 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546626672, free_ts 280832951176
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 5281 tgid 5281 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_page+0xd22/0xea0 mm/page_alloc.c:2612
vfree+0x186/0x2e0 mm/vmalloc.c:3364
delayed_vfree_work+0x56/0x80 mm/vmalloc.c:3285
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
CPU: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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:0x7fdcec17def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceceb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdcec336208 RCX: 00007fdcec17def9
RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a
RBP: 00007fdcec1f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdcec336208 R15: 00007ffeec2cb0a8
BUG: Bad page state in process syz.2.541 pfn:2a90f
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802a90ff00 pfn:0x2a90f
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 dead000000000040 ffff8880222e1000 0000000000000000
raw: ffff88802a90ff00 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8107, tgid 8102 (syz.2.541), ts 281546610462, free_ts 280832963848
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695
alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4643
alloc_pages_bulk_array_node_noprof include/linux/gfp.h:239 [inline]
__page_pool_alloc_pages_slow+0x138/0x690 net/core/page_pool.c:527
page_pool_alloc_netmem net/core/page_pool.c:576 [inline]
page_pool_alloc_pages+0xcb/0x150 net/core/page_pool.c:583
page_pool_dev_alloc_pages include/net/page_pool/helpers.h:96 [inline]
xdp_test_run_batch net/bpf/test_run.c:305 [inline]
bpf_test_run_xdp_live+0x939/0x2110 net/bpf/test_run.c:389
bpf_prog_test_run_xdp+0x80e/0x11b0 net/bpf/test_run.c:1317
bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4320
__sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5735
__do_sys_bpf kernel/bpf/syscall.c:5824 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5822 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5822
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 5281 tgid 5281 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1094 [inline]
free_unref_page+0xd22/0xea0 mm/page_alloc.c:2612
vfree+0x186/0x2e0 mm/vmalloc.c:3364
delayed_vfree_work+0x56/0x80 mm/vmalloc.c:3285
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
CPU: 1 UID: 0 PID: 8107 Comm: syz.2.541 Tainted: G B 6.11.0-rc4-syzkaller-00326-g5277d130947b #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
bad_page+0x18e/0x200 mm/page_alloc.c:498
free_page_is_bad mm/page_alloc.c:915 [inline]
free_pages_prepare mm/page_alloc.c:1086 [inline]
free_unref_page+0xe47/0xea0 mm/page_alloc.c:2612
skb_free_frag include/linux/skbuff.h:3383 [inline]
skb_free_head net/core/skbuff.c:1094 [inline]
skb_release_data+0x6b2/0x880 net/core/skbuff.c:1123
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1202 [inline]
sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
kfree_skb_reason include/linux/skbuff.h:1260 [inline]
__netif_receive_skb_core+0x3edd/0x4570 net/core/dev.c:5635
__netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
__netif_receive_skb_list net/core/dev.c:5804 [inline]
netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
netif_receive_skb_list+0x55/0x4b0 net/core/dev.c:5948
xdp_recv_frames net/bpf/test_run.c:279 [inline]
xdp_test_run_batch net/bpf/test_run.c:360 [inline]
bpf_test_run_xdp_live+0x1af6/0x2110 net/bpf/test_run.c:389