REISERFS (device loop0): 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: 5032 Comm: syz-executor289 Not tainted 6.6.0-rc5-syzkaller-00055-g1c8b86a3799f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:reiserfs_in_journal+0x238/0x720 fs/reiserfs/journal.c:505 Code: 3e c3 5d ff 48 8d 7d 08 48 89 f8 48 c1 e8 03 42 80 3c 30 00 0f 85 16 04 00 00 48 3b 5d 08 75 86 e8 1d c3 5d ff e8 18 c3 5d ff <0f> 0b e8 11 c3 5d ff e8 0c c3 5d ff 48 8b 9b 28 06 00 00 48 b8 00 RSP: 0018:ffffc90003a7f3f8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807aa64000 RCX: 0000000000000000 RDX: ffff88801e881dc0 RSI: ffffffff822a0398 RDI: ffffc90003aa3050 RBP: ffffc90003aa3048 R08: 0000000000000006 R09: 0000000000000213 R10: 0000000000000213 R11: 0000000000000000 R12: 0000000000000213 R13: 0000000000000213 R14: dffffc0000000000 R15: ffff88807e98e000 FS: 0000555555e70380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000b000 CR3: 0000000019738000 CR4: 0000000000350ef0 Call Trace: is_block_in_journal fs/reiserfs/bitmap.c:125 [inline] scan_bitmap_block.constprop.0+0x4b7/0x1080 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+0x2c41/0x5770 fs/reiserfs/bitmap.c:1375 reiserfs_new_unf_blocknrs fs/reiserfs/reiserfs.h:3360 [inline] _allocate_block fs/reiserfs/inode.c:645 [inline] reiserfs_get_block+0xb13/0x47a0 fs/reiserfs/inode.c:756 __block_write_begin_int+0x3c0/0x1560 fs/buffer.c:2120 reiserfs_write_begin+0x351/0xa40 fs/reiserfs/inode.c:2771 generic_perform_write+0x278/0x600 mm/filemap.c:3969 __generic_file_write_iter+0x1f9/0x240 mm/filemap.c:4064 generic_file_write_iter+0xe3/0x350 mm/filemap.c:4090 call_write_iter include/linux/fs.h:1956 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x650/0xe40 fs/read_write.c:584 ksys_write+0x12f/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f06f8ba6679 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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:00007fff907ed538 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fff907ed708 RCX: 00007f06f8ba6679 RDX: 000000000000fea7 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 00007f06f8c1a610 R08: 00007fff907ed708 R09: 00007fff907ed708 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff907ed6f8 R14: 0000000000000001 R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:reiserfs_in_journal+0x238/0x720 fs/reiserfs/journal.c:505 Code: 3e c3 5d ff 48 8d 7d 08 48 89 f8 48 c1 e8 03 42 80 3c 30 00 0f 85 16 04 00 00 48 3b 5d 08 75 86 e8 1d c3 5d ff e8 18 c3 5d ff <0f> 0b e8 11 c3 5d ff e8 0c c3 5d ff 48 8b 9b 28 06 00 00 48 b8 00 RSP: 0018:ffffc90003a7f3f8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807aa64000 RCX: 0000000000000000 RDX: ffff88801e881dc0 RSI: ffffffff822a0398 RDI: ffffc90003aa3050 RBP: ffffc90003aa3048 R08: 0000000000000006 R09: 0000000000000213 R10: 0000000000000213 R11: 0000000000000000 R12: 0000000000000213 R13: 0000000000000213 R14: dffffc0000000000 R15: ffff88807e98e000 FS: 0000555555e70380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000b000 CR3: 0000000019738000 CR4: 0000000000350ef0