reiserfs: enabling write barrier flush mode 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: 5787 Comm: syz-executor.4 Not tainted 5.15.152-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+0x94c/0x950 fs/reiserfs/journal.c:505 lr : reiserfs_in_journal+0x94c/0x950 fs/reiserfs/journal.c:505 sp : ffff80001d0e6980 x29: ffff80001d0e69a0 x28: ffff80001d3f9000 x27: 0000000000000000 x26: dfff800000000000 x25: ffff80001d419318 x24: ffff0000d5cdb4e0 x23: ffff80001a2f9000 x22: ffff80001a2f9008 x21: 0000000000000213 x20: ffff0000d2f24678 x19: ffff0000d2f24000 x18: 0000000000000000 x17: 0000000000000002 x16: ffff8000082e96ac x15: 0000000000000002 x14: ffff0000c951b680 x13: 0000000000ff0100 x12: 0000000000040000 x11: 0000000000017c34 x10: ffff8000220cf000 x9 : 0000000000017c35 x8 : ffff800008ce4010 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : ffff80001d0e6ad0 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/0x664 fs/read_write.c:855 vfs_writev fs/read_write.c:928 [inline] do_writev+0x220/0x3ec fs/read_write.c:971 __do_sys_writev fs/read_write.c:1044 [inline] __se_sys_writev fs/read_write.c:1041 [inline] __arm64_sys_writev+0x80/0x94 fs/read_write.c:1041 __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 97efa26e 17ffff9d 97df7a38 (d4210000) ---[ end trace 0ffe405b9ff518e8 ]---