divide error: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5340 Comm: syz-executor.0 Not tainted 6.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:do_journal_end+0x1298/0x4780 fs/reiserfs/journal.c:4094 Code: 28 84 c0 0f 85 0d 2f 00 00 4d 8d 64 1c 01 4c 89 f0 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 14 2f 00 00 41 8b 0f 4c 89 e0 31 d2 <48> f7 f1 48 89 d3 48 03 5c 24 30 48 8b 84 24 d8 00 00 00 42 80 3c RSP: 0018:ffffc9000506f960 EFLAGS: 00010246 RAX: 0000000000000003 RBX: 0000000000000002 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88807bdae000 RBP: ffffc9000506fbd0 R08: ffff88807bdaefff R09: 0000000000000000 R10: ffff88807bdae000 R11: ffffed100f7b5e00 R12: 0000000000000003 R13: dffffc0000000000 R14: ffff88806503f017 R15: ffff88806503f014 FS: 0000555556955400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc438b6f78 CR3: 0000000022bed000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_sync_fs+0xce/0x150 fs/reiserfs/super.c:78 sync_filesystem+0xec/0x220 fs/sync.c:56 generic_shutdown_super+0x6f/0x340 fs/super.c:472 kill_block_super+0x68/0xa0 fs/super.c:1417 deactivate_locked_super+0xa4/0x110 fs/super.c:330 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1254 task_work_run+0x24a/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:297 do_syscall_64+0x4d/0x90 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fcbc588d7f7 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:00007ffc438b76b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fcbc588d7f7 RDX: 00007ffc438b7789 RSI: 000000000000000a RDI: 00007ffc438b7780 RBP: 00007ffc438b7780 R08: 00000000ffffffff R09: 00007ffc438b7550 R10: 0000555556956893 R11: 0000000000000246 R12: 00007fcbc58d643b R13: 00007ffc438b8840 R14: 0000555556956810 R15: 00007ffc438b8880 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:do_journal_end+0x1298/0x4780 fs/reiserfs/journal.c:4094 Code: 28 84 c0 0f 85 0d 2f 00 00 4d 8d 64 1c 01 4c 89 f0 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 14 2f 00 00 41 8b 0f 4c 89 e0 31 d2 <48> f7 f1 48 89 d3 48 03 5c 24 30 48 8b 84 24 d8 00 00 00 42 80 3c RSP: 0018:ffffc9000506f960 EFLAGS: 00010246 RAX: 0000000000000003 RBX: 0000000000000002 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88807bdae000 RBP: ffffc9000506fbd0 R08: ffff88807bdaefff R09: 0000000000000000 R10: ffff88807bdae000 R11: ffffed100f7b5e00 R12: 0000000000000003 R13: dffffc0000000000 R14: ffff88806503f017 R15: ffff88806503f014 FS: 0000555556955400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc438b6f78 CR3: 0000000022bed000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 28 84 c0 0f 85 0d 2f sub %al,0x2f0d850f(%rax,%rax,8) 7: 00 00 add %al,(%rax) 9: 4d 8d 64 1c 01 lea 0x1(%r12,%rbx,1),%r12 e: 4c 89 f0 mov %r14,%rax 11: 48 c1 e8 03 shr $0x3,%rax 15: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax 1a: 84 c0 test %al,%al 1c: 0f 85 14 2f 00 00 jne 0x2f36 22: 41 8b 0f mov (%r15),%ecx 25: 4c 89 e0 mov %r12,%rax 28: 31 d2 xor %edx,%edx * 2a: 48 f7 f1 div %rcx <-- trapping instruction 2d: 48 89 d3 mov %rdx,%rbx 30: 48 03 5c 24 30 add 0x30(%rsp),%rbx 35: 48 8b 84 24 d8 00 00 mov 0xd8(%rsp),%rax 3c: 00 3d: 42 rex.X 3e: 80 .byte 0x80 3f: 3c .byte 0x3c