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: 29297 Comm: syz-executor.4 Not tainted 6.2.0-next-20230302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 RIP: 0010:__reiserfs_panic+0xf7/0x150 fs/reiserfs/prints.c:390 Code: 64 ff 4d 89 e8 4c 89 f1 4c 89 e2 48 8d b3 a8 06 00 00 49 c7 c1 20 1f ed 91 48 c7 c7 80 cb 61 8a e8 ae af 48 ff e8 19 ed 64 ff <0f> 0b 49 c7 c6 e0 c9 61 8a 4d 89 f4 eb c5 e8 06 ed 64 ff 4d 85 e4 RSP: 0018:ffffc9000c006e00 EFLAGS: 00010216 RAX: 0000000000003d96 RBX: ffff888022e40000 RCX: ffffc9000dbb5000 RDX: 0000000000040000 RSI: ffffffff821fcaf7 RDI: 0000000000000005 RBP: ffffc9000c006ed0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8a614160 R13: ffffffff8a614b40 R14: ffffffff8a61ca20 R15: 0000000000000000 FS: 00007fe7d145c700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe7d143b718 CR3: 0000000018a9c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: balance_leaf+0xd35f/0xddc0 fs/reiserfs/do_balan.c:1439 do_balance+0x319/0x810 fs/reiserfs/do_balan.c:1888 reiserfs_insert_item+0xd84/0x11a0 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+0xddf/0x1370 fs/reiserfs/inode.c:3395 notify_change+0xb2c/0x1180 fs/attr.c:482 do_truncate+0x143/0x200 fs/open.c:66 handle_truncate fs/namei.c:3219 [inline] do_open fs/namei.c:3564 [inline] path_openat+0x2083/0x2750 fs/namei.c:3715 do_filp_open+0x1ba/0x410 fs/namei.c:3742 do_sys_openat2+0x16d/0x4c0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_creat fs/open.c:1440 [inline] __se_sys_creat fs/open.c:1434 [inline] __x64_sys_creat+0xcd/0x120 fs/open.c:1434 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:0x7fe7d068c0f9 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:00007fe7d145c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fe7d07abf80 RCX: 00007fe7d068c0f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007fe7d06e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe11edb41f R14: 00007fe7d145c300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__reiserfs_panic+0xf7/0x150 fs/reiserfs/prints.c:390 Code: 64 ff 4d 89 e8 4c 89 f1 4c 89 e2 48 8d b3 a8 06 00 00 49 c7 c1 20 1f ed 91 48 c7 c7 80 cb 61 8a e8 ae af 48 ff e8 19 ed 64 ff <0f> 0b 49 c7 c6 e0 c9 61 8a 4d 89 f4 eb c5 e8 06 ed 64 ff 4d 85 e4 RSP: 0018:ffffc9000c006e00 EFLAGS: 00010216 RAX: 0000000000003d96 RBX: ffff888022e40000 RCX: ffffc9000dbb5000 RDX: 0000000000040000 RSI: ffffffff821fcaf7 RDI: 0000000000000005 RBP: ffffc9000c006ed0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8a614160 R13: ffffffff8a614b40 R14: ffffffff8a61ca20 R15: 0000000000000000 FS: 00007fe7d145c700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d2eb2df1a0 CR3: 0000000018a9c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400