divide error: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 22377 Comm: syz-executor.1 Not tainted 6.5.0-rc2-syzkaller-00052-gbfa3037d8280 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:drm_mode_vrefresh+0x199/0x200 drivers/gpu/drm/drm_modes.c:1303 Code: 89 de e8 7a 8d d7 fc 66 83 fb 01 76 08 e8 1f 92 d7 fc 0f af eb e8 17 92 d7 fc 4d 69 e4 e8 03 00 00 89 e8 31 d2 d1 e8 4c 01 e0 <48> f7 f5 48 89 c3 e8 fc 91 d7 fc 89 d8 5b 5d 41 5c 41 5d 41 5e c3 RSP: 0018:ffffc90006ac7978 EFLAGS: 00010202 RAX: 0000000000003e80 RBX: 0000000000000800 RCX: ffffc90003ce1000 RDX: 0000000000000000 RSI: ffffffff84aede99 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000001 R10: 0000000000000800 R11: ffffffff81da3572 R12: 0000000000003e80 R13: 0000000000000020 R14: 0000000000000010 R15: 00000000000036f4 FS: 0000000000000000(0000) GS:ffff8880b9900000(0063) knlGS:00000000f7fceb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f737c0c4 CR3: 000000004984f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: drm_mode_debug_printmodeline+0x233/0x300 drivers/gpu/drm/drm_modes.c:60 drm_mode_setcrtc+0x1227/0x1700 drivers/gpu/drm/drm_crtc.c:794 drm_ioctl_kernel+0x280/0x4c0 drivers/gpu/drm/drm_ioctl.c:788 drm_ioctl+0x5cb/0xbf0 drivers/gpu/drm/drm_ioctl.c:891 drm_compat_ioctl+0x322/0x460 drivers/gpu/drm/drm_ioc32.c:988 __do_compat_sys_ioctl+0x2bf/0x330 fs/ioctl.c:968 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x61/0xe0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7fd3579 Code: 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 00 00 00 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:00000000f7fce5ac EFLAGS: 00000292 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00000000c06864a2 RDX: 0000000020000880 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:drm_mode_vrefresh+0x199/0x200 drivers/gpu/drm/drm_modes.c:1303 Code: 89 de e8 7a 8d d7 fc 66 83 fb 01 76 08 e8 1f 92 d7 fc 0f af eb e8 17 92 d7 fc 4d 69 e4 e8 03 00 00 89 e8 31 d2 d1 e8 4c 01 e0 <48> f7 f5 48 89 c3 e8 fc 91 d7 fc 89 d8 5b 5d 41 5c 41 5d 41 5e c3 RSP: 0018:ffffc90006ac7978 EFLAGS: 00010202 RAX: 0000000000003e80 RBX: 0000000000000800 RCX: ffffc90003ce1000 RDX: 0000000000000000 RSI: ffffffff84aede99 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000001 R10: 0000000000000800 R11: ffffffff81da3572 R12: 0000000000003e80 R13: 0000000000000020 R14: 0000000000000010 R15: 00000000000036f4 FS: 0000000000000000(0000) GS:ffff8880b9800000(0063) knlGS:00000000f7fceb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f749da8c CR3: 000000004984f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 de mov %ebx,%esi 2: e8 7a 8d d7 fc call 0xfcd78d81 7: 66 83 fb 01 cmp $0x1,%bx b: 76 08 jbe 0x15 d: e8 1f 92 d7 fc call 0xfcd79231 12: 0f af eb imul %ebx,%ebp 15: e8 17 92 d7 fc call 0xfcd79231 1a: 4d 69 e4 e8 03 00 00 imul $0x3e8,%r12,%r12 21: 89 e8 mov %ebp,%eax 23: 31 d2 xor %edx,%edx 25: d1 e8 shr %eax 27: 4c 01 e0 add %r12,%rax * 2a: 48 f7 f5 div %rbp <-- trapping instruction 2d: 48 89 c3 mov %rax,%rbx 30: e8 fc 91 d7 fc call 0xfcd79231 35: 89 d8 mov %ebx,%eax 37: 5b pop %rbx 38: 5d pop %rbp 39: 41 5c pop %r12 3b: 41 5d pop %r13 3d: 41 5e pop %r14 3f: c3 ret