Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4912003168 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f49113abf80 RCX: 00007f491128c389 RDX: 0000000000000000 RSI: 0000000000004000 RDI: 0000000020ffc000 RBP: 00007f49120031d0 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000000032 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffc2c8c6d4f R14: 00007f4912003300 R15: 0000000000022000 ------------[ cut here ]------------ kernel BUG at mm/mmap.c:2702! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8624 Comm: syz-executor.2 Not tainted 6.1.25-syzkaller-00099-g35fe0d393f80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:mmap_region+0x2256/0x2380 mm/mmap.c:2702 Code: 03 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 1e fc ff ff 48 89 df e8 cb 2c 09 00 e9 11 fc ff ff e8 91 44 c3 ff 0f 0b e8 8a 44 c3 ff <0f> 0b 65 8b 05 29 92 51 7e 41 89 c6 4c 89 f0 48 c1 e8 06 48 8d 3c RSP: 0018:ffffc90000b37a40 EFLAGS: 00010246 RAX: ffffffff81b07f26 RBX: 0000000020ffffff RCX: 0000000000040000 RDX: ffffc900010b9000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90000b37c50 R08: ffffffff81b06b71 R09: ffffffff84fc8023 R10: 0000000000000003 R11: ffff88811acb1440 R12: ffffc90000b37ba8 R13: dffffc0000000000 R14: 0000000020ffc000 R15: 0000000021000000 FS: 00007f4912003700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4911ed56be CR3: 0000000112bfd000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_mmap+0x853/0xe30 mm/mmap.c:1453 vm_mmap_pgoff+0x208/0x430 mm/util.c:524 ksys_mmap_pgoff+0xed/0x1e0 mm/mmap.c:1499 __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+0x103/0x120 arch/x86/kernel/sys_x86_64.c:86 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f491128c389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4912003168 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f49113abf80 RCX: 00007f491128c389 RDX: 0000000000000000 RSI: 0000000000004000 RDI: 0000000020ffc000 RBP: 00007f49120031d0 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000000032 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffc2c8c6d4f R14: 00007f4912003300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:mmap_region+0x2256/0x2380 mm/mmap.c:2702 Code: 03 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 1e fc ff ff 48 89 df e8 cb 2c 09 00 e9 11 fc ff ff e8 91 44 c3 ff 0f 0b e8 8a 44 c3 ff <0f> 0b 65 8b 05 29 92 51 7e 41 89 c6 4c 89 f0 48 c1 e8 06 48 8d 3c RSP: 0018:ffffc90000b37a40 EFLAGS: 00010246 RAX: ffffffff81b07f26 RBX: 0000000020ffffff RCX: 0000000000040000 RDX: ffffc900010b9000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90000b37c50 R08: ffffffff81b06b71 R09: ffffffff84fc8023 R10: 0000000000000003 R11: ffff88811acb1440 R12: ffffc90000b37ba8 R13: dffffc0000000000 R14: 0000000020ffc000 R15: 0000000021000000 FS: 00007f4912003700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe9f63ad988 CR3: 0000000112bfd000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 28 00 sub %al,(%rax) 2: 00 00 add %al,(%rax) 4: 75 05 jne 0xb 6: 48 83 c4 28 add $0x28,%rsp a: c3 retq b: e8 f1 19 00 00 callq 0x1a01 10: 90 nop 11: 48 89 f8 mov %rdi,%rax 14: 48 89 f7 mov %rsi,%rdi 17: 48 89 d6 mov %rdx,%rsi 1a: 48 89 ca mov %rcx,%rdx 1d: 4d 89 c2 mov %r8,%r10 20: 4d 89 c8 mov %r9,%r8 23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 28: 0f 05 syscall * 2a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 retq 33: 48 c7 c1 b8 ff ff ff mov $0xffffffffffffffb8,%rcx 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W