syzbot


UBSAN: array-index-out-of-bounds in dbAllocBits

Status: upstream: reported C repro on 2026/03/08 09:25
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+7e9c72fc2a1b79c95dc1@syzkaller.appspotmail.com
First crash: 4d18h, last: 4d18h
Bug presence (1)
Date Name Commit Repro Result
2026/03/08 upstream (ToT) 014441d1e4b2 C [report] UBSAN: array-index-out-of-bounds in dbAllocBits
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream UBSAN: array-index-out-of-bounds in dbAllocBits jfs 19 C inconclusive error 234 805d 1255d 0/29 auto-obsoleted due to no activity on 2024/03/07 21:48
linux-5.15 UBSAN: array-index-out-of-bounds in dbAllocBits origin:upstream 15 C error 5 5d17h 1028d 0/3 upstream: reported C repro on 2023/05/19 07:30
upstream KASAN: slab-out-of-bounds Read in dbAllocBits jfs 17 C error error 279 36d 672d 0/29 upstream: reported C repro on 2024/05/09 13:18
linux-6.1 UBSAN: array-index-out-of-bounds in dbAllocBits origin:upstream 15 C error 4 61d 1028d 0/3 upstream: reported C repro on 2023/05/19 04:28
linux-4.19 KASAN: use-after-free Read in dbAllocBits 19 C error 2 1237d 1258d 0/1 upstream: reported C repro on 2022/10/01 12:57

Sample crash report:
syz.0.17[5914]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
loop0: detected capacity change from 0 to 32768
================================================================================
UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2257:2
index 10240 is out of range for type 's64[128]' (aka 'long long[128]')
CPU: 1 PID: 5914 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
 ubsan_epilogue+0xa/0x30 lib/ubsan.c:217
 __ubsan_handle_out_of_bounds+0xe3/0xf0 lib/ubsan.c:348
 dbAllocBits+0xa04/0xa50 fs/jfs/jfs_dmap.c:2257
 dbAllocDmap fs/jfs/jfs_dmap.c:2034 [inline]
 dbAllocDmapLev+0x1bd/0x3c0 fs/jfs/jfs_dmap.c:1988
 dbAllocCtl+0x148/0x9b0 fs/jfs/jfs_dmap.c:1825
 dbAllocAG+0x1e7/0xfe0 fs/jfs/jfs_dmap.c:1353
 dbAlloc+0x5aa/0xba0 fs/jfs/jfs_dmap.c:877
 dtSplitUp fs/jfs/jfs_dtree.c:982 [inline]
 dtInsert+0xb13/0x5de0 fs/jfs/jfs_dtree.c:871
 jfs_create+0x734/0xac0 fs/jfs/namei.c:137
 lookup_open fs/namei.c:3496 [inline]
 open_last_lookups fs/namei.c:3564 [inline]
 path_openat+0x12a0/0x3230 fs/namei.c:3794
 do_filp_open+0x1f5/0x430 fs/namei.c:3824
 do_sys_openat2+0x134/0x1d0 fs/open.c:1421
 do_sys_open fs/open.c:1436 [inline]
 __do_sys_creat fs/open.c:1514 [inline]
 __se_sys_creat fs/open.c:1508 [inline]
 __x64_sys_creat+0x90/0xb0 fs/open.c:1508
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f8a5579c799
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffb9f93f58 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f8a55a15fa0 RCX: 00007f8a5579c799
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000580
RBP: 00007f8a55832bd9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f8a55a15fac R14: 00007f8a55a15fa0 R15: 00007f8a55a15fa0
 </TASK>
================================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/08 09:25 linux-6.6.y 4fc00fe35d46 5cb44a80 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-6-kasan UBSAN: array-index-out-of-bounds in dbAllocBits
* Struck through repros no longer work on HEAD.