------------[ cut here ]------------ kernel BUG at fs/reiserfs/journal.c:505! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5922 Comm: syz.4.347 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 RIP: 0010:reiserfs_in_journal+0xabc/0xac0 fs/reiserfs/journal.c:505 Code: 24 28 80 e2 07 80 c2 03 38 ca 0f 8c 78 fe ff ff 48 8b 7c 24 28 48 89 c3 e8 a1 9d bd ff 48 89 d8 e9 63 fe ff ff e8 04 7d 78 ff <0f> 0b 66 90 55 41 57 41 56 41 55 41 54 53 48 89 fb 48 bd 00 00 00 RSP: 0018:ffffc90004cf6f68 EFLAGS: 00010287 RAX: ffffffff8200759c RBX: ffff88805777c000 RCX: 0000000000080000 RDX: ffffc90005d89000 RSI: 0000000000002140 RDI: 0000000000002141 RBP: 00000000000012a6 R08: ffffc90004cf70a0 R09: 1ffff11009e44608 R10: dffffc0000000000 R11: ffffed1009e44609 R12: ffffc90003221048 R13: ffffc90003221050 R14: dffffc0000000000 R15: 0000000000000213 FS: 00007f6bf13c26c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6c099c16c8 CR3: 00000000553fc000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: is_block_in_journal fs/reiserfs/bitmap.c:125 [inline] scan_bitmap_block+0x4ab/0xe30 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+0x29a5/0x4f00 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+0x26de/0x4360 fs/reiserfs/inode.c:764 __block_write_begin_int+0x565/0x15d0 fs/buffer.c:2012 reiserfs_write_begin+0x353/0x820 fs/reiserfs/inode.c:2790 generic_perform_write+0x2b6/0x550 mm/filemap.c:3785 __generic_file_write_iter+0x261/0x4e0 mm/filemap.c:3912 generic_file_write_iter+0xa6/0x1b0 mm/filemap.c:3944 call_write_iter include/linux/fs.h:2173 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x748/0xd70 fs/read_write.c:594 ksys_pwrite64 fs/read_write.c:701 [inline] __do_sys_pwrite64 fs/read_write.c:711 [inline] __se_sys_pwrite64 fs/read_write.c:708 [inline] __x64_sys_pwrite64+0x197/0x220 fs/read_write.c:708 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:0x7f6bf3168e59 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:00007f6bf13c2028 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007f6bf33e1fa0 RCX: 00007f6bf3168e59 RDX: 000000000000fdef RSI: 0000200000000140 RDI: 0000000000000008 RBP: 00007f6bf31fee6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000e7c R11: 0000000000000246 R12: 0000000000000000 R13: 00007f6bf33e2038 R14: 00007f6bf33e1fa0 R15: 00007fff6b2ffd48 Modules linked in: ---[ end trace b2a08a58fec90492 ]--- RIP: 0010:reiserfs_in_journal+0xabc/0xac0 fs/reiserfs/journal.c:505 Code: 24 28 80 e2 07 80 c2 03 38 ca 0f 8c 78 fe ff ff 48 8b 7c 24 28 48 89 c3 e8 a1 9d bd ff 48 89 d8 e9 63 fe ff ff e8 04 7d 78 ff <0f> 0b 66 90 55 41 57 41 56 41 55 41 54 53 48 89 fb 48 bd 00 00 00 RSP: 0018:ffffc90004cf6f68 EFLAGS: 00010287 RAX: ffffffff8200759c RBX: ffff88805777c000 RCX: 0000000000080000 RDX: ffffc90005d89000 RSI: 0000000000002140 RDI: 0000000000002141 RBP: 00000000000012a6 R08: ffffc90004cf70a0 R09: 1ffff11009e44608 R10: dffffc0000000000 R11: ffffed1009e44609 R12: ffffc90003221048 R13: ffffc90003221050 R14: dffffc0000000000 R15: 0000000000000213 FS: 00007f6bf13c26c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6c099c16c8 CR3: 00000000553fc000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400