syzbot


kernel BUG in dbFindLeaf

Status: upstream: reported C repro on 2023/07/08 22:09
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+f0b9c8f03467ee4e5852@syzkaller.appspotmail.com
First crash: 1029d, last: 6d03h
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/12/31 upstream (ToT) 453f5db0619e C [report] kernel BUG in dbFindLeaf
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in dbFindLeaf jfs -1 C inconclusive 6970 41m 1314d 0/29 upstream: reported C repro on 2022/09/26 11:46
linux-4.19 kernel BUG in dbFindLeaf -1 1 1637d 1637d 0/1 auto-closed as invalid on 2022/03/07 18:32
linux-4.14 kernel BUG in dbFindLeaf -1 C 3 1166d 1308d 0/1 upstream: reported C repro on 2022/10/02 18:35
linux-6.1 kernel BUG in dbFindLeaf origin:upstream -1 C error 40 111d 1002d 0/3 upstream: reported C repro on 2023/08/05 07:19
linux-6.6 kernel BUG in dbFindLeaf origin:upstream -1 C error 11 28d 134d 0/2 upstream: reported C repro on 2025/12/19 23:48
linux-4.19 kernel BUG in dbFindLeaf (2) -1 C error 6 1270d 1309d 0/1 upstream: reported C repro on 2022/10/02 04:21
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/04/10 03:39 12m retest repro linux-5.15.y report log
2026/03/26 20:21 15m retest repro linux-5.15.y report log
2026/03/26 20:19 10m retest repro linux-5.15.y report log
2026/03/10 11:21 12m retest repro linux-5.15.y report log
2026/03/10 11:21 10m retest repro linux-5.15.y report log
2026/03/10 11:21 28m retest repro linux-5.15.y report log
2026/01/29 10:35 10m retest repro linux-5.15.y report log
2026/01/15 09:50 34m retest repro linux-5.15.y report log
2025/12/29 10:43 11m retest repro linux-5.15.y report log
2025/12/29 10:43 12m retest repro linux-5.15.y report log

Sample crash report:
loop0: detected capacity change from 0 to 32768
BUG at fs/jfs/jfs_dmap.c:3051 assert(n < 4)
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_dmap.c:3051!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 4308 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
RIP: 0010:dbFindLeaf+0x517/0x520 fs/jfs/jfs_dmap.c:3051
Code: fe e9 51 ff ff ff e8 38 bc a9 fe 48 c7 c7 00 2d 62 8a 48 c7 c6 80 2a 62 8a ba eb 0b 00 00 48 c7 c1 00 38 62 8a e8 59 b9 e2 06 <0f> 0b 0f 1f 80 00 00 00 00 55 41 57 41 56 41 55 41 54 53 48 83 ec
RSP: 0018:ffffc90002fefac0 EFLAGS: 00010246
RAX: 000000000000002b RBX: 0000000000000000 RCX: 714d659229908b00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000003 R08: ffff8880b9033d7f R09: 1ffff110172067af
R10: dffffc0000000000 R11: ffffed10172067b0 R12: 000000000000000a
R13: 0000000000000008 R14: 0000000000000005 R15: 0000000000000155
FS:  000055557b036500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8259865000 CR3: 000000002c6be000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 dbAllocDmapLev+0x61/0x3c0 fs/jfs/jfs_dmap.c:2037
 dbAllocCtl+0x148/0x9b0 fs/jfs/jfs_dmap.c:1893
 dbAllocAG+0xc23/0xfe0 fs/jfs/jfs_dmap.c:1540
 dbDiscardAG+0x2c5/0x8e0 fs/jfs/jfs_dmap.c:1676
 jfs_ioc_trim+0x41e/0x680 fs/jfs/jfs_discard.c:106
 jfs_ioctl+0x2b6/0x3c0 fs/jfs/ioctl.c:132
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f70d7c58dd9
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:00007ffda599bd88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f70d7ed1fa0 RCX: 00007f70d7c58dd9
RDX: 0000200000000040 RSI: 00000000c0185879 RDI: 0000000000000004
RBP: 00007f70d7ceed69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f70d7ed1fac R14: 00007f70d7ed1fa0 R15: 00007f70d7ed1fa0
 </TASK>
Modules linked in:
---[ end trace 71b2921baf624fc0 ]---
RIP: 0010:dbFindLeaf+0x517/0x520 fs/jfs/jfs_dmap.c:3051
Code: fe e9 51 ff ff ff e8 38 bc a9 fe 48 c7 c7 00 2d 62 8a 48 c7 c6 80 2a 62 8a ba eb 0b 00 00 48 c7 c1 00 38 62 8a e8 59 b9 e2 06 <0f> 0b 0f 1f 80 00 00 00 00 55 41 57 41 56 41 55 41 54 53 48 83 ec
RSP: 0018:ffffc90002fefac0 EFLAGS: 00010246
RAX: 000000000000002b RBX: 0000000000000000 RCX: 714d659229908b00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000003 R08: ffff8880b9033d7f R09: 1ffff110172067af
R10: dffffc0000000000 R11: ffffed10172067b0 R12: 000000000000000a
R13: 0000000000000008 R14: 0000000000000005 R15: 0000000000000155
FS:  000055557b036500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc91daabbc CR3: 000000002c6be000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (27):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/27 05:07 linux-5.15.y b9d57c40a767 9c2d0995 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/12/29 18:56 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/09/18 17:33 linux-5.15.y 43bb85222e53 e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2023/12/31 06:08 linux-5.15.y d93fa2c78854 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2023/07/17 09:27 linux-5.15.y d54cfc420586 35d9ecc5 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2023/07/09 00:14 linux-5.15.y d54cfc420586 668cb1fa .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in dbFindLeaf
2026/04/27 04:33 linux-5.15.y b9d57c40a767 9c2d0995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2026/02/01 21:26 linux-5.15.y 9eec9a14ee10 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/12/30 18:52 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/12/29 17:59 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/12/14 18:44 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/12/10 14:56 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/12/08 07:51 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/11/29 20:38 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/11/09 09:46 linux-5.15.y cc5ec8769306 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/09/25 07:14 linux-5.15.y 43bb85222e53 0abd0691 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/09/25 07:13 linux-5.15.y 43bb85222e53 0abd0691 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/09/25 07:11 linux-5.15.y 43bb85222e53 0abd0691 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/09/25 07:09 linux-5.15.y 43bb85222e53 0abd0691 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/09/18 16:33 linux-5.15.y 43bb85222e53 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/08/18 10:47 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/08/11 16:35 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/05/16 14:53 linux-5.15.y 3b8db0e4f263 cfde8269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/05/10 19:09 linux-5.15.y 3b8db0e4f263 77908e5f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/05/10 19:05 linux-5.15.y 3b8db0e4f263 77908e5f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2025/05/10 19:03 linux-5.15.y 3b8db0e4f263 77908e5f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in dbFindLeaf
2023/07/08 22:08 linux-5.15.y d54cfc420586 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in dbFindLeaf
* Struck through repros no longer work on HEAD.