REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. ------------[ cut here ]------------ kernel BUG at fs/reiserfs/journal.c:505! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 10310 Comm: syz-executor.4 Not tainted 6.1.81-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : reiserfs_in_journal+0x9a4/0x9a8 fs/reiserfs/journal.c:505 lr : reiserfs_in_journal+0x9a4/0x9a8 fs/reiserfs/journal.c:505 sp : ffff800026686b90 x29: ffff800026686bc0 x28: ffff80001de39000 x27: 1fffe000252fe8cf x26: dfff800000000000 x25: ffff80001de59318 x24: 0000000000080000 x23: ffff80001dca9000 x22: ffff80001dca9008 x21: 0000000000000213 x20: ffff0001297f4678 x19: ffff0001297f4000 x18: 1ffff00003bc7205 x17: ffff8000188bb000 x16: ffff8000083030ac x15: 0000000000000002 x14: 0000000000000002 x13: ffff0000d443b780 x12: 0000000000040000 x11: 00000000000052e7 x10: ffff800025eeb000 x9 : ffff800008daf680 x8 : 00000000000052e8 x7 : ffff800008dd1260 x6 : 0000000000000000 x5 : 0000000000000001 x4 : ffff800026686cf0 x3 : 0000000000000001 x2 : 0000000000000213 x1 : 0000000000000213 x0 : 0000000000000213 Call trace: reiserfs_in_journal+0x9a4/0x9a8 fs/reiserfs/journal.c:505 is_block_in_journal fs/reiserfs/bitmap.c:125 [inline] scan_bitmap_block+0x268/0xdc8 fs/reiserfs/bitmap.c:188 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+0x21b8/0x4260 fs/reiserfs/bitmap.c:1375 reiserfs_get_block+0x2804/0x45d8 fs/reiserfs/inode.c:756 __block_write_begin_int+0x340/0x13b4 fs/buffer.c:1991 __block_write_begin+0x7c/0xa0 fs/buffer.c:2041 reiserfs_write_begin+0x328/0x71c fs/reiserfs/inode.c:2775 generic_perform_write+0x278/0x55c mm/filemap.c:3817 __generic_file_write_iter+0x168/0x388 mm/filemap.c:3945 generic_file_write_iter+0xb8/0x2b4 mm/filemap.c:3977 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x610/0x914 fs/read_write.c:584 ksys_write+0x15c/0x26c fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:646 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: aa1503e0 97ef1e72 17ffff95 97dd2a00 (d4210000) ---[ end trace 0000000000000000 ]---