REISERFS panic (device loop3): journal-2332 do_journal_end: Trying to log block 8211, which is a log block ------------[ cut here ]------------ kernel BUG at fs/reiserfs/prints.c:390! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 2 PID: 3712 Comm: syz-executor.3 Not tainted 6.1.0-rc3-syzkaller-00288-gb208b9fbbcba #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:__reiserfs_panic.cold+0x37/0x8a fs/reiserfs/prints.c:390 Code: 01 8a 74 6d e8 23 6f 2e f8 4c 89 e9 4c 89 f2 4c 89 e6 49 c7 c0 80 98 30 91 48 c7 c7 e0 bf 01 8a e8 d3 25 fd ff e8 02 6f 2e f8 <0f> 0b e8 fb 6e 2e f8 4d 85 e4 49 c7 c6 20 be 01 8a 75 0a 49 c7 c6 RSP: 0018:ffffc900030c79e0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88804c7ce000 RCX: 0000000000000000 RDX: ffff8880433ea0c0 RSI: ffffffff894d656e RDI: fffff52000618f2e RBP: ffffc900030c7ab0 R08: 000000000000006a R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8a022960 R13: ffffffff8a023180 R14: ffffffff8a01be20 R15: 0000000000002015 FS: 0000555556307400(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff493b8ff8 CR3: 000000006b9a2000 CR4: 0000000000150ee0 DR0: 0000000000010000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_journal_end+0x3d3a/0x4af0 fs/reiserfs/journal.c:4151 reiserfs_sync_fs+0xf8/0x120 fs/reiserfs/super.c:78 sync_filesystem.part.0+0x75/0x1d0 fs/sync.c:56 sync_filesystem+0x8b/0xc0 fs/sync.c:43 generic_shutdown_super+0x70/0x410 fs/super.c:474 kill_block_super+0x97/0xf0 fs/super.c:1428 deactivate_locked_super+0x94/0x160 fs/super.c:332 deactivate_super+0xad/0xd0 fs/super.c:363 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1186 task_work_run+0x16b/0x270 kernel/task_work.c:179 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+0x23c/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:296 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9d8648ca17 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 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 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff493b97f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f9d8648ca17 RDX: 00007fff493b98cc RSI: 000000000000000a RDI: 00007fff493b98c0 RBP: 00007fff493b98c0 R08: 00000000ffffffff R09: 00007fff493b9690 R10: 00005555563088b3 R11: 0000000000000246 R12: 00007f9d864e5826 R13: 00007fff493ba980 R14: 0000555556308810 R15: 00007fff493ba9c0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__reiserfs_panic.cold+0x37/0x8a fs/reiserfs/prints.c:390 Code: 01 8a 74 6d e8 23 6f 2e f8 4c 89 e9 4c 89 f2 4c 89 e6 49 c7 c0 80 98 30 91 48 c7 c7 e0 bf 01 8a e8 d3 25 fd ff e8 02 6f 2e f8 <0f> 0b e8 fb 6e 2e f8 4d 85 e4 49 c7 c6 20 be 01 8a 75 0a 49 c7 c6 RSP: 0018:ffffc900030c79e0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88804c7ce000 RCX: 0000000000000000 RDX: ffff8880433ea0c0 RSI: ffffffff894d656e RDI: fffff52000618f2e RBP: ffffc900030c7ab0 R08: 000000000000006a R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8a022960 R13: ffffffff8a023180 R14: ffffffff8a01be20 R15: 0000000000002015 FS: 0000555556307400(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff493b8ff8 CR3: 000000006b9a2000 CR4: 0000000000150ee0 DR0: 0000000000010000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400