REISERFS panic (device loop1): 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: 1 PID: 6750 Comm: syz-executor.1 Not tainted 6.2.0-rc3-syzkaller-00009-g5a41237ad1d4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__reiserfs_panic+0x12f/0x140 fs/reiserfs/prints.c:390 Code: 00 51 03 8b 48 0f 44 c8 48 0f 44 d8 48 c7 c7 c0 51 03 8b 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 40 56 16 92 31 c0 e8 61 4c 83 08 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41 RSP: 0018:ffffc9000387e5e0 EFLAGS: 00010246 RAX: 0000000000000049 RBX: ffffffff8b02e560 RCX: 2a809f52ff015200 RDX: ffffc90005aeb000 RSI: 0000000000005eb7 RDI: 0000000000005eb8 RBP: ffffc9000387e6d0 R08: ffffffff816f2c9d R09: fffff5200070fc75 R10: fffff5200070fc75 R11: 1ffff9200070fc74 R12: ffffffff8b02e580 R13: ffffc9000387e600 R14: ffffffff8cc71480 R15: ffff888029abe6a8 FS: 00007f3c425fe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe84306e000 CR3: 0000000026a41000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: balance_leaf+0x109eb/0x123a0 fs/reiserfs/do_balan.c:1439 do_balance+0x2d6/0x8d0 fs/reiserfs/do_balan.c:1888 reiserfs_insert_item+0xb54/0xcb0 fs/reiserfs/stree.c:2261 add_save_link+0x44e/0x780 fs/reiserfs/super.c:495 reiserfs_truncate_file+0x459/0x790 fs/reiserfs/inode.c:2309 reiserfs_setattr+0xd73/0x1200 fs/reiserfs/inode.c:3395 notify_change+0xe50/0x1100 fs/attr.c:482 do_truncate+0x200/0x2f0 fs/open.c:65 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x272b/0x2dd0 fs/namei.c:3714 do_filp_open+0x264/0x4f0 fs/namei.c:3741 do_sys_openat2+0x124/0x4e0 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+0x11f/0x160 fs/open.c:1396 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3c43a8c0c9 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:00007f3c425fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f3c43babf80 RCX: 00007f3c43a8c0c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007f3c43ae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc921f790f R14: 00007f3c425fe300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__reiserfs_panic+0x12f/0x140 fs/reiserfs/prints.c:390 Code: 00 51 03 8b 48 0f 44 c8 48 0f 44 d8 48 c7 c7 c0 51 03 8b 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 40 56 16 92 31 c0 e8 61 4c 83 08 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41 RSP: 0018:ffffc9000387e5e0 EFLAGS: 00010246 RAX: 0000000000000049 RBX: ffffffff8b02e560 RCX: 2a809f52ff015200 RDX: ffffc90005aeb000 RSI: 0000000000005eb7 RDI: 0000000000005eb8 RBP: ffffc9000387e6d0 R08: ffffffff816f2c9d R09: fffff5200070fc75 R10: fffff5200070fc75 R11: 1ffff9200070fc74 R12: ffffffff8b02e580 R13: ffffc9000387e600 R14: ffffffff8cc71480 R15: ffff888029abe6a8 FS: 00007f3c425fe700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01bbf1000 CR3: 0000000026a41000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400