RSP: 002b:00007f6072718038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f6071b35fa0 RCX: 00007f607197e819
RDX: 0000000000000001 RSI: 0000000000002000 RDI: 0000000020ffc000
RBP: 00007f6072718090 R08: 0000000000000003 R09: 0000000000000000
R10: 0000000000000011 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 00007f6071b35fa0 R15: 00007f6071c5fa28
</TASK>
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 UID: 0 PID: 9800 Comm: syz.3.765 Not tainted 6.12.0-syzkaller-03657-g43fb83c17ba2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:mt_slot_locked lib/maple_tree.c:795 [inline]
RIP: 0010:mas_slot_locked lib/maple_tree.c:808 [inline]
RIP: 0010:mas_store_prealloc+0xa46/0x1390 lib/maple_tree.c:5514
Code: c0 d0 35 8d be 1b 03 00 00 48 c7 c2 80 db 35 8d e8 4f f6 b0 f5 4b 8d 1c e7 48 89 d8 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df <42> 80 3c 38 00 74 08 48 89 df e8 fb 1a 3f f6 48 8b 1b 49 8d 7e 48
RSP: 0018:ffffc900043d7680 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff88801e7c8000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900043d77f0 R08: ffffffff8bbff157 R09: 0000000000000000
R10: ffffc900043d7728 R11: fffff5200087aeee R12: 0000000000000000
R13: ffffc900043d7ae0 R14: ffffc900043d7720 R15: dffffc0000000000
FS: 00007f60727186c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6072717f98 CR3: 00000000785ee000 CR4: 00000000003526f0
DR0: fffffffffffffffd DR1: 0000000000000000 DR2: fffffffffffffffe
DR3: 000000007fffffff DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__mmap_region mm/mmap.c:1513 [inline]
mmap_region+0x1caa/0x23f0 mm/mmap.c:1603
do_mmap+0x8f0/0x1000 mm/mmap.c:496
vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:588
ksys_mmap_pgoff+0x4eb/0x720 mm/mmap.c:542
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f607197e819
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f6072718038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f6071b35fa0 RCX: 00007f607197e819
RDX: 0000000000000001 RSI: 0000000000002000 RDI: 0000000020ffc000
RBP: 00007f6072718090 R08: 0000000000000003 R09: 0000000000000000
R10: 0000000000000011 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 00007f6071b35fa0 R15: 00007f6071c5fa28
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:mt_slot_locked lib/maple_tree.c:795 [inline]
RIP: 0010:mas_slot_locked lib/maple_tree.c:808 [inline]
RIP: 0010:mas_store_prealloc+0xa46/0x1390 lib/maple_tree.c:5514
Code: c0 d0 35 8d be 1b 03 00 00 48 c7 c2 80 db 35 8d e8 4f f6 b0 f5 4b 8d 1c e7 48 89 d8 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df <42> 80 3c 38 00 74 08 48 89 df e8 fb 1a 3f f6 48 8b 1b 49 8d 7e 48
RSP: 0018:ffffc900043d7680 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff88801e7c8000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900043d77f0 R08: ffffffff8bbff157 R09: 0000000000000000
R10: ffffc900043d7728 R11: fffff5200087aeee R12: 0000000000000000
R13: ffffc900043d7ae0 R14: ffffc900043d7720 R15: dffffc0000000000
FS: 00007f60727186c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f78daa67d60 CR3: 00000000785ee000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: c0 d0 35 rcl $0x35,%al
3: 8d be 1b 03 00 00 lea 0x31b(%rsi),%edi
9: 48 c7 c2 80 db 35 8d mov $0xffffffff8d35db80,%rdx
10: e8 4f f6 b0 f5 call 0xf5b0f664
15: 4b 8d 1c e7 lea (%r15,%r12,8),%rbx
19: 48 89 d8 mov %rbx,%rax
1c: 48 c1 e8 03 shr $0x3,%rax
20: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15
27: fc ff df
* 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction
2f: 74 08 je 0x39
31: 48 89 df mov %rbx,%rdi
34: e8 fb 1a 3f f6 call 0xf63f1b34
39: 48 8b 1b mov (%rbx),%rbx
3c: 49 8d 7e 48 lea 0x48(%r14),%rdi