------------[ cut here ]------------ kernel BUG at fs/reiserfs/journal.c:505! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 4247 Comm: syz.3.42 Not tainted 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/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 : ffff8000205269a0 x29: ffff8000205269c0 x28: ffff800020719000 x27: 0000000000000000 x26: dfff800000000000 x25: ffff800020739318 x24: ffff0000e7fab4e0 x23: ffff80001fdb9048 x22: ffff80001fdb9050 x21: 0000000000000213 x20: ffff0000ed1d2678 x19: ffff0000ed1d2000 x18: 0000000000000000 x17: 0000000000000002 x16: ffff8000082eae30 x15: 0000000000000002 x14: ffff0000cc9ad1c0 x13: 0000000000ff0100 x12: 0000000000080000 x11: 00000000000181ca x10: ffff800023649000 x9 : 00000000000181cb x8 : ffff800008cf2fe8 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : ffff800020526af0 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+0x278/0xdb0 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+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 do_iter_readv_writev+0x420/0x5f8 do_iter_write+0x1b8/0x66c fs/read_write.c:855 vfs_writev fs/read_write.c:928 [inline] do_pwritev+0x1ec/0x334 fs/read_write.c:1025 __do_sys_pwritev2 fs/read_write.c:1084 [inline] __se_sys_pwritev2 fs/read_write.c:1075 [inline] __arm64_sys_pwritev2+0xd4/0x108 fs/read_write.c:1075 __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 97ef89ce 17ffff9d 97df4531 (d4210000) ---[ end trace dfa0a862eb10828c ]---