------------[ cut here ]------------ kernel BUG at fs/reiserfs/journal.c:505! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 7083 Comm: syz.7.501 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 RIP: 0010:reiserfs_in_journal+0xa87/0xa90 fs/reiserfs/journal.c:505 Code: 24 30 80 e2 07 80 c2 03 38 ca 0f 8c 74 fe ff ff 48 8b 7c 24 30 48 89 c3 e8 f6 90 bd ff 48 89 d8 e9 5f fe ff ff e8 29 85 78 ff <0f> 0b 0f 1f 80 00 00 00 00 55 41 57 41 56 41 55 41 54 53 50 49 89 RSP: 0018:ffffc900041eee20 EFLAGS: 00010287 RAX: ffffffff82009be7 RBX: ffff88807acfc000 RCX: 0000000000080000 RDX: ffffc900057f1000 RSI: 0000000000006727 RDI: 0000000000006728 RBP: 00000000000012a6 R08: ffffc900041eef60 R09: 1ffff11009c6fa08 R10: dffffc0000000000 R11: ffffed1009c6fa09 R12: ffffc90004331048 R13: ffffc90004331050 R14: dffffc0000000000 R15: 0000000000000213 FS: 00007fd3896796c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000003000 CR3: 0000000056b9e000 CR4: 00000000003506f0 Call Trace: is_block_in_journal fs/reiserfs/bitmap.c:125 [inline] scan_bitmap_block+0x4a7/0xe20 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+0x2988/0x4e80 fs/reiserfs/bitmap.c:1375 reiserfs_new_unf_blocknrs2 fs/reiserfs/reiserfs.h:3377 [inline] _allocate_block fs/reiserfs/inode.c:649 [inline] reiserfs_get_block+0x2649/0x42a0 fs/reiserfs/inode.c:764 __block_write_begin_int+0x565/0x15d0 fs/buffer.c:2012 reiserfs_write_begin+0x34b/0x810 fs/reiserfs/inode.c:2790 generic_perform_write+0x2b6/0x550 mm/filemap.c:3785 __generic_file_write_iter+0x25f/0x4e0 mm/filemap.c:3912 generic_file_write_iter+0xa6/0x1b0 mm/filemap.c:3944 do_iter_readv_writev+0x47e/0x5f0 fs/read_write.c:-1 do_iter_write+0x205/0x7b0 fs/read_write.c:855 vfs_writev fs/read_write.c:928 [inline] do_pwritev+0x240/0x3a0 fs/read_write.c:1025 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fd38b41f819 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd389679028 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007fd38b698fa0 RCX: 00007fd38b41f819 RDX: 0000000000000001 RSI: 0000200000000000 RDI: 0000000000000004 RBP: 00007fd38b4b5c91 R08: 000000000000000c R09: 0000000000000004 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd38b699038 R14: 00007fd38b698fa0 R15: 00007ffc9fa5b9d8 Modules linked in: ---[ end trace 76b245c2d8729d49 ]--- RIP: 0010:reiserfs_in_journal+0xa87/0xa90 fs/reiserfs/journal.c:505 Code: 24 30 80 e2 07 80 c2 03 38 ca 0f 8c 74 fe ff ff 48 8b 7c 24 30 48 89 c3 e8 f6 90 bd ff 48 89 d8 e9 5f fe ff ff e8 29 85 78 ff <0f> 0b 0f 1f 80 00 00 00 00 55 41 57 41 56 41 55 41 54 53 50 49 89 RSP: 0018:ffffc900041eee20 EFLAGS: 00010287 RAX: ffffffff82009be7 RBX: ffff88807acfc000 RCX: 0000000000080000 RDX: ffffc900057f1000 RSI: 0000000000006727 RDI: 0000000000006728 RBP: 00000000000012a6 R08: ffffc900041eef60 R09: 1ffff11009c6fa08 R10: dffffc0000000000 R11: ffffed1009c6fa09 R12: ffffc90004331048 R13: ffffc90004331050 R14: dffffc0000000000 R15: 0000000000000213 FS: 00007fd3896796c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbc9a6b0e9c CR3: 0000000056b9e000 CR4: 00000000003506e0