tlb_flush_pending 0 def_flags: 0x0() ------------[ cut here ]------------ kernel BUG at mm/mmap.c:328! invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 PID: 17295 Comm: syz-executor.2 Not tainted 6.8.0-rc1-next-20240129-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:validate_mm+0x3f3/0x4b0 mm/mmap.c:328 Code: 0f 84 a4 fd ff ff e9 47 ff ff ff e8 77 91 b9 ff 44 89 f2 89 de 48 c7 c7 e0 af 19 8b e8 56 69 9b ff 4c 89 ff e8 ce c4 fa ff 90 <0f> 0b e8 56 91 b9 ff 0f b6 15 1f dd b1 0d 31 ff 89 d6 88 14 24 e8 RSP: 0018:ffffc9000337f958 EFLAGS: 00010282 RAX: 0000000000000330 RBX: 0000000000000017 RCX: ffffc90009fc1000 RDX: 0000000000000000 RSI: ffffffff816eb7e6 RDI: 0000000000000005 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 00007ffeffb20000 R13: 0000000000000000 R14: 0000000000000018 R15: ffff88807e529300 FS: 00007f722db476c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe69e4bff8 CR3: 000000002f96c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vma_merge+0x16a9/0x3d70 mm/mmap.c:1033 vma_merge_new_vma mm/mmap.c:2465 [inline] mmap_region+0x206b/0x2760 mm/mmap.c:2841 do_mmap+0x8ae/0xf10 mm/mmap.c:1380 vm_mmap_pgoff+0x1ab/0x3c0 mm/util.c:573 ksys_mmap_pgoff+0x425/0x5b0 mm/mmap.c:1426 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:93 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:86 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f722ce7cda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f722db470c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f722cfabf80 RCX: 00007f722ce7cda9 RDX: 0000000000000001 RSI: 0000000000002000 RDI: 0000000020ffc000 RBP: 00007f722cec947a R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000011 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f722cfabf80 R15: 00007ffeffa8cda8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:validate_mm+0x3f3/0x4b0 mm/mmap.c:328 Code: 0f 84 a4 fd ff ff e9 47 ff ff ff e8 77 91 b9 ff 44 89 f2 89 de 48 c7 c7 e0 af 19 8b e8 56 69 9b ff 4c 89 ff e8 ce c4 fa ff 90 <0f> 0b e8 56 91 b9 ff 0f b6 15 1f dd b1 0d 31 ff 89 d6 88 14 24 e8 RSP: 0018:ffffc9000337f958 EFLAGS: 00010282 RAX: 0000000000000330 RBX: 0000000000000017 RCX: ffffc90009fc1000 RDX: 0000000000000000 RSI: ffffffff816eb7e6 RDI: 0000000000000005 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 00007ffeffb20000 R13: 0000000000000000 R14: 0000000000000018 R15: ffff88807e529300 FS: 00007f722db476c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fca0dfa8000 CR3: 000000002f96c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400