syzbot


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

Status: upstream: reported C repro on 2024/10/03 19:10
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+5f7f0caf9979e9d09ff8@syzkaller.appspotmail.com
First crash: 497d, last: 11h55m
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: BUG: Bad page state (log)
Repro: C syz .config
  
Discussions (5)
Title Replies (including bot) Last reply
[syzbot] Monthly jfs report (Dec 2025) 0 (1) 2025/12/26 07:48
[PATCH] jfs: fix array-index-out-of-bounds in linelock by using flexible array for lv 1 (1) 2025/11/20 15:43
[syzbot] [jfs?] UBSAN: array-index-out-of-bounds in dtInsertEntry 0 (3) 2025/11/18 14:11
[PATCH] jfs: fix array-index-out-of-bounds in dtInsertEntry 4 (4) 2024/10/31 01:58
UBSAN: array-index-out-of-bounds in dtInsertEntry 1 (2) 2024/10/10 13:43
Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: unable to handle kernel paging request in dtInsertEntry missing-backport origin:upstream 19 C error 472 1d23h 977d 0/3 upstream: reported C repro on 2023/06/07 09:20
linux-6.6 KASAN: slab-out-of-bounds Read in dtInsertEntry origin:upstream 17 C 109 26d 218d 0/2 upstream: reported C repro on 2025/07/05 15:47
linux-6.1 BUG: unable to handle kernel paging request in dtInsertEntry 15 C error 17 532d 977d 0/3 auto-obsoleted due to no activity on 2024/12/03 11:36
upstream general protection fault in dtInsertEntry jfs 17 C inconclusive 501 545d 670d 27/29 fixed on 2024/08/14 03:44
upstream BUG: unable to handle kernel NULL pointer dereference in dtInsertEntry jfs 19 C error done 29 738d 1231d 25/29 fixed on 2024/03/20 11:33
linux-6.1 KASAN: slab-out-of-bounds Read in dtInsertEntry origin:upstream 21 C 182 4d21h 306d 0/3 upstream: reported C repro on 2025/04/08 17:54
linux-4.19 general protection fault in dtInsertEntry 19 C error 4 1185d 1232d 0/1 upstream: reported C repro on 2022/09/26 01:50
linux-4.14 general protection fault in dtInsertEntry 2 C 3 1075d 1232d 0/1 upstream: reported C repro on 2022/09/25 23:44
Last patch testing requests (3)
Created Duration User Patch Repo Result
2025/11/18 14:11 19m yun.zhou@windriver.com patch upstream report log
2024/11/09 08:26 12m retest repro upstream report log
2024/10/10 13:14 19m ghanshyam1898@gmail.com patch upstream OK log

Sample crash report:
loop0: detected capacity change from 0 to 32768
 ... Log Wrap ... Log Wrap ... Log Wrap ...
read_mapping_page failed!
ERROR: (device loop0): txCommit: 
------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dtree.c:3700:8
index -1 is out of range for type 'struct dtslot[128]'
CPU: 1 UID: 0 PID: 6074 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 ubsan_epilogue+0xa/0x30 lib/ubsan.c:233
 __ubsan_handle_out_of_bounds+0xe8/0xf0 lib/ubsan.c:455
 dtInsertEntry+0x936/0x1430 fs/jfs/jfs_dtree.c:3700
 dtSplitPage+0x290b/0x37c0 fs/jfs/jfs_dtree.c:1596
 dtSplitUp fs/jfs/jfs_dtree.c:1092 [inline]
 dtInsert+0x107a/0x5de0 fs/jfs/jfs_dtree.c:871
 jfs_mkdir+0x783/0xb00 fs/jfs/namei.c:270
 vfs_mkdir+0x52c/0x5d0 fs/namei.c:5139
 do_mkdirat+0x281/0x4c0 fs/namei.c:5173
 __do_sys_mkdirat fs/namei.c:5195 [inline]
 __se_sys_mkdirat fs/namei.c:5193 [inline]
 __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:5193
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7febb3dd9b97
Code: 00 66 90 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 db f7 ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 b8 02 01 00 00 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:00007fff3a6059f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fff3a605a80 RCX: 00007febb3dd9b97
RDX: 00000000000001ff RSI: 0000200000000540 RDI: 00000000ffffff9c
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000540
R13: 00007fff3a605a40 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
---[ end trace ]---

