kernel BUG at fs/reiserfs/prints.c:390! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 2 PID: 3743 Comm: syz-executor.3 Not tainted 6.1.0-rc5-syzkaller-00144-g84368d882b96 #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: 61 8a 74 6d e8 39 7b d1 f7 4c 89 e9 4c 89 f2 4c 89 e6 49 c7 c0 00 3f af 91 48 c7 c7 20 0a 61 8a e8 56 1a fd ff e8 18 7b d1 f7 <0f> 0b e8 11 7b d1 f7 4d 85 e4 49 c7 c6 60 08 61 8a 75 0a 49 c7 c6 RSP: 0018:ffffc90003cbf9c0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888076fd2000 RCX: 0000000000000000 RDX: ffff88801e4b8000 RSI: ffffffff89ae9e68 RDI: fffff52000797f2a RBP: ffffc90003cbfa90 R08: 000000000000006a R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffffffff8a617360 R13: ffffffff8a617b80 R14: ffffffff8a610860 R15: 0000000000002015 FS: 0000000000000000(0000) GS:ffff88802c800000(0063) knlGS:0000000057cb7380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000c00f1c4198 CR3: 000000007508b000 CR4: 0000000000150ee0 DR0: 0000000000000000 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+0xfc/0x130 fs/reiserfs/super.c:78 sync_filesystem.part.0+0x75/0x1d0 fs/sync.c:56 sync_filesystem+0x8f/0xc0 fs/sync.c:43 generic_shutdown_super+0x74/0x410 fs/super.c:474 kill_block_super+0x9b/0xf0 fs/super.c:1428 deactivate_locked_super+0x98/0x160 fs/super.c:332 deactivate_super+0xb1/0xd0 fs/super.c:363 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1186 task_work_run+0x16f/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+0x1d/0x50 kernel/entry/common.c:296 __do_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f4e549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000ffef74ac EFLAGS: 00000292 ORIG_RAX: 0000000000000034 RAX: 0000000000000000 RBX: 00000000ffef7550 RCX: 000000000000000a RDX: 00000000f734c000 RSI: 0000000000000000 RDI: 00000000f72a153f RBP: 00000000ffef7550 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__reiserfs_panic.cold+0x37/0x8a fs/reiserfs/prints.c:390 Code: 61 8a 74 6d e8 39 7b d1 f7 4c 89 e9 4c 89 f2 4c 89 e6 49 c7 c0 00 3f af 91 48 c7 c7 20 0a 61 8a e8 56 1a fd ff e8 18 7b d1 f7 <0f> 0b e8 11 7b d1 f7 4d 85 e4 49 c7 c6 60 08 61 8a 75 0a 49 c7 c6 RSP: 0018:ffffc90003cbf9c0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888076fd2000 RCX: 0000000000000000 RDX: ffff88801e4b8000 RSI: ffffffff89ae9e68 RDI: fffff52000797f2a RBP: ffffc90003cbfa90 R08: 000000000000006a R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffffffff8a617360 R13: ffffffff8a617b80 R14: ffffffff8a610860 R15: 0000000000002015 FS: 0000000000000000(0000) GS:ffff88802c800000(0063) knlGS:0000000057cb7380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000057900404 CR3: 000000007508b000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 03 74 c0 01 add 0x1(%rax,%rax,8),%esi 4: 10 05 03 74 b8 01 adc %al,0x1b87403(%rip) # 0x1b8740d a: 10 06 adc %al,(%rsi) c: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 10: 10 07 adc %al,(%rdi) 12: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi 16: 10 08 adc %cl,(%rax) 18: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1c: 00 00 add %al,(%rax) 1e: 00 00 add %al,(%rax) 20: 00 51 52 add %dl,0x52(%rcx) 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 retq 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 39: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi