REISERFS (device loop4): Using r5 hash to sort names REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. REISERFS panic (device loop4): 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: 2358 Comm: syz-executor.4 Not tainted 6.2.0-rc3-syzkaller-00030-ge8f60cd7db24 #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: 61 8a 74 6d e8 55 0a be f7 4c 89 e9 4c 89 f2 4c 89 e6 49 c7 c0 20 ab d1 91 48 c7 c7 a0 71 61 8a e8 10 1f fd ff e8 34 0a be f7 <0f> 0b e8 2d 0a be f7 4d 85 e4 49 c7 c6 e0 6f 61 8a 75 0a 49 c7 c6 RSP: 0018:ffffc90015196e00 EFLAGS: 00010216 RAX: 000000000000ab0d RBX: ffff88807db8a000 RCX: ffffc9000ddbe000 RDX: 0000000000040000 RSI: ffffffff89c3482c RDI: fffff52002a32db2 RBP: ffffc90015196ed0 R08: 0000000000000049 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8a60e720 R13: ffffffff8a60f100 R14: ffffffff8a616fe0 R15: 0000000000000000 FS: 00007fcdff27d700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32728000 CR3: 000000002a56c000 CR4: 0000000000350ef0 Call Trace: balance_leaf+0xb78c/0xde40 fs/reiserfs/do_balan.c:1439 do_balance+0x319/0x810 fs/reiserfs/do_balan.c:1888 reiserfs_insert_item+0xdb2/0x11b0 fs/reiserfs/stree.c:2261 add_save_link+0x38d/0x620 fs/reiserfs/super.c:495 reiserfs_truncate_file+0xad4/0x1070 fs/reiserfs/inode.c:2309 reiserfs_setattr+0xed3/0x1460 fs/reiserfs/inode.c:3395 notify_change+0xca7/0x1420 fs/attr.c:482 do_truncate+0x143/0x200 fs/open.c:65 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x2157/0x2a50 fs/namei.c:3714 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_creat fs/open.c:1402 [inline] __se_sys_creat fs/open.c:1396 [inline] __x64_sys_creat+0xcd/0x120 fs/open.c:1396 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fcdfe48c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007fcdff27d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fcdfe5abf80 RCX: 00007fcdfe48c0c9 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000020000100 RBP: 00007fcdfe4e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdbd9c3f4f R14: 00007fcdff27d300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__reiserfs_panic.cold+0x37/0x8a fs/reiserfs/prints.c:390 Code: 61 8a 74 6d e8 55 0a be f7 4c 89 e9 4c 89 f2 4c 89 e6 49 c7 c0 20 ab d1 91 48 c7 c7 a0 71 61 8a e8 10 1f fd ff e8 34 0a be f7 <0f> 0b e8 2d 0a be f7 4d 85 e4 49 c7 c6 e0 6f 61 8a 75 0a 49 c7 c6 RSP: 0018:ffffc90015196e00 EFLAGS: 00010216 RAX: 000000000000ab0d RBX: ffff88807db8a000 RCX: ffffc9000ddbe000 RDX: 0000000000040000 RSI: ffffffff89c3482c RDI: fffff52002a32db2 RBP: ffffc90015196ed0 R08: 0000000000000049 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8a60e720 R13: ffffffff8a60f100 R14: ffffffff8a616fe0 R15: 0000000000000000 FS: 00007fcdff27d700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1af744a718 CR3: 000000002a56c000 CR4: 0000000000350ef0