REISERFS panic (device loop0): journal-2332 do_journal_end: Trying to log block 512, which is a log block ------------[ cut here ]------------ kernel BUG at fs/reiserfs/prints.c:390! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5105 Comm: syz-executor.0 Not tainted 6.7.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:__reiserfs_panic+0x101/0x150 fs/reiserfs/prints.c:390 Code: ff 4d 89 e8 4c 89 f1 4c 89 e2 48 8d b3 60 06 00 00 49 c7 c1 60 24 8d 92 48 c7 c7 40 d6 e2 8a e8 a5 4b 42 ff e8 b0 6e 5f ff 90 <0f> 0b 49 c7 c6 e0 d4 e2 8a 4d 89 f4 eb c4 e8 9c 6e 5f ff 4d 85 e4 RSP: 0018:ffffc9000428fa00 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88803e8e8000 RCX: ffffffff816a6619 RDX: ffff888024cebb80 RSI: ffffffff822803e0 RDI: 0000000000000005 RBP: ffffc9000428fad0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 00000000000000ef R12: ffffffff8ae33b60 R13: ffffffff8ae34380 R14: ffffffff8ae2d4a0 R15: 0000000000000200 FS: 000055555568d480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3212d000 CR3: 0000000034ffb000 CR4: 0000000000350ef0 Call Trace: do_journal_end+0x4271/0x4f10 fs/reiserfs/journal.c:4150 reiserfs_sync_fs+0x10e/0x140 fs/reiserfs/super.c:78 sync_filesystem+0x109/0x280 fs/sync.c:56 generic_shutdown_super+0x7e/0x3d0 fs/super.c:669 kill_block_super+0x3b/0x90 fs/super.c:1667 deactivate_locked_super+0xbc/0x1a0 fs/super.c:484 deactivate_super+0xde/0x100 fs/super.c:517 cleanup_mnt+0x222/0x450 fs/namespace.c:1256 task_work_run+0x14d/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+0x217/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1e/0x60 kernel/entry/common.c:296 do_syscall_64+0x4d/0x110 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f7373e7e057 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:00007ffedf096078 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f7373e7e057 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffedf096130 RBP: 00007ffedf096130 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffedf0971f0 R13: 00007f7373ec83b9 R14: 000000000008bc13 R15: 000000000000000a Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__reiserfs_panic+0x101/0x150 fs/reiserfs/prints.c:390 Code: ff 4d 89 e8 4c 89 f1 4c 89 e2 48 8d b3 60 06 00 00 49 c7 c1 60 24 8d 92 48 c7 c7 40 d6 e2 8a e8 a5 4b 42 ff e8 b0 6e 5f ff 90 <0f> 0b 49 c7 c6 e0 d4 e2 8a 4d 89 f4 eb c4 e8 9c 6e 5f ff 4d 85 e4 RSP: 0018:ffffc9000428fa00 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88803e8e8000 RCX: ffffffff816a6619 RDX: ffff888024cebb80 RSI: ffffffff822803e0 RDI: 0000000000000005 RBP: ffffc9000428fad0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 00000000000000ef R12: ffffffff8ae33b60 R13: ffffffff8ae34380 R14: ffffffff8ae2d4a0 R15: 0000000000000200 FS: 000055555568d480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7ded38c000 CR3: 0000000034ffb000 CR4: 0000000000350ef0