divide error: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3615 Comm: syz-executor.4 Not tainted 5.15.156-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:do_journal_end+0x12f1/0x4650 fs/reiserfs/journal.c:4089 Code: 04 30 84 c0 0f 85 74 2d 00 00 4f 8d 7c 2f 01 48 89 e8 48 c1 e8 03 42 0f b6 04 30 84 c0 0f 85 7a 2d 00 00 8b 0b 4c 89 f8 31 d2 <48> f7 f1 48 89 d3 4c 01 e3 48 8b 84 24 c8 00 00 00 42 80 3c 30 00 RSP: 0018:ffffc9000115f8f0 EFLAGS: 00010246 RAX: 0000000000000004 RBX: ffff88807d592014 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88801da92000 RBP: ffff88807d592017 R08: dffffc0000000000 R09: ffff88801da92000 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000003 R14: dffffc0000000000 R15: 0000000000000004 FS: 00007f42d3fe76c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000640 CR3: 0000000020d67000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: journal_end_sync fs/reiserfs/journal.c:3535 [inline] __commit_trans_jl fs/reiserfs/journal.c:3877 [inline] reiserfs_commit_for_inode+0xa69/0xbe0 fs/reiserfs/journal.c:3920 reiserfs_sync_file+0x120/0x270 fs/reiserfs/file.c:159 generic_write_sync include/linux/fs.h:2984 [inline] generic_file_write_iter+0x15e/0x1b0 mm/filemap.c:3948 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xacf/0xe50 fs/read_write.c:594 ksys_write+0x1a2/0x2c0 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f42d5a74ea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f42d3fe70c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f42d5ba2f80 RCX: 00007f42d5a74ea9 RDX: 0000000000000018 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007f42d5ac14a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f42d5ba2f80 R15: 00007ffe44b8e428 Modules linked in: ---[ end trace f4d6d1ad0a8f2ffb ]--- RIP: 0010:do_journal_end+0x12f1/0x4650 fs/reiserfs/journal.c:4089 Code: 04 30 84 c0 0f 85 74 2d 00 00 4f 8d 7c 2f 01 48 89 e8 48 c1 e8 03 42 0f b6 04 30 84 c0 0f 85 7a 2d 00 00 8b 0b 4c 89 f8 31 d2 <48> f7 f1 48 89 d3 4c 01 e3 48 8b 84 24 c8 00 00 00 42 80 3c 30 00 RSP: 0018:ffffc9000115f8f0 EFLAGS: 00010246 RAX: 0000000000000004 RBX: ffff88807d592014 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88801da92000 RBP: ffff88807d592017 R08: dffffc0000000000 R09: ffff88801da92000 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000003 R14: dffffc0000000000 R15: 0000000000000004 FS: 00007f42d3fe76c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9cd468f75e CR3: 0000000020d67000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 04 30 add $0x30,%al 2: 84 c0 test %al,%al 4: 0f 85 74 2d 00 00 jne 0x2d7e a: 4f 8d 7c 2f 01 lea 0x1(%r15,%r13,1),%r15 f: 48 89 e8 mov %rbp,%rax 12: 48 c1 e8 03 shr $0x3,%rax 16: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax 1b: 84 c0 test %al,%al 1d: 0f 85 7a 2d 00 00 jne 0x2d9d 23: 8b 0b mov (%rbx),%ecx 25: 4c 89 f8 mov %r15,%rax 28: 31 d2 xor %edx,%edx * 2a: 48 f7 f1 div %rcx <-- trapping instruction 2d: 48 89 d3 mov %rdx,%rbx 30: 4c 01 e3 add %r12,%rbx 33: 48 8b 84 24 c8 00 00 mov 0xc8(%rsp),%rax 3a: 00 3b: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1)