__get_free_pages+0x8/0x40 mm/page_alloc.c:5425 io_allocate_scq_urings fs/io_uring.c:10329 [inline] io_uring_create fs/io_uring.c:10447 [inline] io_uring_setup.cold+0x1136/0x2454 fs/io_uring.c:10537 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1351 [inline] free_pcp_prepare+0x414/0xb60 mm/page_alloc.c:1403 free_unref_page_prepare mm/page_alloc.c:3324 [inline] free_unref_page+0x19/0x690 mm/page_alloc.c:3403 io_mem_free.part.0+0xcc/0xd5 fs/io_uring.c:8841 io_mem_free fs/io_uring.c:8836 [inline] io_ring_ctx_free fs/io_uring.c:9383 [inline] io_ring_exit_work+0xa64/0xbe8 fs/io_uring.c:9535 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2299 worker_thread+0x658/0x11f0 kernel/workqueue.c:2446 kthread+0x405/0x4f0 kernel/kthread.c:345 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ------------[ cut here ]------------ kernel BUG at mm/page_alloc.c:1083! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8997 Comm: syz-executor.1 Not tainted 5.16.0-rc2-next-20211125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__free_one_page+0xa8a/0xf60 mm/page_alloc.c:1083 Code: 43 34 85 c0 0f 84 f4 f8 ff ff 48 c7 c6 40 62 b7 89 48 89 ef e8 77 cd f5 ff 0f 0b 48 c7 c6 20 61 b7 89 4c 89 ef e8 66 cd f5 ff <0f> 0b 0f 0b 48 c7 c6 80 61 b7 89 4c 89 ef e8 53 cd f5 ff 0f 0b 48 RSP: 0018:ffffc900028cf3b8 EFLAGS: 00010093 RAX: 0000000000000000 RBX: ffffc900028cf4b0 RCX: 0000000000000000 RDX: ffff88802358ba80 RSI: ffffffff81b72aba RDI: 0000000000000003 RBP: 000000000008a400 R08: 0000000000000018 R09: 00000000ffffffff R10: ffffffff890d0438 R11: 00000000ffffffff R12: 0000000000000009 R13: ffffea0002290000 R14: 0000000000000000 R15: ffff88813fffa700 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb7c43a2000 CR3: 000000000b88e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: free_pcppages_bulk+0x533/0x8a0 mm/page_alloc.c:1545 free_unref_page_commit.constprop.0+0x4cf/0x6f0 mm/page_alloc.c:3390 free_unref_page+0x236/0x690 mm/page_alloc.c:3423 release_pages+0x82a/0x1b30 mm/swap.c:956 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:242 [inline] tlb_flush_mmu+0xe9/0x6b0 mm/mmu_gather.c:249 zap_pte_range mm/memory.c:1418 [inline] zap_pmd_range mm/memory.c:1467 [inline] zap_pud_range mm/memory.c:1496 [inline] zap_p4d_range mm/memory.c:1517 [inline] unmap_page_range+0x1ea3/0x32e0 mm/memory.c:1538 unmap_single_vma+0x198/0x310 mm/memory.c:1583 unmap_vmas+0x16b/0x2f0 mm/memory.c:1615 exit_mmap+0x1d0/0x630 mm/mmap.c:3176 __mmput+0x122/0x4b0 kernel/fork.c:1115 mmput+0x56/0x60 kernel/fork.c:1136 exit_mm kernel/exit.c:507 [inline] do_exit+0xb27/0x2c20 kernel/exit.c:819 do_group_exit+0x125/0x310 kernel/exit.c:929 get_signal+0x34c/0x28b0 kernel/signal.c:2859 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb7c6e2bae9 Code: Unable to access opcode bytes at RIP 0x7fb7c6e2babf. RSP: 002b:00007fb7c43a1218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000000 RBX: 00007fb7c6f3ef68 RCX: 00007fb7c6e2bae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fb7c6f3ef68 RBP: 00007fb7c6f3ef60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb7c6f3ef6c R13: 00007ffe6c091dbf R14: 00007fb7c43a1300 R15: 0000000000022000 Modules linked in: ---[ end trace f2b0806145e63884 ]--- RIP: 0010:__free_one_page+0xa8a/0xf60 mm/page_alloc.c:1083 Code: 43 34 85 c0 0f 84 f4 f8 ff ff 48 c7 c6 40 62 b7 89 48 89 ef e8 77 cd f5 ff 0f 0b 48 c7 c6 20 61 b7 89 4c 89 ef e8 66 cd f5 ff <0f> 0b 0f 0b 48 c7 c6 80 61 b7 89 4c 89 ef e8 53 cd f5 ff 0f 0b 48 RSP: 0018:ffffc900028cf3b8 EFLAGS: 00010093 RAX: 0000000000000000 RBX: ffffc900028cf4b0 RCX: 0000000000000000 RDX: ffff88802358ba80 RSI: ffffffff81b72aba RDI: 0000000000000003 RBP: 000000000008a400 R08: 0000000000000018 R09: 00000000ffffffff R10: ffffffff890d0438 R11: 00000000ffffffff R12: 0000000000000009 R13: ffffea0002290000 R14: 0000000000000000 R15: ffff88813fffa700 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb7c43a2000 CR3: 000000000b88e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400