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: 837d, last: 12d
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 (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in dbFindLeaf jfs -1 C inconclusive 4989 3h03m 1122d 0/29 upstream: reported C repro on 2022/09/26 11:46
linux-4.19 kernel BUG in dbFindLeaf -1 1 1445d 1445d 0/1 auto-closed as invalid on 2022/03/07 18:32
linux-4.14 kernel BUG in dbFindLeaf -1 C 3 974d 1116d 0/1 upstream: reported C repro on 2022/10/02 18:35
linux-6.1 kernel BUG in dbFindLeaf origin:upstream -1 C error 15 18d 810d 0/3 upstream: reported C repro on 2023/08/05 07:19
linux-4.19 kernel BUG in dbFindLeaf (2) -1 C error 6 1078d 1117d 0/1 upstream: reported C repro on 2022/10/02 04:21
Last patch testing requests (9)
Created Duration User Patch Repo Result
2025/10/11 02:29 15m retest repro linux-5.15.y report log
2025/10/11 02:29 43m retest repro linux-5.15.y report log
2025/10/11 02:29 11m retest repro linux-5.15.y report log
2025/08/09 08:22 10m retest repro linux-5.15.y report log
2025/07/13 12:10 13m retest repro linux-5.15.y report log
2025/07/13 12:10 9m retest repro linux-5.15.y report log
2025/05/31 05:12 10m retest repro linux-5.15.y report log
2025/05/04 05:12 15m retest repro linux-5.15.y report log
2025/05/04 05:12 13m 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: 4334 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:dbFindLeaf+0x517/0x520 fs/jfs/jfs_dmap.c:3051
Code: fe e9 51 ff ff ff e8 48 a1 ad fe 48 c7 c7 40 f3 41 8a 48 c7 c6 c0 f0 41 8a ba eb 0b 00 00 48 c7 c1 40 fe 41 8a e8 09 45 d4 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:ffffc90002fbfab8 EFLAGS: 00010246
RAX: 000000000000002b RBX: 0000000000000000 RCX: 99d36d821575af00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000003 R08: dffffc0000000000 R09: ffffed10172067b0
R10: ffffed10172067b0 R11: 1ffff110172067af R12: 000000000000000a
R13: 0000000000000008 R14: 0000000000000005 R15: 0000000000000155
FS:  00005555709e0500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3272ea05f0 CR3: 000000005da08000 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+0x2ca/0x8e0 fs/jfs/jfs_dmap.c:1676
 jfs_ioc_trim+0x41e/0x680 fs/jfs/jfs_discard.c:106
 jfs_ioctl+0x2a5/0x3a0 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:0x7f3272fc6ba9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc06b5b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f327320dfa0 RCX: 00007f3272fc6ba9
RDX: 0000200000000080 RSI: 00000000c0185879 RDI: 0000000000000004
RBP: 00007f3273049e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f327320dfa0 R14: 00007f327320dfa0 R15: 0000000000000003
 </TASK>
Modules linked in:
---[ end trace b5a7785d873873e3 ]---
RIP: 0010:dbFindLeaf+0x517/0x520 fs/jfs/jfs_dmap.c:3051
Code: fe e9 51 ff ff ff e8 48 a1 ad fe 48 c7 c7 40 f3 41 8a 48 c7 c6 c0 f0 41 8a ba eb 0b 00 00 48 c7 c1 40 fe 41 8a e8 09 45 d4 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:ffffc90002fbfab8 EFLAGS: 00010246
RAX: 000000000000002b RBX: 0000000000000000 RCX: 99d36d821575af00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000003 R08: dffffc0000000000 R09: ffffed10172067b0
R10: ffffed10172067b0 R11: 1ffff110172067af R12: 000000000000000a
R13: 0000000000000008 R14: 0000000000000005 R15: 0000000000000155
FS:  00005555709e0500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3272ea05f0 CR3: 000000005da08000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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.