free_unref_page_prepare mm/page_alloc.c:3386 [inline] free_unref_page+0x19/0x4d0 mm/page_alloc.c:3482 io_mem_free.part.0+0xb0/0xb9 io_uring/io_uring.c:2463 io_mem_free io_uring/io_uring.c:2458 [inline] io_ring_ctx_free io_uring/io_uring.c:2627 [inline] io_ring_exit_work+0xa30/0xc2e io_uring/io_uring.c:2789 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 16429 at mm/huge_memory.c:2465 __split_huge_page_tail mm/huge_memory.c:2465 [inline] WARNING: CPU: 1 PID: 16429 at mm/huge_memory.c:2465 __split_huge_page mm/huge_memory.c:2527 [inline] WARNING: CPU: 1 PID: 16429 at mm/huge_memory.c:2465 split_huge_page_to_list+0x3586/0x4530 mm/huge_memory.c:2756 Modules linked in: CPU: 1 PID: 16429 Comm: syz-executor.4 Not tainted 6.1.0-rc2-syzkaller-00105-gb229b6ca5abb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:__split_huge_page_tail mm/huge_memory.c:2465 [inline] RIP: 0010:__split_huge_page mm/huge_memory.c:2527 [inline] RIP: 0010:split_huge_page_to_list+0x3586/0x4530 mm/huge_memory.c:2756 Code: e0 e3 af ff 45 84 f6 0f 85 3c dc ff ff e8 42 e7 af ff 48 8b 7c 24 08 48 c7 c6 00 90 fa 89 e8 e1 5a e6 ff c6 05 6a b2 ff 0b 01 <0f> 0b e9 18 dc ff ff e8 1e e7 af ff 4c 8b 7c 24 08 31 ff 4c 89 fd RSP: 0018:ffffc90003bdf558 EFLAGS: 00010046 RAX: 0000000000040000 RBX: ffffea00020e8000 RCX: ffffc9000d679000 RDX: 0000000000040000 RSI: ffffffff81ccb54f RDI: ffffffff8de21a10 RBP: ffffea00020e8200 R08: 0000000000000000 R09: ffffffff8de21a17 R10: 0000000000000000 R11: 6f72665f74657220 R12: ffffea00020e8208 R13: ffffea00020e8228 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f240bb37700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e425000 CR3: 000000008041f000 CR4: 0000000000350ee0 Call Trace: split_huge_page include/linux/huge_mm.h:188 [inline] madvise_free_huge_pmd+0x8e6/0xaa0 mm/huge_memory.c:1600 madvise_free_pte_range+0xd4b/0x1420 mm/madvise.c:611 walk_pmd_range mm/pagewalk.c:128 [inline] walk_pud_range mm/pagewalk.c:205 [inline] walk_p4d_range mm/pagewalk.c:240 [inline] walk_pgd_range+0xa30/0x1670 mm/pagewalk.c:277 __walk_page_range+0x4e9/0x5e0 mm/pagewalk.c:379 walk_page_range+0x30d/0x4a0 mm/pagewalk.c:477 madvise_free_single_vma+0x459/0x660 mm/madvise.c:762 madvise_dontneed_free mm/madvise.c:878 [inline] madvise_vma_behavior+0x4ec/0x1cc0 mm/madvise.c:1015 madvise_walk_vmas+0x1c7/0x2b0 mm/madvise.c:1240 do_madvise.part.0+0x24a/0x340 mm/madvise.c:1419 do_madvise mm/madvise.c:1432 [inline] __do_sys_madvise mm/madvise.c:1432 [inline] __se_sys_madvise mm/madvise.c:1430 [inline] __x64_sys_madvise+0x113/0x150 mm/madvise.c:1430 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+0x63/0xcd RIP: 0033:0x7f240ae8b5a9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f240bb37168 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f240afabf80 RCX: 00007f240ae8b5a9 RDX: 0000000000000008 RSI: 0000000000400000 RDI: 0000000020495000 RBP: 00007f240aee67b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff1a6ef53f R14: 00007f240bb37300 R15: 0000000000022000