------------[ cut here ]------------ kernel BUG at include/linux/mm.h:1529! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 7389 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-00130-g511cce163b75 #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+0x905/0x10f0 include/linux/rmap.h:253 Code: e6 ff 0f 00 00 31 ff e8 49 21 b2 ff 4c 89 e0 48 25 ff 0f 00 00 0f 84 38 01 00 00 e8 75 1c b2 ff e9 e6 02 00 00 e8 6b 1c b2 ff <0f> 0b 4c 89 e6 48 81 e6 ff 0f 00 00 31 ff e8 18 21 b2 ff 4c 89 e0 RSP: 0018:ffffc900150673f0 EFLAGS: 00010283 RAX: ffffffff81d779f5 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000b57f000 RSI: 0000000000002f3a RDI: 0000000000002f3b RBP: 1ffff1100fa68fd6 R08: ffffffff81d774e5 R09: fffff940005ac001 R10: fffff940005ac001 R11: 1ffffd40005ac000 R12: ffffea0002d60000 R13: dffffc0000000000 R14: 1ffffd40005ac001 R15: ffff88807d347eb0 FS: 00007f8235748700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200001c1 CR3: 0000000079723000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: copy_hugetlb_page_range+0xcd0/0x1b20 mm/hugetlb.c:4846 copy_page_range+0x391/0x7f0 mm/memory.c:1288 dup_mmap+0x9e9/0xfc0 kernel/fork.c:699 dup_mm+0x8c/0x310 kernel/fork.c:1525 copy_mm+0x102/0x190 kernel/fork.c:1577 copy_process+0x1976/0x3f60 kernel/fork.c:2254 kernel_clone+0x22f/0x7a0 kernel/fork.c:2671 __do_sys_clone3 kernel/fork.c:2963 [inline] __se_sys_clone3+0x372/0x410 kernel/fork.c:2947 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f823468a5a9 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:00007f8235748038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f82347abf80 RCX: 00007f823468a5a9 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007f8235748050 RBP: 00007f82346e5580 R08: 0000000000000000 R09: 0000000000000058 R10: 00007f8235748050 R11: 0000000000000246 R12: 0000000000000058 R13: 00007fff5aab2aff R14: 00007f8235748300 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+0x905/0x10f0 include/linux/rmap.h:253 Code: e6 ff 0f 00 00 31 ff e8 49 21 b2 ff 4c 89 e0 48 25 ff 0f 00 00 0f 84 38 01 00 00 e8 75 1c b2 ff e9 e6 02 00 00 e8 6b 1c b2 ff <0f> 0b 4c 89 e6 48 81 e6 ff 0f 00 00 31 ff e8 18 21 b2 ff 4c 89 e0 RSP: 0018:ffffc900150673f0 EFLAGS: 00010283 RAX: ffffffff81d779f5 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000b57f000 RSI: 0000000000002f3a RDI: 0000000000002f3b RBP: 1ffff1100fa68fd6 R08: ffffffff81d774e5 R09: fffff940005ac001 R10: fffff940005ac001 R11: 1ffffd40005ac000 R12: ffffea0002d60000 R13: dffffc0000000000 R14: 1ffffd40005ac001 R15: ffff88807d347eb0 FS: 00007f8235748700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200001c1 CR3: 0000000079723000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400