syzbot


kernel BUG in dbFindBits

Status: upstream: reported C repro on 2023/11/22 10:15
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+306b27816dcf842bc83d@syzkaller.appspotmail.com
First crash: 149d, last: 4d07h
Bug presence (1)
Date Name Commit Repro Result
2024/02/20 upstream (ToT) b401b621758e C [report] kernel BUG in dbFindBits
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in dbFindLeaf jfs C inconclusive 332 42m 571d 0/26 upstream: reported C repro on 2022/09/26 11:46
linux-5.15 kernel BUG in dbFindBits C 27 3d23h 33d 0/3 upstream: reported C repro on 2024/03/17 13:21

Sample crash report:
loop0: detected capacity change from 0 to 32768
BUG at fs/jfs/jfs_dmap.c:3028 assert(bitno < 32)
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_dmap.c:3028!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4221 Comm: syz-executor714 Not tainted 6.1.78-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3028
lr : dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3028
sp : ffff80001db66b90
x29: ffff80001db66b90 x28: 00000000ffffffff x27: 1ffff00003b6cd7c
x26: dfff800000000000 x25: 0000000000000000 x24: 0000000000000000
x23: ffff800015ddb450 x22: 0000000000000020 x21: 0000000000000000
x20: 0000000000000001 x19: 0000000000000000 x18: ffff80001db660e0
x17: 0000000000000000 x16: ffff800012156ecc x15: 0000000000000000
x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : 291149de4d5d2700
x8 : 291149de4d5d2700 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80001db66498 x4 : ffff800015922b60 x3 : ffff80000aa8ba4c
x2 : ffff0001b437dcd0 x1 : 0000000100000000 x0 : 0000000000000030
Call trace:
 dbFindBits+0x1e0/0x1e4 fs/jfs/jfs_dmap.c:3028
 dbAllocDmapLev+0x194/0x414 fs/jfs/jfs_dmap.c:1983
 dbAllocCtl+0x104/0x844 fs/jfs/jfs_dmap.c:1823
 dbAllocAG+0x208/0xe4c fs/jfs/jfs_dmap.c:1364
 dbAlloc+0x520/0xb68 fs/jfs/jfs_dmap.c:888
 dtSplitUp fs/jfs/jfs_dtree.c:979 [inline]
 dtInsert+0xab0/0x54f4 fs/jfs/jfs_dtree.c:868
 jfs_create+0x698/0xa1c fs/jfs/namei.c:137
 lookup_open fs/namei.c:3484 [inline]
 open_last_lookups fs/namei.c:3552 [inline]
 path_openat+0xeac/0x2548 fs/namei.c:3782
 do_filp_open+0x1bc/0x3cc fs/namei.c:3812
 do_sys_openat2+0x128/0x3d8 fs/open.c:1318
 do_sys_open fs/open.c:1334 [inline]
 __do_sys_openat fs/open.c:1350 [inline]
 __se_sys_openat fs/open.c:1345 [inline]
 __arm64_sys_openat+0x1f0/0x240 fs/open.c:1345
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: 900463a3 91110063 52817a82 959630d7 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/20 02:31 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in dbFindBits
2024/04/15 04:48 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dbFindBits
2024/04/13 00:00 linux-6.1.y bf1e3b1cb1e0 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dbFindBits
2024/04/08 02:25 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dbFindBits
2023/11/22 10:14 linux-6.1.y 69e434a1cb21 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dbFindBits
2024/04/15 11:56 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dbFindBits
2024/04/15 01:53 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dbFindBits
2024/04/11 09:52 linux-6.1.y bf1e3b1cb1e0 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dbFindBits
2024/04/11 06:31 linux-6.1.y bf1e3b1cb1e0 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dbFindBits
2024/04/09 12:22 linux-6.1.y 347385861c50 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dbFindBits
2024/04/06 09:12 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dbFindBits
2024/04/06 00:25 linux-6.1.y 347385861c50 77230c29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dbFindBits
2024/04/04 23:40 linux-6.1.y 347385861c50 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dbFindBits
2024/03/30 18:49 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dbFindBits
2024/03/28 07:26 linux-6.1.y e5cd595e23c1 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dbFindBits
2024/03/26 09:25 linux-6.1.y d7543167affd bcd9b39f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dbFindBits
2024/03/13 12:24 linux-6.1.y 61adba85cc40 db5b7ff0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dbFindBits
2024/02/19 22:20 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dbFindBits
* Struck through repros no longer work on HEAD.