BUG: Bad page state in process syz.3.584 pfn:7071f page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x7f467f1e8 pfn:0x7071f flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 0000000000000000 raw: 00000007f467f1e8 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 8978, tgid 8974 (syz.3.584), ts 360393802361, free_ts 357078876492 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 8932 tgid 8930 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2619 vfree+0x186/0x2e0 mm/vmalloc.c:3367 bpf_check+0x7daa/0x19630 kernel/bpf/verifier.c:21806 bpf_prog_load+0x1667/0x20f0 kernel/bpf/syscall.c:2908 __sys_bpf+0x4ee/0x810 kernel/bpf/syscall.c:5710 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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: 8978 Comm: syz.3.584 Not tainted 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:7071e page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x7f467f1e7 pfn:0x7071e flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 0000000000000000 raw: 00000007f467f1e7 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 8978, tgid 8974 (syz.3.584), ts 360393492579, free_ts 357078068482 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 5293 tgid 5293 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2619 vfree+0x186/0x2e0 mm/vmalloc.c:3367 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd10 kernel/workqueue.c:3389 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: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:688fd page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880688fd8c0 pfn:0x688fd flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 0000000000000000 raw: ffff8880688fd8c0 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 8978, tgid 8974 (syz.3.584), ts 360393230968, free_ts 357118728692 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 5293 tgid 5293 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2619 vfree+0x186/0x2e0 mm/vmalloc.c:3367 delayed_vfree_work+0x56/0x80 mm/vmalloc.c:3288 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd10 kernel/workqueue.c:3389 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: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:688fc page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880688fcf00 pfn:0x688fc flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 0000000000000000 raw: ffff8880688fcf00 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 8978, tgid 8974 (syz.3.584), ts 360392992019, free_ts 356636585582 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 8908 tgid 8908 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_folios+0x103a/0x1b00 mm/page_alloc.c:2667 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: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:5dbb3 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2 pfn:0x5dbb3 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 0000000000000000 raw: 0000000000000002 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 8978, tgid 8974 (syz.3.584), ts 360392753229, free_ts 357332605322 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 6704 tgid 6704 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2619 discard_slab mm/slub.c:2587 [inline] __put_partials+0xeb/0x130 mm/slub.c:3055 put_cpu_partial+0x17c/0x250 mm/slub.c:3130 __slab_free+0x2ea/0x3d0 mm/slub.c:4347 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9e/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:322 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3992 [inline] slab_alloc_node mm/slub.c:4041 [inline] __do_kmalloc_node mm/slub.c:4161 [inline] __kmalloc_noprof+0x1a6/0x400 mm/slub.c:4174 kmalloc_noprof include/linux/slab.h:685 [inline] tomoyo_realpath_from_path+0xcf/0x5e0 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x2b7/0x740 security/tomoyo/file.c:822 security_inode_getattr+0xd8/0x130 security/security.c:2269 vfs_getattr+0x45/0x430 fs/stat.c:204 vfs_fstat fs/stat.c:229 [inline] vfs_fstatat+0xe4/0x190 fs/stat.c:338 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat fs/stat.c:499 [inline] __x64_sys_newfstatat+0x11d/0x1a0 fs/stat.c:499 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: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:5dbb2 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805dbb2000 pfn:0x5dbb2 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 0000000000000000 raw: ffff88805dbb2000 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 8978, tgid 8974 (syz.3.584), ts 360392468226, free_ts 357332605322 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 6704 tgid 6704 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2619 discard_slab mm/slub.c:2587 [inline] __put_partials+0xeb/0x130 mm/slub.c:3055 put_cpu_partial+0x17c/0x250 mm/slub.c:3130 __slab_free+0x2ea/0x3d0 mm/slub.c:4347 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9e/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:322 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3992 [inline] slab_alloc_node mm/slub.c:4041 [inline] __do_kmalloc_node mm/slub.c:4161 [inline] __kmalloc_noprof+0x1a6/0x400 mm/slub.c:4174 kmalloc_noprof include/linux/slab.h:685 [inline] tomoyo_realpath_from_path+0xcf/0x5e0 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x2b7/0x740 security/tomoyo/file.c:822 security_inode_getattr+0xd8/0x130 security/security.c:2269 vfs_getattr+0x45/0x430 fs/stat.c:204 vfs_fstat fs/stat.c:229 [inline] vfs_fstatat+0xe4/0x190 fs/stat.c:338 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat fs/stat.c:499 [inline] __x64_sys_newfstatat+0x11d/0x1a0 fs/stat.c:499 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: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:12ad9 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x8 pfn:0x12ad9 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 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 0x102820(GFP_ATOMIC|__GFP_NOWARN|__GFP_HARDWALL), pid 8978, tgid 8974 (syz.3.584), ts 360392229736, free_ts 356636450989 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 8908 tgid 8908 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_folios+0x103a/0x1b00 mm/page_alloc.c:2667 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: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:12ad8 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888012ade600 pfn:0x12ad8 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 0000000000000000 raw: ffff888012ade600 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 8978, tgid 8974 (syz.3.584), ts 360392013048, free_ts 356985803089 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 8921 tgid 8918 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_folios+0x103a/0x1b00 mm/page_alloc.c:2667 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 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 get_signal+0x16a1/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 1 UID: 0 PID: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:1251b page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88801251bb40 pfn:0x1251b flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 0000000000000000 raw: ffff88801251bb40 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 8978, tgid 8974 (syz.3.584), ts 360391775185, free_ts 358732145061 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 8945 tgid 8944 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_folios+0x103a/0x1b00 mm/page_alloc.c:2667 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 get_signal+0x16a1/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 1 UID: 0 PID: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:1251a page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88801251a780 pfn:0x1251a flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 0000000000000000 raw: ffff88801251a780 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 8978, tgid 8974 (syz.3.584), ts 360391513528, free_ts 358732079992 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 8945 tgid 8944 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_folios+0x103a/0x1b00 mm/page_alloc.c:2667 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 get_signal+0x16a1/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 1 UID: 0 PID: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:32709 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2 pfn:0x32709 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 0000000000000000 raw: 0000000000000002 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 8978, tgid 8974 (syz.3.584), ts 360391297140, free_ts 358734459157 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 8945 tgid 8944 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2619 mm_free_pgd kernel/fork.c:802 [inline] __mmdrop+0xb9/0x3d0 kernel/fork.c:918 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 get_signal+0x16a1/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 1 UID: 0 PID: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:32708 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88806afdb900 pfn:0x32708 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 0000000000000000 raw: ffff88806afdb900 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 8978, tgid 8974 (syz.3.584), ts 360391035658, free_ts 358734459157 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 8945 tgid 8944 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2619 mm_free_pgd kernel/fork.c:802 [inline] __mmdrop+0xb9/0x3d0 kernel/fork.c:918 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 get_signal+0x16a1/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 1 UID: 0 PID: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:677c7 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x677c7 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 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 8978, tgid 8974 (syz.3.584), ts 360390797671, free_ts 357206161631 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 8935 tgid 8935 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_folios+0x103a/0x1b00 mm/page_alloc.c:2667 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 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: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:677c6 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x677c6 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 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 8978, tgid 8974 (syz.3.584), ts 360390535829, free_ts 358372765155 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 8942 tgid 8939 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_folios+0x103a/0x1b00 mm/page_alloc.c:2667 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 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 get_signal+0x16a1/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 1 UID: 0 PID: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:12091 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x4 pfn:0x12091 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 0000000000000000 raw: 0000000000000004 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 8978, tgid 8974 (syz.3.584), ts 360390296164, free_ts 358351184143 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 8926 tgid 8925 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2619 mm_free_pgd kernel/fork.c:802 [inline] __mmdrop+0xb9/0x3d0 kernel/fork.c:918 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 get_signal+0x16a1/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 1 UID: 0 PID: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:12090 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88806afdcc00 pfn:0x12090 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 0000000000000000 raw: ffff88806afdcc00 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 8978, tgid 8974 (syz.3.584), ts 360390034380, free_ts 358351184143 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 8926 tgid 8925 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2619 mm_free_pgd kernel/fork.c:802 [inline] __mmdrop+0xb9/0x3d0 kernel/fork.c:918 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 get_signal+0x16a1/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f Modules linked in: CPU: 1 UID: 0 PID: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7f90d937def9 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:00007f90da180038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90d9536058 RCX: 00007f90d937def9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f90d93f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90d9536058 R15: 00007fff89b68ce8 BUG: Bad page state in process syz.3.584 pfn:343bd page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2 pfn:0x343bd flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888062a17000 0000000000000000 raw: 0000000000000002 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 8978, tgid 8974 (syz.3.584), ts 360389794652, free_ts 358809956895 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 alloc_pages_bulk_noprof+0x729/0xd40 mm/page_alloc.c:4650 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:4313 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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 8949 tgid 8948 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2619 __slab_free+0x31b/0x3d0 mm/slub.c:4388 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9e/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:322 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3992 [inline] slab_alloc_node mm/slub.c:4041 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4048 lsm_file_alloc security/security.c:649 [inline] security_file_alloc+0x28/0x130 security/security.c:2736 init_file+0x99/0x200 fs/file_table.c:152 alloc_empty_file+0xb8/0x1d0 fs/file_table.c:206 alloc_file fs/file_table.c:319 [inline] alloc_file_pseudo+0x1da/0x290 fs/file_table.c:350 sock_alloc_file+0xb8/0x290 net/socket.c:469 __sys_socketpair+0x4f9/0x720 net/socket.c:1800 __do_sys_socketpair net/socket.c:1822 [inline] __se_sys_socketpair net/socket.c:1819 [inline] __x64_sys_socketpair+0x9b/0xb0 net/socket.c:1819 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: 8978 Comm: syz.3.584 Tainted: G B 6.11.0-rc6-syzkaller-00183-gb831f83e40a2 #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:1093 [inline] free_unref_page+0xe47/0xea0 mm/page_alloc.c:2619 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