divide error: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5484 Comm: syz-executor.0 Not tainted 6.7.0-rc2-next-20231123-syzkaller-02590-g4e87148f80d1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:drm_mode_vrefresh+0x199/0x200 drivers/gpu/drm/drm_modes.c:1303 Code: 89 de e8 da 4d 92 fc 66 83 fb 01 76 08 e8 7f 52 92 fc 0f af eb e8 77 52 92 fc 4d 69 e4 e8 03 00 00 89 e8 31 d2 d1 e8 4c 01 e0 <48> f7 f5 48 89 c3 e8 5c 52 92 fc 89 d8 5b 5d 41 5c 41 5d 41 5e c3 RSP: 0018:ffffc90004ebfa00 EFLAGS: 00010206 RAX: 000000000001f400 RBX: 0000000000000400 RCX: ffffffff84f5bba6 RDX: 0000000000000000 RSI: ffffffff84f5bbb9 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000001 R10: 0000000000000400 R11: ffffffff8a84b770 R12: 000000000001f400 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000008 FS: 00007f972fb3e6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f972ef980c0 CR3: 0000000021ccd000 CR4: 00000000003506f0 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+0x28c/0x4d0 drivers/gpu/drm/drm_ioctl.c:793 drm_ioctl+0x5c9/0xbf0 drivers/gpu/drm/drm_ioctl.c:896 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7f972ee7cae9 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:00007f972fb3e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f972ef9bf80 RCX: 00007f972ee7cae9 RDX: 0000000020000180 RSI: 00000000c06864a2 RDI: 0000000000000003 RBP: 00007f972eec847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f972ef9bf80 R15: 00007ffc765cff48 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:drm_mode_vrefresh+0x199/0x200 drivers/gpu/drm/drm_modes.c:1303 Code: 89 de e8 da 4d 92 fc 66 83 fb 01 76 08 e8 7f 52 92 fc 0f af eb e8 77 52 92 fc 4d 69 e4 e8 03 00 00 89 e8 31 d2 d1 e8 4c 01 e0 <48> f7 f5 48 89 c3 e8 5c 52 92 fc 89 d8 5b 5d 41 5c 41 5d 41 5e c3 RSP: 0018:ffffc90004ebfa00 EFLAGS: 00010206 RAX: 000000000001f400 RBX: 0000000000000400 RCX: ffffffff84f5bba6 RDX: 0000000000000000 RSI: ffffffff84f5bbb9 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000001 R10: 0000000000000400 R11: ffffffff8a84b770 R12: 000000000001f400 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000008 FS: 00007f972fb3e6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcfc107378 CR3: 0000000021ccd000 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 da 4d 92 fc call 0xfc924de1 7: 66 83 fb 01 cmp $0x1,%bx b: 76 08 jbe 0x15 d: e8 7f 52 92 fc call 0xfc925291 12: 0f af eb imul %ebx,%ebp 15: e8 77 52 92 fc call 0xfc925291 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 5c 52 92 fc call 0xfc925291 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