------------[ cut here ]------------ kernel BUG at include/linux/mm.h:1529! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 11001 Comm: syz-executor.4 Not tainted 6.0.0-rc7-syzkaller-00132-g987a926c1d8a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:page_needs_cow_for_dma include/linux/mm.h:1529 [inline] RIP: 0010:page_try_dup_anon_rmap include/linux/rmap.h:253 [inline] RIP: 0010:copy_hugetlb_page_range+0x1f16/0x2590 mm/hugetlb.c:4846 Code: d0 2c ee ff 0f 0b e8 b9 da b7 ff 83 8c 24 00 01 00 00 01 48 8d bc 24 e0 00 00 00 e8 84 14 02 00 e9 5d ef ff ff e8 9a da b7 ff <0f> 0b e8 93 da b7 ff 0f 0b e8 8c da b7 ff 49 c1 e4 0e 48 8b 84 24 RSP: 0018:ffffc9000345f5f0 EFLAGS: 00010212 RAX: 0000000000004efc RBX: 0000000000000001 RCX: ffffc9000e396000 RDX: 0000000000040000 RSI: ffffffff81c42d86 RDI: 0000000000000005 RBP: ffffea0000f98000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 1ffffffff20085bd R12: ffffea0000f98008 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000020000000 FS: 00007f774f649700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd72a50b800 CR3: 0000000078779000 CR4: 0000000000350ee0 Call Trace: copy_page_range+0x2044/0x37d0 mm/memory.c:1288 dup_mmap kernel/fork.c:699 [inline] dup_mm+0xa99/0x13a0 kernel/fork.c:1525 copy_mm kernel/fork.c:1577 [inline] copy_process+0x3ca6/0x7090 kernel/fork.c:2254 kernel_clone+0xe7/0xab0 kernel/fork.c:2671 __do_sys_clone3+0x1cd/0x2e0 kernel/fork.c:2963 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:0x7f774e48a5a9 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:00007f774f649038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f774e5abf80 RCX: 00007f774e48a5a9 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007f774f649050 RBP: 00007f774e4e5580 R08: 0000000000000000 R09: 0000000000000058 R10: 00007f774f649050 R11: 0000000000000246 R12: 0000000000000058 R13: 00007ffd35f4739f R14: 00007f774f649300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:page_needs_cow_for_dma include/linux/mm.h:1529 [inline] RIP: 0010:page_try_dup_anon_rmap include/linux/rmap.h:253 [inline] RIP: 0010:copy_hugetlb_page_range+0x1f16/0x2590 mm/hugetlb.c:4846 Code: d0 2c ee ff 0f 0b e8 b9 da b7 ff 83 8c 24 00 01 00 00 01 48 8d bc 24 e0 00 00 00 e8 84 14 02 00 e9 5d ef ff ff e8 9a da b7 ff <0f> 0b e8 93 da b7 ff 0f 0b e8 8c da b7 ff 49 c1 e4 0e 48 8b 84 24 RSP: 0018:ffffc9000345f5f0 EFLAGS: 00010212 RAX: 0000000000004efc RBX: 0000000000000001 RCX: ffffc9000e396000 RDX: 0000000000040000 RSI: ffffffff81c42d86 RDI: 0000000000000005 RBP: ffffea0000f98000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 1ffffffff20085bd R12: ffffea0000f98008 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000020000000 FS: 00007f774f649700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd72a50b800 CR3: 0000000078779000 CR4: 0000000000350ee0