syzbot


kernel BUG in add_missing_indices

Status: upstream: reported on 2026/04/10 03:35
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+23479f83731cac11ece8@syzkaller.appspotmail.com
First crash: 8d18h, last: 8d18h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [jfs?] kernel BUG in add_missing_indices 0 (1) 2026/04/10 03:35

Sample crash report:
BUG at fs/jfs/jfs_dtree.c:2640 assert(p->header.flag & 0x02)
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_dtree.c:2640!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 19459 Comm: syz.2.1265 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
RIP: 0010:add_missing_indices+0xcc9/0xcd0 fs/jfs/jfs_dtree.c:2640
Code: e9 75 fc ff ff e8 27 ea 71 fe 48 c7 c7 a0 ad 8a 8b 48 c7 c6 80 ac 8a 8b ba 50 0a 00 00 48 c7 c1 00 b6 8a 8b e8 48 c7 d4 fd 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc90005197920 EFLAGS: 00010246
RAX: 000000000000003c RBX: ffff88805beee010 RCX: 2ce1a78098c85e00
RDX: ffffc9000e819000 RSI: 00000000000016a5 RDI: 00000000000016a6
RBP: ffffc90005197a30 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffff52000a32ed5 R12: ffff88805beee000
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff1100b7ddc02
FS:  00007f2a0ef656c0(0000) GS:ffff888126332000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2a10d79f00 CR3: 0000000070074000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 jfs_readdir+0x1e34/0x3c10 fs/jfs/jfs_dtree.c:3031
 wrap_directory_iterator+0x99/0xe0 fs/readdir.c:65
 iterate_dir+0x3a5/0x580 fs/readdir.c:108
 __do_sys_getdents fs/readdir.c:327 [inline]
 __se_sys_getdents+0xf1/0x270 fs/readdir.c:312
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2a10d2c819
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:00007f2a0ef65028 EFLAGS: 00000246 ORIG_RAX: 000000000000004e
RAX: ffffffffffffffda RBX: 00007f2a10fa6090 RCX: 00007f2a10d2c819
RDX: 000000000000003a RSI: 0000200000000180 RDI: 0000000000000006
RBP: 00007f2a10dc2c91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2a10fa6128 R14: 00007f2a10fa6090 R15: 00007ffd98bd2fa8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:add_missing_indices+0xcc9/0xcd0 fs/jfs/jfs_dtree.c:2640
Code: e9 75 fc ff ff e8 27 ea 71 fe 48 c7 c7 a0 ad 8a 8b 48 c7 c6 80 ac 8a 8b ba 50 0a 00 00 48 c7 c1 00 b6 8a 8b e8 48 c7 d4 fd 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc90005197920 EFLAGS: 00010246
RAX: 000000000000003c RBX: ffff88805beee010 RCX: 2ce1a78098c85e00
RDX: ffffc9000e819000 RSI: 00000000000016a5 RDI: 00000000000016a6
RBP: ffffc90005197a30 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffff52000a32ed5 R12: ffff88805beee000
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff1100b7ddc02
FS:  00007f2a0ef656c0(0000) GS:ffff888126332000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2a10d79f00 CR3: 0000000070074000 CR4: 00000000003526f0

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/06 03:31 upstream 1791c390149f 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in add_missing_indices
* Struck through repros no longer work on HEAD.