REISERFS panic (device loop2): 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: 13528 Comm: syz-executor.2 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 1d ea bd f7 4c 89 e9 4c 89 f2 4c 89 e6 49 c7 c0 a0 d5 d0 91 48 c7 c7 20 43 61 8a e8 1d 28 fd ff e8 fc e9 bd f7 <0f> 0b e8 f5 e9 bd f7 4d 85 e4 49 c7 c6 60 41 61 8a 75 0a 49 c7 c6 RSP: 0018:ffffc90015c96e00 EFLAGS: 00010216 RAX: 000000000001939d RBX: ffff88801f690000 RCX: ffffc900046d8000 RDX: 0000000000040000 RSI: ffffffff89c289b4 RDI: fffff52002b92db2 RBP: ffffc90015c96ed0 R08: 0000000000000049 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffffffff8a60b8a0 R13: ffffffff8a60c280 R14: ffffffff8a614160 R15: 0000000000000000 FS: 00007fb1abb8e700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2fb6dfdfc0 CR3: 000000007c08d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:0x7fb1aae8c0c9 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:00007fb1abb8e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fb1aafabf80 RCX: 00007fb1aae8c0c9 RDX: 0000000000000000 RSI: 0000000000000054 RDI: 0000000020000040 RBP: 00007fb1aaee7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffde06cdadf R14: 00007fb1abb8e300 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 1d ea bd f7 4c 89 e9 4c 89 f2 4c 89 e6 49 c7 c0 a0 d5 d0 91 48 c7 c7 20 43 61 8a e8 1d 28 fd ff e8 fc e9 bd f7 <0f> 0b e8 f5 e9 bd f7 4d 85 e4 49 c7 c6 60 41 61 8a 75 0a 49 c7 c6 RSP: 0018:ffffc90015c96e00 EFLAGS: 00010216 RAX: 000000000001939d RBX: ffff88801f690000 RCX: ffffc900046d8000 RDX: 0000000000040000 RSI: ffffffff89c289b4 RDI: fffff52002b92db2 RBP: ffffc90015c96ed0 R08: 0000000000000049 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffffffff8a60b8a0 R13: ffffffff8a60c280 R14: ffffffff8a614160 R15: 0000000000000000 FS: 00007fb1abb8e700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1647d85000 CR3: 000000007c08d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400