------------[ cut here ]------------
kernel BUG at fs/reiserfs/journal.c:505!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5970 Comm: syz.0.17 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:ffffc90003726668 EFLAGS: 00010293
RAX: ffffffff8226500e RBX: ffff88802ff6e000 RCX: ffff888024843c00
RDX: 0000000000000000 RSI: 0000000000000213 RDI: 0000000000000213
RBP: ffff88802ff6e630 R08: ffffc900037267a0 R09: 1ffff1100b505c08
R10: dffffc0000000000 R11: ffffed100b505c09 R12: ffffc9000370b048
R13: ffffc9000370b050 R14: dffffc0000000000 R15: 0000000000000213
FS: 000055557539c500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555753bf608 CR3: 000000002b2fa000 CR4: 00000000003506f0
Call Trace:
<TASK>
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
dump_emit_page fs/coredump.c:957 [inline]
dump_user_range+0x3f6/0x800 fs/coredump.c:984
elf_core_dump+0x3114/0x36e0 fs/binfmt_elf.c:2184
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:0x7f8d3658f751
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 <c3> 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: 00007f8d367e5fa0 RCX: 00007f8d3658f749
RDX: 0000000000000000 RSI: fffffffffffffe70 RDI: 0000000000008000
RBP: 00007f8d36613f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f8d367e5fa0 R14: 00007f8d367e5fa0 R15: 0000000000000006
</TASK>
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:ffffc90003726668 EFLAGS: 00010293
RAX: ffffffff8226500e RBX: ffff88802ff6e000 RCX: ffff888024843c00
RDX: 0000000000000000 RSI: 0000000000000213 RDI: 0000000000000213
RBP: ffff88802ff6e630 R08: ffffc900037267a0 R09: 1ffff1100b505c08
R10: dffffc0000000000 R11: ffffed100b505c09 R12: ffffc9000370b048
R13: ffffc9000370b050 R14: dffffc0000000000 R15: 0000000000000213
FS: 000055557539c500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0081f8643 CR3: 000000002b2fa000 CR4: 00000000003506f0