REISERFS panic (device loop1): journal-2332 do_journal_end: Trying to log block 531, which is a log block ------------[ cut here ]------------ kernel BUG at fs/reiserfs/prints.c:390! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5128 Comm: syz-executor.1 Not tainted 6.6.0-next-20231103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:__reiserfs_panic+0x100/0x150 fs/reiserfs/prints.c:390 Code: 5e ff 4d 89 e8 4c 89 f1 4c 89 e2 48 8d b3 60 06 00 00 49 c7 c1 20 e4 8d 92 48 c7 c7 c0 ee e2 8a e8 45 69 41 ff e8 80 a8 5e ff <0f> 0b 49 c7 c6 60 ed e2 8a 4d 89 f4 eb c5 e8 6d a8 5e ff 4d 85 e4 RSP: 0018:ffffc90003d0fa00 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88808beda000 RCX: ffffffff816bced9 RDX: ffff88802510bb80 RSI: ffffffff822a5660 RDI: 0000000000000005 RBP: ffffc90003d0fad0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffffffff8ae353e0 R13: ffffffff8ae35c00 R14: ffffffff8ae2ed20 R15: 0000000000000213 FS: 0000555556543480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc926375198 CR3: 0000000082b14000 CR4: 00000000003506f0 Call Trace: do_journal_end+0x4278/0x4f20 fs/reiserfs/journal.c:4150 reiserfs_sync_fs+0x10e/0x140 fs/reiserfs/super.c:78 sync_filesystem fs/sync.c:56 [inline] sync_filesystem+0x109/0x280 fs/sync.c:30 generic_shutdown_super+0x7e/0x3c0 fs/super.c:647 kill_block_super+0x3b/0x90 fs/super.c:1667 deactivate_locked_super+0xbc/0x1a0 fs/super.c:487 deactivate_super+0xde/0x100 fs/super.c:520 cleanup_mnt+0x222/0x450 fs/namespace.c:1256 task_work_run+0x14c/0x240 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x212/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x4b/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7f9edc27de17 Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fff213ebd38 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f9edc27de17 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007fff213ebdf0 RBP: 00007fff213ebdf0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff213eceb0 R13: 00007f9edc2c73b9 R14: 0000000000122d9b R15: 0000000000000005 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__reiserfs_panic+0x100/0x150 fs/reiserfs/prints.c:390 Code: 5e ff 4d 89 e8 4c 89 f1 4c 89 e2 48 8d b3 60 06 00 00 49 c7 c1 20 e4 8d 92 48 c7 c7 c0 ee e2 8a e8 45 69 41 ff e8 80 a8 5e ff <0f> 0b 49 c7 c6 60 ed e2 8a 4d 89 f4 eb c5 e8 6d a8 5e ff 4d 85 e4 RSP: 0018:ffffc90003d0fa00 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88808beda000 RCX: ffffffff816bced9 RDX: ffff88802510bb80 RSI: ffffffff822a5660 RDI: 0000000000000005 RBP: ffffc90003d0fad0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffffffff8ae353e0 R13: ffffffff8ae35c00 R14: ffffffff8ae2ed20 R15: 0000000000000213 FS: 0000555556543480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcc29775198 CR3: 0000000082b14000 CR4: 00000000003506f0