------------[ cut here ]------------ WARNING: CPU: 0 PID: 4991 at mm/mmap.c:965 vma_merge+0x334/0x2070 mm/mmap.c:965 Modules linked in: CPU: 0 PID: 4991 Comm: syz-executor195 Not tainted 6.4.0-rc5-syzkaller-00245-g64569520920a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:vma_merge+0x334/0x2070 mm/mmap.c:965 Code: 80 3c 02 00 0f 85 26 18 00 00 48 8b 04 24 4c 89 f6 4c 8b 38 4c 89 ff e8 7a b7 bf ff 4d 39 f7 0f 84 fa 0a 00 00 e8 ac bb bf ff <0f> 0b e8 a5 bb bf ff 48 89 de 4c 89 f7 e8 5a b7 bf ff 49 39 de 0f RSP: 0018:ffffc90003327b20 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000020ce2000 RCX: 0000000000000000 RDX: ffff888018ec0180 RSI: ffffffff81c3ac04 RDI: 0000000000000006 RBP: ffff888073e46e00 R08: 0000000000000006 R09: 0000000020000000 R10: 00000000200e2000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 00000000200e2000 R15: 0000000020000000 FS: 0000555555687300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4dbe1f1b10 CR3: 0000000021f1b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: userfaultfd_register fs/userfaultfd.c:1485 [inline] userfaultfd_ioctl+0x3a78/0x43e0 fs/userfaultfd.c:2050 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f187379db49 Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fffe11bde58 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f187379db49 RDX: 0000000020000000 RSI: 00000000c020aa00 RDI: 0000000000000003 RBP: 00007f1873761cf0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1873761d80 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000