syzbot
kernel BUG in mas_store_prealloc
Status:
upstream: reported C repro on 2023/04/15 06:32
Bug presence:
origin:lts-only
[Documentation on labels]
Reported-by: syzbot+3ca8dbb2b9ee242c4908@syzkaller.appspotmail.com
First crash: 1198d, last: 1119d
▶
▼
Fix bisection attempts (1)
| Created |
Duration |
User |
Patch |
Repo |
Result |
| 2023/09/03 06:25 |
1h12m
|
fix candidate
|
|
upstream |
OK
(0)
job log
|
Sample crash report:
------------[ cut here ]------------
kernel BUG at lib/maple_tree.c:5789!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4222 Comm: syz-executor352 Not tainted 6.1.28-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : mas_store_prealloc+0x3a8/0x3ac lib/maple_tree.c:5789
lr : mas_store_prealloc+0x3a8/0x3ac lib/maple_tree.c:5789
sp : ffff80001d957520
x29: ffff80001d957600 x28: 1ffff00003b2aeff x27: dfff800000000000
x26: ffff700003b2aea8 x25: 0000000020bfd000 x24: 0000000000000001
x23: 1ffff00003b2aeac x22: ffff80001d9577f8 x21: ffffffffffffffd2
x20: 0000000000000002 x19: ffff80001d9577e0 x18: 0000000000000000
x17: 0000ffffbaf6afff x16: ffff8000084faac0 x15: 0000000000000000
x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000001
x11: ff80800012065bec x10: 0000000000000000 x9 : ffff800012065bec
x8 : ffff0000d50ab780 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:5789
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_mlock2 mm/mlock.c:629 [inline]
__se_sys_mlock2 mm/mlock.c:619 [inline]
__arm64_sys_mlock2+0xb4/0xd8 mm/mlock.c:619
__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: 977ac599 17ffff7b 94020721 977ac27e (d4210000)
---[ end trace 0000000000000000 ]---
* Struck through repros no longer work on HEAD.