divide error: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4169 Comm: syz-executor.3 Not tainted 6.1.84-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:do_journal_end+0x1286/0x4870 fs/reiserfs/journal.c:4093 Code: 28 84 c0 0f 85 b8 2f 00 00 4a 8d 5c 32 01 4c 89 e0 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 c5 2f 00 00 41 8b 0f 48 89 d8 31 d2 <48> f7 f1 48 89 d3 48 03 5c 24 40 48 8b 84 24 e8 00 00 00 42 80 3c RSP: 0018:ffffc9000b7bf960 EFLAGS: 00010246 RAX: 0000000000000003 RBX: 0000000000000003 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88802135f000 RBP: ffffc9000b7bfbd0 R08: dffffc0000000000 R09: ffff88802135f000 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880553ac017 R13: dffffc0000000000 R14: 0000000000000002 R15: ffff8880553ac014 FS: 0000555556187480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0ecb5d85e8 CR3: 0000000076019000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_sync_fs+0xca/0x140 fs/reiserfs/super.c:78 sync_filesystem+0xe8/0x220 fs/sync.c:56 generic_shutdown_super+0x6b/0x340 fs/super.c:474 kill_block_super+0x7a/0xe0 fs/super.c:1459 deactivate_locked_super+0xa0/0x110 fs/super.c:332 cleanup_mnt+0x490/0x520 fs/namespace.c:1186 task_work_run+0x246/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f523207f197 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:00007ffcc2929478 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f523207f197 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffcc2929530 RBP: 00007ffcc2929530 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffcc292a5f0 R13: 00007f52320c93b9 R14: 000000000001de6c R15: 0000000000000019 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:do_journal_end+0x1286/0x4870 fs/reiserfs/journal.c:4093 Code: 28 84 c0 0f 85 b8 2f 00 00 4a 8d 5c 32 01 4c 89 e0 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 c5 2f 00 00 41 8b 0f 48 89 d8 31 d2 <48> f7 f1 48 89 d3 48 03 5c 24 40 48 8b 84 24 e8 00 00 00 42 80 3c RSP: 0018:ffffc9000b7bf960 EFLAGS: 00010246 RAX: 0000000000000003 RBX: 0000000000000003 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88802135f000 RBP: ffffc9000b7bfbd0 R08: dffffc0000000000 R09: ffff88802135f000 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880553ac017 R13: dffffc0000000000 R14: 0000000000000002 R15: ffff8880553ac014 FS: 0000555556187480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9062f01d58 CR3: 0000000076019000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 28 84 c0 0f 85 b8 2f sub %al,0x2fb8850f(%rax,%rax,8) 7: 00 00 add %al,(%rax) 9: 4a 8d 5c 32 01 lea 0x1(%rdx,%r14,1),%rbx e: 4c 89 e0 mov %r12,%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 c5 2f 00 00 jne 0x2fe7 22: 41 8b 0f mov (%r15),%ecx 25: 48 89 d8 mov %rbx,%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 40 add 0x40(%rsp),%rbx 35: 48 8b 84 24 e8 00 00 mov 0xe8(%rsp),%rax 3c: 00 3d: 42 rex.X 3e: 80 .byte 0x80 3f: 3c .byte 0x3c