syzbot


kernel BUG in dbBackSplit

Status: upstream: reported on 2024/09/15 17:59
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+af0d2605ff1908d60ca9@syzkaller.appspotmail.com
First crash: 9d06h, last: 9d06h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [jfs?] kernel BUG in dbBackSplit 0 (1) 2024/09/15 17:59

Sample crash report:
read_mapping_page failed!
read_mapping_page failed!
BUG at fs/jfs/jfs_dmap.c:2700 assert(leaf[leafno] == NOFREE)
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_dmap.c:2700!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 UID: 0 PID: 6540 Comm: syz.0.10 Not tainted 6.11.0-rc5-syzkaller-gdf54f4a16f82 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : dbBackSplit+0x50c/0x510 fs/jfs/jfs_dmap.c:2700
lr : dbBackSplit+0x50c/0x510 fs/jfs/jfs_dmap.c:2700
sp : ffff80009b097910
x29: ffff80009b097940 x28: dfff800000000000 x27: 0000000000000074
x26: 0000000000000000 x25: 1fffe0001a90ac1d x24: 00000000000000ff
x23: 0000000000000006 x22: ffff0000d4856076 x21: 0000000000000055
x20: ffff0000d4856010 x19: ffff0000d48560ea x18: 0000000000000008
x17: 0000000000000000 x16: ffff80008b22c470 x15: ffff700011eb116c
x14: 1ffff00011eb116c x13: 0000000000000004 x12: ffffffffffffffff
x11: 0000000000040000 x10: 000000000003ffff
 x9 : 66d0280209d6ee00
x8 : 66d0280209d6ee00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80009b097078 x4 : ffff80008f5fb200 x3 : ffff800080381c08
x2 : 0000000000000000 x1 : 0000000100000000 x0 : 000000000000003c
Call trace:
 dbBackSplit+0x50c/0x510 fs/jfs/jfs_dmap.c:2700
 dbFreeDmap fs/jfs/jfs_dmap.c:2108 [inline]
 dbFree+0x498/0x5b0 fs/jfs/jfs_dmap.c:409
 dbDiscardAG+0x604/0x748 fs/jfs/jfs_dmap.c:1650
 jfs_ioc_trim+0x3cc/0x5d8 fs/jfs/jfs_discard.c:100
 jfs_ioctl+0x338/0x550 fs/jfs/ioctl.c:131
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl fs/ioctl.c:893 [inline]
 __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:893
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598
Code: d004e9a3 91128063 52815182 9592231d (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/11 17:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci df54f4a16f82 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in dbBackSplit
2024/09/11 17:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci df54f4a16f82 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in dbBackSplit
* Struck through repros no longer work on HEAD.