Crashes (2750):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/19 05:00 upstream e84d960149e7 20d37d28 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2025/12/27 19:25 upstream c53f467229a7 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2025/12/02 18:40 upstream 4a26e7032d7d d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2025/04/30 14:58 upstream b6ea1680d0ac 85a5a23f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2025/04/30 13:24 upstream b6ea1680d0ac 85a5a23f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2025/04/30 12:06 upstream b6ea1680d0ac 85a5a23f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2025/04/30 10:58 upstream b6ea1680d0ac 85a5a23f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2024/10/10 11:56 upstream d3d1556696c1 0278d004 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2025/08/24 11:23 upstream 8d245acc1e88 bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs KASAN: slab-out-of-bounds Read in dtInsertEntry
2025/07/26 02:07 upstream 2942242dde89 fb8f743d .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs KASAN: slab-out-of-bounds Read in dtInsertEntry
2025/07/06 12:34 upstream 1f988d0788f5 4f67c4ae .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs KASAN: slab-out-of-bounds Read in dtInsertEntry
2025/06/26 00:48 upstream 92ca6c498a5e 26d77996 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs KASAN: slab-out-of-bounds Read in dtInsertEntry
2025/05/15 14:21 upstream c94d59a126cb d6b2ee52 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs KASAN: slab-out-of-bounds Read in dtInsertEntry
2026/02/08 15:56 upstream e7aa57247700 4c131dc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/08 14:36 upstream e7aa57247700 4c131dc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/06 22:35 upstream b7ff7151e653 97745f52 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/06 16:27 upstream b7ff7151e653 97745f52 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/06 02:51 upstream 8fdb05de0e2d f03c4191 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/06 01:30 upstream 8fdb05de0e2d f03c4191 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/05 18:12 upstream f14faaf3a1fb 4936e85c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/05 01:54 upstream 5fd0a1df5d05 ea10c935 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/05 00:40 upstream 5fd0a1df5d05 ea10c935 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/04 23:24 upstream 5fd0a1df5d05 ea10c935 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/04 22:04 upstream 5fd0a1df5d05 ea10c935 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/04 19:07 upstream 5fd0a1df5d05 ea10c935 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/04 02:12 upstream de0674d9bc69 42b01fab .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/03 02:39 upstream dee65f79364c d78927dd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/02 04:42 upstream 9f2693489ef8 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/01 13:58 upstream 162b42445b58 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/01 05:53 upstream 162b42445b58 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/31 11:06 upstream 283073725700 c75a2f6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/31 05:45 upstream 283073725700 c75a2f6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/31 04:58 upstream 283073725700 c75a2f6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/30 19:28 upstream 4d310797262f ae7dc18c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/30 05:03 upstream 4d310797262f bfa73b7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/29 08:38 upstream 8dfce8991b95 0adc945e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/27 03:47 upstream fcb70a56f4d8 efb3e894 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/26 16:52 upstream 63804fed149a a4c52dd6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/25 18:38 upstream d91a46d6805a 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/25 13:08 upstream 5dbeeb268b63 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/25 10:55 upstream 5dbeeb268b63 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/23 18:42 upstream c072629f05d7 e2b1b6e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/23 00:03 upstream a66191c590b3 82c9c083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/21 23:52 upstream cf38b2340c0e 8fc37797 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/21 18:03 upstream 6c790212c588 8fc37797 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/21 01:44 upstream c03e9c42ae8f 06648d9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/20 18:24 upstream 24d479d26b25 06648d9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/07 18:35 upstream f0b9d8eb98df d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2025/12/25 23:58 upstream ccd1cdca5cd4 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2024/09/29 19:01 upstream e7ed34365879 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/07 10:17 upstream 2687c848e578 f20fc9f9 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/06 09:54 upstream 8fdb05de0e2d f03c4191 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/03 16:29 upstream 6bd9ed02871f 6df4c87a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/03 13:04 upstream 6bd9ed02871f 6df4c87a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/02 19:24 upstream 18f7fcd5e69a 018ebef2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/02 07:37 upstream 9f2693489ef8 6b8752f2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/29 19:45 upstream 8dfce8991b95 aeb6fdd5 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/28 15:27 upstream 1f97d9dcf536 004c195c .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/27 15:15 upstream fcb70a56f4d8 43e1df1d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/24 19:50 upstream 62085877ae65 40acda8a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/23 12:20 upstream c072629f05d7 319d7797 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/22 19:46 upstream a66191c590b3 a16aed1d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/22 06:08 upstream cf38b2340c0e 8fc37797 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/18 07:23 upstream 54e82e93ca93 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/19 17:27 linux-next 46fe65a2c28e d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/02/06 08:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59e4d31a0470 f03c4191 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/26 20:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59e4d31a0470 a4c52dd6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/22 22:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59e4d31a0470 2367ed1e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/19 01:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59e4d31a0470 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 UBSAN: array-index-out-of-bounds in dtInsertEntry
2026/01/22 14:36 upstream a66191c590b3 a16aed1d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root KASAN: slab-out-of-bounds Read in dtInsertEntry
* Struck through repros no longer work on HEAD.