------------[ cut here ]------------ WARNING: CPU: 0 PID: 5881 at mm/huge_memory.c:1602 copy_huge_pmd+0x102c/0x1c60 mm/huge_memory.c:1602 Modules linked in: CPU: 0 UID: 0 PID: 5881 Comm: syz.3.106 Not tainted 6.12.0-rc1-syzkaller-00349-g8f602276d390 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:copy_huge_pmd+0x102c/0x1c60 mm/huge_memory.c:1602 Code: ff 90 0f 0b 90 e9 2e f5 ff ff e8 2f a4 92 ff 48 ff cb e9 0f f7 ff ff e8 22 a4 92 ff 48 ff cb e9 8a f7 ff ff e8 15 a4 92 ff 90 <0f> 0b 90 e9 11 fd ff ff 4c 8d ac 24 00 01 00 00 48 b8 06 fe ff ff RSP: 0018:ffffc90002e670c0 EFLAGS: 00010283 RAX: ffffffff8202325b RBX: ffff888061b23ac8 RCX: 0000000000040000 RDX: ffffc9000aa55000 RSI: 000000000000369d RDI: 000000000000369e RBP: ffffc90002e67248 R08: ffffffff82023126 R09: fffff520005cce08 R10: dffffc0000000000 R11: fffff520005cce08 R12: ffff8880325bd120 R13: d7ffe7fff6e3fe02 R14: 0000000000000020 R15: ffff888029b1bea0 FS: 00007f47a09356c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020236000 CR3: 000000007b336000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: copy_pmd_range+0x425/0x85f0 mm/memory.c:1245 copy_pud_range mm/memory.c:1292 [inline] copy_p4d_range mm/memory.c:1316 [inline] copy_page_range+0x99f/0xe90 mm/memory.c:1414 dup_mmap kernel/fork.c:750 [inline] dup_mm kernel/fork.c:1674 [inline] copy_mm+0x11fb/0x1f40 kernel/fork.c:1723 copy_process+0x1845/0x3d50 kernel/fork.c:2372 kernel_clone+0x226/0x8f0 kernel/fork.c:2784 __do_sys_clone3 kernel/fork.c:3088 [inline] __se_sys_clone3+0x2cb/0x350 kernel/fork.c:3067 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:0x7f479fb7dff9 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:00007f47a0934f08 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 0000000000000058 RCX: 00007f479fb7dff9 RDX: 00007f47a0934f20 RSI: 0000000000000058 RDI: 00007f47a0934f20 RBP: 00007f479fbf0296 R08: 0000000000000000 R09: 0000000000000058 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f479fd36058 R15: 00007f479fe5fa28