------------[ cut here ]------------ WARNING: CPU: 0 PID: 4089 at mm/mmap.c:1094 vma_merge+0x428/0x950 mm/mmap.c:1094 Modules linked in: CPU: 0 PID: 4089 Comm: syz-executor.2 Not tainted 5.18.0-rc6-next-20220512-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:vma_merge+0x428/0x950 mm/mmap.c:1094 Code: 00 e8 1c 92 c4 ff e8 17 92 c4 ff 45 31 f6 e8 0f 92 c4 ff 4c 89 f0 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 f8 91 c4 ff <0f> 0b e9 6c fd ff ff e8 ec 91 c4 ff 48 8d bd 88 00 00 00 48 b8 00 RSP: 0018:ffffc90004927c90 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 00000000080000fa RCX: 0000000000000000 RDX: ffff88802361d7c0 RSI: ffffffff81b5d3f8 RDI: 0000000000000003 RBP: ffff888023a7dbd0 R08: 00000000207e8000 R09: 0000000000000000 R10: ffffffff81b5d15e R11: 0000000000000000 R12: 0000000020816000 R13: 00000000207e8000 R14: ffff888079cad000 R15: ffff888079cad000 FS: 0000555556021400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000104 CR3: 000000006fe51000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: userfaultfd_release+0x4c5/0x670 fs/userfaultfd.c:888 __fput+0x277/0x9d0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f7a8503bd2b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007fffb73eeca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f7a8503bd2b RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 00007f7a8519d960 R08: 0000000000000000 R09: 00007fffb73fa080 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000000f1e2 R13: 00007fffb73eeda0 R14: 00007f7a8519c030 R15: 0000000000000032