REISERFS (device loop1): Using r5 hash to sort names REISERFS (device loop1): using 3.5.x disk format 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: 0 PID: 7509 Comm: syz-executor.1 Not tainted 6.1.84-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+0x9a4/0x9a8 fs/reiserfs/journal.c:505 lr : reiserfs_in_journal+0x9a4/0x9a8 fs/reiserfs/journal.c:505 sp : ffff80001edc6b90 x29: ffff80001edc6bc0 x28: ffff80001ee19000 x27: 1fffe0001cf690cf x26: dfff800000000000 x25: ffff80001ee39318 x24: 0000000000080000 x23: ffff80001dbc9048 x22: ffff80001dbc9050 x21: 0000000000000213 x20: ffff0000e7b48678 x19: ffff0000e7b48000 x18: 1ffff00003dc3205 x17: ffff80001583d000 x16: ffff8000083043c4 x15: 0000000000000002 x14: 0000000000000002 x13: ffff000105d11bc0 x12: 0000000000040000 x11: 00000000000073ca x10: ffff80001df29000 x9 : ffff800008db0674 x8 : 00000000000073cb x7 : ffff800008dd2254 x6 : 0000000000000000 x5 : 0000000000000001 x4 : ffff80001edc6ce0 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+0x3b0/0xdc8 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+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 97ef2016 17ffff95 97dd2b1d (d4210000) ---[ end trace 0000000000000000 ]---