------------[ cut here ]------------ kernel BUG at fs/reiserfs/journal.c:505! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 6366 Comm: syz.2.64 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:reiserfs_in_journal+0xa4e/0xa50 fs/reiserfs/journal.c:505 Code: 24 30 80 e2 07 80 c2 03 38 ca 0f 8c 73 fe ff ff 48 8b 7c 24 30 48 89 c3 e8 8f cb b6 ff 48 89 d8 e9 5e fe ff ff e8 f2 5a 5f ff <0f> 0b 66 0f 1f 00 55 41 57 41 56 41 55 41 54 53 50 49 89 fc 48 bd RSP: 0018:ffffc90005186548 EFLAGS: 00010293 RAX: ffffffff8226500e RBX: ffff888018aa4000 RCX: ffff888018720000 RDX: 0000000000000000 RSI: 0000000000000213 RDI: 0000000000000213 RBP: ffff888018aa4630 R08: ffffc90005186680 R09: 1ffff1100a16ca08 R10: dffffc0000000000 R11: ffffed100a16ca09 R12: ffffc9000516b048 R13: ffffc9000516b050 R14: dffffc0000000000 R15: 0000000000000213 FS: 00007f26655ac6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc8aab855c CR3: 00000000645b2000 CR4: 00000000003506f0 Call Trace: is_block_in_journal fs/reiserfs/bitmap.c:125 [inline] scan_bitmap_block+0x48a/0xde0 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+0x370f/0x53c0 fs/reiserfs/bitmap.c:1375 _allocate_block fs/reiserfs/inode.c:-1 [inline] reiserfs_get_block+0x2659/0x3ed0 fs/reiserfs/inode.c:756 __block_write_begin_int+0x566/0x1ad0 fs/buffer.c:2124 reiserfs_write_begin+0x20a/0x4c0 fs/reiserfs/inode.c:2771 generic_perform_write+0x2fb/0x5b0 mm/filemap.c:4031 generic_file_write_iter+0xaf/0x2e0 mm/filemap.c:4152 __kernel_write_iter+0x274/0x670 fs/read_write.c:517 __kernel_write+0xf0/0x140 fs/read_write.c:537 __dump_emit+0x206/0x310 fs/coredump.c:882 writenote+0x1bf/0x2e0 fs/binfmt_elf.c:1529 write_note_info fs/binfmt_elf.c:2019 [inline] elf_core_dump+0x2d72/0x36e0 fs/binfmt_elf.c:2171 do_coredump+0x1755/0x2480 fs/coredump.c:833 get_signal+0x1133/0x1400 kernel/signal.c:2888 arch_do_signal_or_restart+0x9c/0x7b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xf6/0x180 kernel/entry/common.c:210 irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:315 exc_page_fault+0x8f/0x110 arch/x86/mm/fault.c:1524 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:608 RIP: 0033:0x7f266478f751 Code: 00 00 00 00 00 0f 1f 40 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 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:fffffffffffffe70 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f26649e5fa0 RCX: 00007f266478f749 RDX: 0000000000000000 RSI: fffffffffffffe70 RDI: 0000000000008000 RBP: 00007f2664813f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 00007f26649e6038 R14: 00007f26649e5fa0 R15: 00007ffc8aab92b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:reiserfs_in_journal+0xa4e/0xa50 fs/reiserfs/journal.c:505 Code: 24 30 80 e2 07 80 c2 03 38 ca 0f 8c 73 fe ff ff 48 8b 7c 24 30 48 89 c3 e8 8f cb b6 ff 48 89 d8 e9 5e fe ff ff e8 f2 5a 5f ff <0f> 0b 66 0f 1f 00 55 41 57 41 56 41 55 41 54 53 50 49 89 fc 48 bd RSP: 0018:ffffc90005186548 EFLAGS: 00010293 RAX: ffffffff8226500e RBX: ffff888018aa4000 RCX: ffff888018720000 RDX: 0000000000000000 RSI: 0000000000000213 RDI: 0000000000000213 RBP: ffff888018aa4630 R08: ffffc90005186680 R09: 1ffff1100a16ca08 R10: dffffc0000000000 R11: ffffed100a16ca09 R12: ffffc9000516b048 R13: ffffc9000516b050 R14: dffffc0000000000 R15: 0000000000000213 FS: 00007f26655ac6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc8aab855c CR3: 00000000645b2000 CR4: 00000000003506f0