REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage. ------------[ cut here ]------------ kernel BUG at fs/reiserfs/journal.c:505! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8988 Comm: syz-executor.2 Not tainted 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:reiserfs_in_journal+0x4be/0x710 fs/reiserfs/journal.c:505 Code: 39 ec 75 a7 e8 13 d7 61 ff 48 8d 7d 08 48 89 f8 48 c1 e8 03 42 80 3c 30 00 0f 85 79 01 00 00 48 3b 5d 08 75 86 e8 f2 d6 61 ff <0f> 0b e8 eb d6 61 ff 48 8b 9b 78 06 00 00 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc9000caf7400 EFLAGS: 00010212 RAX: 0000000000000ee6 RBX: ffff888019a7a000 RCX: ffffc90003aa1000 RDX: 0000000000040000 RSI: ffffffff8222726e RDI: ffffc9000d273050 RBP: ffffc9000d273048 R08: 0000000000000006 R09: 0000000000000213 R10: 0000000000000213 R11: 00000ec50020ffff R12: 0000000000000213 R13: 0000000000000213 R14: dffffc0000000000 R15: 0000000000001326 FS: 00007ffbfbcad700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdabcf2db8 CR3: 00000000a2016000 CR4: 0000000000350ef0 Call Trace: is_block_in_journal fs/reiserfs/bitmap.c:125 [inline] scan_bitmap_block.constprop.0+0x4aa/0xfd0 fs/reiserfs/bitmap.c:203 scan_bitmap fs/reiserfs/bitmap.c:408 [inline] allocate_without_wrapping_disk fs/reiserfs/bitmap.c:1161 [inline] blocknrs_and_prealloc_arrays_from_search_start fs/reiserfs/bitmap.c:1274 [inline] reiserfs_allocate_blocknrs+0x2d41/0x5790 fs/reiserfs/bitmap.c:1375 reiserfs_new_unf_blocknrs fs/reiserfs/reiserfs.h:3361 [inline] _allocate_block fs/reiserfs/inode.c:645 [inline] reiserfs_get_block+0x9da/0x4100 fs/reiserfs/inode.c:756 __block_write_begin_int+0x3bd/0x14b0 fs/buffer.c:2064 reiserfs_write_begin+0x36e/0xa60 fs/reiserfs/inode.c:2773 generic_cont_expand_simple+0x117/0x1f0 fs/buffer.c:2425 reiserfs_setattr+0x395/0x1370 fs/reiserfs/inode.c:3303 notify_change+0xb2c/0x1180 fs/attr.c:483 do_truncate+0x143/0x200 fs/open.c:66 do_sys_ftruncate+0x53a/0x770 fs/open.c:194 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:0x7ffbfae8c389 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:00007ffbfbcad168 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007ffbfafabf80 RCX: 00007ffbfae8c389 RDX: 0000000000000000 RSI: 0000000002007ffb RDI: 0000000000000005 RBP: 00007ffbfaed7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdd4a49c4f R14: 00007ffbfbcad300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:reiserfs_in_journal+0x4be/0x710 fs/reiserfs/journal.c:505 Code: 39 ec 75 a7 e8 13 d7 61 ff 48 8d 7d 08 48 89 f8 48 c1 e8 03 42 80 3c 30 00 0f 85 79 01 00 00 48 3b 5d 08 75 86 e8 f2 d6 61 ff <0f> 0b e8 eb d6 61 ff 48 8b 9b 78 06 00 00 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc9000caf7400 EFLAGS: 00010212 RAX: 0000000000000ee6 RBX: ffff888019a7a000 RCX: ffffc90003aa1000 RDX: 0000000000040000 RSI: ffffffff8222726e RDI: ffffc9000d273050 RBP: ffffc9000d273048 R08: 0000000000000006 R09: 0000000000000213 R10: 0000000000000213 R11: 00000ec50020ffff R12: 0000000000000213 R13: 0000000000000213 R14: dffffc0000000000 R15: 0000000000001326 FS: 00007ffbfbcad700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2888d88218 CR3: 00000000a2016000 CR4: 0000000000350ef0