syzbot


kernel BUG in balance_leaf

Status: upstream: reported C repro on 2023/01/13 23:48
Subsystems: reiserfs
[Documentation on labels]
Reported-by: syzbot+ca510dce85a9bab385e3@syzkaller.appspotmail.com
First crash: 468d, last: 468d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 kernel BUG in balance_leaf reiserfs C 1 443d 473d 0/1 upstream: reported C repro on 2023/01/08 11:53
upstream kernel BUG in balance_leaf reiserfs C error done 16 126d 478d 26/26 fixed on 2024/01/30 15:47
linux-6.1 kernel BUG in balance_leaf 4 368d 379d 0/3 auto-obsoleted due to no activity on 2023/08/21 17:28

Sample crash report:
REISERFS (device loop0): checking transaction log (loop0)
REISERFS (device loop0): Using r5 hash to sort names
REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage.
REISERFS panic (device loop0): vs-12195 balance_leaf: CFR not initialized
------------[ cut here ]------------
kernel BUG at fs/reiserfs/prints.c:390!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8207 Comm: syz-executor868 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:__reiserfs_panic.cold+0x37/0x8a fs/reiserfs/prints.c:390
Code: 79 88 74 6d e8 f8 d1 6c f9 4c 89 e9 4c 89 f2 4c 89 e6 49 c7 c0 e0 33 2f 8d 48 c7 c7 a0 4e 79 88 e8 47 03 fe ff e8 d7 d1 6c f9 <0f> 0b e8 d0 d1 6c f9 4d 85 e4 49 c7 c6 e0 4c 79 88 75 0a 49 c7 c6
RSP: 0018:ffff88809337edd8 EFLAGS: 00010293
RAX: ffff88809be4a340 RBX: ffff8880aa6322c0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff87f5b399 RDI: ffffed101266fdad
RBP: ffff88809337eea8 R08: 0000000000000049 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff8878c6c0
R13: ffffffff8878cf80 R14: ffffffff88794ce0 R15: 0000000000000000
FS:  00007f80e95df700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4e978e9000 CR3: 000000009c82a000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 balance_leaf+0xaeb3/0xca70 fs/reiserfs/do_balan.c:1450
 do_balance+0x30a/0x760 fs/reiserfs/do_balan.c:1899
 reiserfs_insert_item+0xbf3/0x1010 fs/reiserfs/stree.c:2271
 reiserfs_new_inode+0xe51/0x2180 fs/reiserfs/inode.c:2064
 reiserfs_create+0x346/0x720 fs/reiserfs/namei.c:667
 lookup_open+0x893/0x1a20 fs/namei.c:3235
 do_last fs/namei.c:3327 [inline]
 path_openat+0x1094/0x2df0 fs/namei.c:3537
 do_filp_open+0x18c/0x3f0 fs/namei.c:3567
 do_sys_open+0x3b3/0x520 fs/open.c:1085
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f80e96335a9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f80e95df2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f80e96b97a0 RCX: 00007f80e96335a9
RDX: 0000000000000241 RSI: 0000000020000000 RDI: 00000000ffffff9c
RBP: 00007f80e96862b0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f80e96861b8
R13: 0030656c69662f2e R14: 7366726573696572 R15: 00007f80e96b97a8
Modules linked in:
---[ end trace 741c4c8c18ac03b4 ]---
RIP: 0010:__reiserfs_panic.cold+0x37/0x8a fs/reiserfs/prints.c:390
Code: 79 88 74 6d e8 f8 d1 6c f9 4c 89 e9 4c 89 f2 4c 89 e6 49 c7 c0 e0 33 2f 8d 48 c7 c7 a0 4e 79 88 e8 47 03 fe ff e8 d7 d1 6c f9 <0f> 0b e8 d0 d1 6c f9 4d 85 e4 49 c7 c6 e0 4c 79 88 75 0a 49 c7 c6
RSP: 0018:ffff88809337edd8 EFLAGS: 00010293
RAX: ffff88809be4a340 RBX: ffff8880aa6322c0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff87f5b399 RDI: ffffed101266fdad
RBP: ffff88809337eea8 R08: 0000000000000049 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff8878c6c0
R13: ffffffff8878cf80 R14: ffffffff88794ce0 R15: 0000000000000000
FS:  00007f80e95df700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f80e9684758 CR3: 000000009c82a000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/13 23:48 linux-4.19.y 3f8a27f9e27b 529798b0 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in balance_leaf
* Struck through repros no longer work on HEAD.