Hello,
syzbot found the following issue on:
HEAD commit: 0102425ac76b Linux 6.1.24
git tree: linux-6.1.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1277b07dc80000
kernel config:
https://syzkaller.appspot.com/x/.config?x=f23561925d39903
dashboard link:
https://syzkaller.appspot.com/bug?extid=3ca8dbb2b9ee242c4908
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/11b4f76a294e/disk-0102425a.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/45c8eec62c60/vmlinux-0102425a.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/0a7b8f48ec43/Image-0102425a.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+3ca8db...@syzkaller.appspotmail.com
------------[ cut here ]------------
kernel BUG at lib/maple_tree.c:5790!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 6085 Comm: syz-executor.2 Not tainted 6.1.24-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : mas_store_prealloc+0x3a8/0x3ac lib/maple_tree.c:5790
lr : mas_store_prealloc+0x3a8/0x3ac lib/maple_tree.c:5790
sp : ffff800024e47520
x29: ffff800024e47600 x28: 1ffff000049c8eff x27: dfff800000000000
x26: ffff7000049c8ea8 x25: 000000002023c000 x24: 0000000000000001
x23: 1ffff000049c8eac x22: ffff800024e477f8 x21: ffffffffffffffd2
x20: 0000000000000002 x19: ffff800024e477e0 x18: 0000000000000000
x17: 0000aaaaac527fff x16: ffff8000084f4b7c x15: 0000000000000000
x14: 0000000000000002 x13: 0000000000000000 x12: 0000000000040000
x11: 000000000000142d x10: ffff800026934000 x9 : ffff80001205b3e4
x8 : 000000000000142e x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000040 x4 : 00000000ffffffff x3 : 0000000000002800
x2 : ffff0000c000d500 x1 : 0000000000000002 x0 : 0000000000000002
Call trace:
mas_store_prealloc+0x3a8/0x3ac lib/maple_tree.c:5790
vma_mas_store+0x19c/0x490 mm/mmap.c:434
__vma_adjust+0xec8/0x17a8 mm/mmap.c:789
vma_merge+0xabc/0xb4c
mlock_fixup+0x258/0x470 mm/mlock.c:420
apply_vma_lock_flags+0x2bc/0x3f8 mm/mlock.c:501
do_mlock+0x430/0x590 mm/mlock.c:602
__do_sys_mlock mm/mlock.c:616 [inline]
__se_sys_mlock mm/mlock.c:614 [inline]
__arm64_sys_mlock+0x60/0x78 mm/mlock.c:614
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
Code: 977b23cd 17ffff7b 940206d5 977b2a32 (d4210000)
---[ end trace 0000000000000000 ]---
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.