REISERFS (device loop0): journal params: device loop0, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop0): checking transaction log (loop0) REISERFS (device loop0): Using tea hash to sort names 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: 1 PID: 5950 Comm: syz.0.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:reiserfs_in_journal+0xa4e/0xa50 fs/reiserfs/journal.c:505 Code: 24 30 80 e2 07 80 c2 03 38 ca 0f 8c 73 fe ff ff 48 8b 7c 24 30 48 89 c3 e8 4f e1 b6 ff 48 89 d8 e9 5e fe ff ff e8 a2 95 5f ff <0f> 0b 66 0f 1f 00 55 41 57 41 56 41 55 41 54 53 50 49 89 fc 48 bd RSP: 0018:ffffc90003297008 EFLAGS: 00010293 RAX: ffffffff822601fe RBX: ffff88802cb0c000 RCX: ffff8880264bda00 RDX: 0000000000000000 RSI: 0000000000000213 RDI: 0000000000000213 RBP: ffff88802cb0c630 R08: ffffc90003297140 R09: 1ffff1100ddc5608 R10: dffffc0000000000 R11: ffffed100ddc5609 R12: ffffc90003509048 R13: ffffc90003509050 R14: dffffc0000000000 R15: 0000000000000213 FS: 000055556ae8d500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d963fff CR3: 0000000077587000 CR4: 00000000003506e0 Call Trace: is_block_in_journal fs/reiserfs/bitmap.c:125 [inline] scan_bitmap_block+0x48a/0xde0 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+0x370f/0x53c0 fs/reiserfs/bitmap.c:1375 _allocate_block fs/reiserfs/inode.c:-1 [inline] reiserfs_get_block+0x2659/0x3ed0 fs/reiserfs/inode.c:756 __block_write_begin_int+0x566/0x1ad0 fs/buffer.c:2124 reiserfs_write_begin+0x20a/0x4c0 fs/reiserfs/inode.c:2771 generic_perform_write+0x2fb/0x5b0 mm/filemap.c:4016 generic_file_write_iter+0xaf/0x2e0 mm/filemap.c:4137 call_write_iter include/linux/fs.h:2018 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x43b/0x940 fs/read_write.c:584 ksys_write+0x147/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fae7e38ec29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff913e0e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fae7e5d5fa0 RCX: 00007fae7e38ec29 RDX: 000000000208e24b RSI: 0000200000000240 RDI: 0000000000000004 RBP: 00007fae7e411e41 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fae7e5d5fa0 R14: 00007fae7e5d5fa0 R15: 0000000000000003 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:reiserfs_in_journal+0xa4e/0xa50 fs/reiserfs/journal.c:505 Code: 24 30 80 e2 07 80 c2 03 38 ca 0f 8c 73 fe ff ff 48 8b 7c 24 30 48 89 c3 e8 4f e1 b6 ff 48 89 d8 e9 5e fe ff ff e8 a2 95 5f ff <0f> 0b 66 0f 1f 00 55 41 57 41 56 41 55 41 54 53 50 49 89 fc 48 bd RSP: 0018:ffffc90003297008 EFLAGS: 00010293 RAX: ffffffff822601fe RBX: ffff88802cb0c000 RCX: ffff8880264bda00 RDX: 0000000000000000 RSI: 0000000000000213 RDI: 0000000000000213 RBP: ffff88802cb0c630 R08: ffffc90003297140 R09: 1ffff1100ddc5608 R10: dffffc0000000000 R11: ffffed100ddc5609 R12: ffffc90003509048 R13: ffffc90003509050 R14: dffffc0000000000 R15: 0000000000000213 FS: 000055556ae8d500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d963fff CR3: 0000000077587000 CR4: 00000000003506e0