REISERFS (device loop1): 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: 1 PID: 4244 Comm: syz-executor.1 Not tainted 5.15.158-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : reiserfs_in_journal+0x94c/0x950 fs/reiserfs/journal.c:505 lr : reiserfs_in_journal+0x94c/0x950 fs/reiserfs/journal.c:505 sp : ffff80001d0c6b20 x29: ffff80001d0c6b40 x28: ffff80001dd39000 x27: 0000000000000000 x26: dfff800000000000 x25: ffff80001dd59318 x24: ffff0000dcdb14e0 x23: ffff80001ad39048 x22: ffff80001ad39050 x21: 0000000000000213 x20: ffff0000dc26a678 x19: ffff0000dc26a000 x18: 0000000000000000 x17: 0000000000000002 x16: ffff8000082e9eec x15: 0000000000000002 x14: ffff0000ce7a1b40 x13: 0000000000ff0100 x12: 0000000000040000 x11: 0000000000005ce5 x10: ffff80001dda9000 x9 : 0000000000005ce6 x8 : ffff800008cec08c x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : ffff80001d0c6c60 x3 : 0000000000000001 x2 : 0000000000000213 x1 : 0000000000000213 x0 : 0000000000000213 Call trace: reiserfs_in_journal+0x94c/0x950 fs/reiserfs/journal.c:505 is_block_in_journal fs/reiserfs/bitmap.c:125 [inline] scan_bitmap_block+0x3bc/0xdb0 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+0x21a8/0x4264 fs/reiserfs/bitmap.c:1375 reiserfs_get_block+0x2580/0x3fd0 fs/reiserfs/inode.c:764 __block_write_begin_int+0x3ec/0x1608 fs/buffer.c:2012 __block_write_begin+0x40/0x54 fs/buffer.c:2062 reiserfs_write_begin+0x3c8/0x654 fs/reiserfs/inode.c:2790 generic_perform_write+0x24c/0x520 mm/filemap.c:3785 __generic_file_write_iter+0x230/0x454 mm/filemap.c:3912 generic_file_write_iter+0xb4/0x1b8 mm/filemap.c:3944 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x87c/0xb3c fs/read_write.c:594 ksys_write+0x15c/0x26c fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:656 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: aa1603e0 97ef8a46 17ffff9d 97df60a1 (d4210000) ---[ end trace 2de2e84f17cb9df8 ]---