divide error: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 PID: 16451 Comm: syz-executor.2 Not tainted 6.8.0-syzkaller-01185-g855684c7d938 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:drm_mode_vrefresh+0x199/0x200 drivers/gpu/drm/drm_modes.c:1303 Code: 89 de e8 ba 50 82 fc 66 83 fb 01 76 08 e8 ff 55 82 fc 0f af eb e8 f7 55 82 fc 4d 69 e4 e8 03 00 00 89 e8 31 d2 d1 e8 4c 01 e0 <48> f7 f5 48 89 c3 e8 dc 55 82 fc 89 d8 5b 5d 41 5c 41 5d 41 5e c3 RSP: 0018:ffffc90004f379e8 EFLAGS: 00010206 RAX: 0000000000000fa0 RBX: 0000000000000100 RCX: ffffc90004769000 RDX: 0000000000000000 RSI: ffffffff850a9519 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000001 R10: 0000000000000100 R11: 0000000000000002 R12: 0000000000000fa0 R13: 0000000000000000 R14: 0000000000000000 R15: 000000000000000f FS: 00007ff0ddbbf6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33122000 CR3: 000000006c1ae000 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+0x1269/0x1700 drivers/gpu/drm/drm_crtc.c:793 drm_ioctl_kernel+0x1ec/0x3e0 drivers/gpu/drm/drm_ioctl.c:744 drm_ioctl+0x5d6/0xc00 drivers/gpu/drm/drm_ioctl.c:841 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl fs/ioctl.c:890 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:890 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7ff0dce7dda9 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:00007ff0ddbbf0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ff0dcfabf80 RCX: 00007ff0dce7dda9 RDX: 0000000020000a00 RSI: 00000000c06864a2 RDI: 0000000000000003 RBP: 00007ff0dceca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff0dcfabf80 R15: 00007ffc81967558 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:drm_mode_vrefresh+0x199/0x200 drivers/gpu/drm/drm_modes.c:1303 Code: 89 de e8 ba 50 82 fc 66 83 fb 01 76 08 e8 ff 55 82 fc 0f af eb e8 f7 55 82 fc 4d 69 e4 e8 03 00 00 89 e8 31 d2 d1 e8 4c 01 e0 <48> f7 f5 48 89 c3 e8 dc 55 82 fc 89 d8 5b 5d 41 5c 41 5d 41 5e c3 RSP: 0018:ffffc90004f379e8 EFLAGS: 00010206 RAX: 0000000000000fa0 RBX: 0000000000000100 RCX: ffffc90004769000 RDX: 0000000000000000 RSI: ffffffff850a9519 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000001 R10: 0000000000000100 R11: 0000000000000002 R12: 0000000000000fa0 R13: 0000000000000000 R14: 0000000000000000 R15: 000000000000000f FS: 00007ff0ddbbf6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb452502461 CR3: 000000006c1ae000 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 ba 50 82 fc call 0xfc8250c1 7: 66 83 fb 01 cmp $0x1,%bx b: 76 08 jbe 0x15 d: e8 ff 55 82 fc call 0xfc825611 12: 0f af eb imul %ebx,%ebp 15: e8 f7 55 82 fc call 0xfc825611 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 dc 55 82 fc call 0xfc825611 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