syzbot


kernel BUG in balance_leaf

Status: auto-obsoleted due to no activity on 2023/08/21 17:28
Reported-by: syzbot+20fd8668391782c08671@syzkaller.appspotmail.com
First crash: 602d, last: 592d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 kernel BUG in balance_leaf reiserfs C 1 667d 697d 0/1 upstream: reported C repro on 2023/01/08 11:53
upstream kernel BUG in balance_leaf reiserfs C error done 16 350d 701d 25/28 fixed on 2024/01/30 15:47
linux-4.19 kernel BUG in balance_leaf reiserfs C error 1 692d 692d 0/1 upstream: reported C repro on 2023/01/13 23:48
linux-5.15 kernel BUG in balance_leaf 1 60d 60d 0/3 upstream: reported on 2024/10/06 15:53

Sample crash report:
REISERFS panic (device loop4): vs-12195 balance_leaf: CFR not initialized
------------[ cut here ]------------
kernel BUG at fs/reiserfs/prints.c:390!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 8681 Comm: syz-executor.4 Not tainted 6.1.25-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __reiserfs_panic+0x150/0x154 fs/reiserfs/prints.c:384
lr : __reiserfs_panic+0x150/0x154 fs/reiserfs/prints.c:384
sp : ffff8000253a63a0
x29: ffff8000253a6460 x28: ffff8000253a6cf8 x27: 0000000000000069
x26: dfff800000000000 x25: 0000000000000002 x24: ffff8000253a6420
x23: ffff8000253a63e0 x22: ffff80001232bd00 x21: ffff0000d7544000
x20: ffff80001232bce0 x19: ffff800014cc2827 x18: 1fffe000368b6b76
x17: ffff80001557d000 x16: ffff8000120dc5fc x15: ffff0001b45b5bbc
x14: 1ffff00002ab00b0 x13: dfff800000000000 x12: 0000000000000001
x11: ff808000083439b0 x10: 0000000000000000 x9 : 2b02c2e49b33c700
x8 : 2b02c2e49b33c700 x7 : ffff800008279fb8 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff80000aa6b40c
x2 : ffff0001b45b5cd0 x1 : 0000000100000000 x0 : 0000000000000049
Call trace:
 __reiserfs_panic+0x150/0x154 fs/reiserfs/prints.c:384
 balance_leaf+0xd1cc/0xe860 fs/reiserfs/do_balan.c:1439
 do_balance+0x27c/0x788 fs/reiserfs/do_balan.c:1888
 reiserfs_insert_item+0x940/0xa84 fs/reiserfs/stree.c:2261
 add_save_link+0x390/0x678 fs/reiserfs/super.c:495
 reiserfs_truncate_file+0x4f4/0xb1c fs/reiserfs/inode.c:2309
 reiserfs_setattr+0xb58/0x101c fs/reiserfs/inode.c:3395
 notify_change+0xc24/0xec0 fs/attr.c:482
 do_truncate+0x1c0/0x28c fs/open.c:65
 handle_truncate fs/namei.c:3216 [inline]
 do_open fs/namei.c:3561 [inline]
 path_openat+0x1fa0/0x2548 fs/namei.c:3714
 do_filp_open+0x1bc/0x3cc fs/namei.c:3741
 do_sys_openat2+0x128/0x3d8 fs/open.c:1310
 do_sys_open fs/open.c:1326 [inline]
 __do_sys_openat fs/open.c:1342 [inline]
 __se_sys_openat fs/open.c:1337 [inline]
 __arm64_sys_openat+0x1f0/0x240 fs/open.c:1337
 __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:581
Code: d0084dc5 911d00a5 aa1303e4 95c6b953 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/23 17:27 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in balance_leaf
2023/04/23 03:29 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in balance_leaf
2023/04/15 20:37 linux-6.1.y 0102425ac76b ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in balance_leaf
2023/04/13 03:03 linux-6.1.y 543aff194ab6 82d5e53e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in balance_leaf
* Struck through repros no longer work on HEAD.