------------[ cut here ]------------ WARNING: CPU: 1 PID: 7642 at mm/huge_memory.c:1602 copy_huge_pmd+0x102c/0x1c60 mm/huge_memory.c:1602 Modules linked in: CPU: 1 UID: 0 PID: 7642 Comm: syz.2.417 Not tainted 6.12.0-rc2-syzkaller-00006-g87d6aab2389e #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:ffffc900033cf160 EFLAGS: 00010283 RAX: ffffffff8202425b RBX: ffff88802e08d118 RCX: 0000000000040000 RDX: ffffc9000e101000 RSI: 0000000000007391 RDI: 0000000000007392 RBP: ffffc900033cf2e8 R08: ffffffff82024126 R09: fffff52000679e1c R10: dffffc0000000000 R11: fffff52000679e1c R12: ffff888020bbf3c0 R13: cffff7fff03ffe02 R14: 0000000000000020 R15: ffff888024a32c60 FS: 00007f0f0097c6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200000c0 CR3: 000000005a5ac000 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_clone kernel/fork.c:2927 [inline] __se_sys_clone kernel/fork.c:2911 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2911 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:0x7f0effb7dff9 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:00007f0f0097bfe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f0effd36058 RCX: 00007f0effb7dff9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000a00000 RBP: 00007f0effbf0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0effd36058 R15: 00007f0effe5fa28