divide error: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 PID: 5489 Comm: syz-executor.0 Not tainted 6.8.0-rc7-syzkaller-g90d35da658da #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:drm_mode_vrefresh drivers/gpu/drm/drm_modes.c:1303 [inline] RIP: 0010:drm_mode_debug_printmodeline+0x118/0x4e0 drivers/gpu/drm/drm_modes.c:60 Code: 00 41 0f b7 07 66 83 f8 02 b9 01 00 00 00 0f 43 c8 0f b7 c1 0f af e8 44 89 f0 48 69 c8 e8 03 00 00 89 e8 d1 e8 48 01 c8 31 d2 <48> f7 f5 49 89 c6 eb 0c e8 bb d5 4b fc eb 05 e8 b4 d5 4b fc 48 89 RSP: 0018:ffffc900054ff8b0 EFLAGS: 00010246 RAX: 000000000001f400 RBX: ffff888024048800 RCX: 000000000001f400 RDX: 0000000000000000 RSI: 0000000000008000 RDI: ffff888024048818 RBP: 0000000000000000 R08: ffffffff854796ef R09: 0000000000000000 R10: ffffc900054ff880 R11: fffff52000a9ff13 R12: 0000000000000080 R13: dffffc0000000000 R14: 0000000000000080 R15: ffff888024048816 FS: 00007f2d47eba6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2d471980c0 CR3: 000000001e0f8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: drm_mode_setcrtc+0x820/0x1780 drivers/gpu/drm/drm_crtc.c:793 drm_ioctl_kernel+0x33a/0x440 drivers/gpu/drm/drm_ioctl.c:744 drm_ioctl+0x639/0xb10 drivers/gpu/drm/drm_ioctl.c:841 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:857 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f2d4707cb29 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:00007f2d47eba0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f2d4719bf80 RCX: 00007f2d4707cb29 RDX: 0000000020000180 RSI: 00000000c06864a2 RDI: 0000000000000003 RBP: 00007f2d470c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2d4719bf80 R15: 00007ffe41a303a8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:drm_mode_vrefresh drivers/gpu/drm/drm_modes.c:1303 [inline] RIP: 0010:drm_mode_debug_printmodeline+0x118/0x4e0 drivers/gpu/drm/drm_modes.c:60 Code: 00 41 0f b7 07 66 83 f8 02 b9 01 00 00 00 0f 43 c8 0f b7 c1 0f af e8 44 89 f0 48 69 c8 e8 03 00 00 89 e8 d1 e8 48 01 c8 31 d2 <48> f7 f5 49 89 c6 eb 0c e8 bb d5 4b fc eb 05 e8 b4 d5 4b fc 48 89 RSP: 0018:ffffc900054ff8b0 EFLAGS: 00010246 RAX: 000000000001f400 RBX: ffff888024048800 RCX: 000000000001f400 RDX: 0000000000000000 RSI: 0000000000008000 RDI: ffff888024048818 RBP: 0000000000000000 R08: ffffffff854796ef R09: 0000000000000000 R10: ffffc900054ff880 R11: fffff52000a9ff13 R12: 0000000000000080 R13: dffffc0000000000 R14: 0000000000000080 R15: ffff888024048816 FS: 00007f2d47eba6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efd29b27440 CR3: 000000001e0f8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 41 0f add %al,0xf(%rcx) 3: b7 07 mov $0x7,%bh 5: 66 83 f8 02 cmp $0x2,%ax 9: b9 01 00 00 00 mov $0x1,%ecx e: 0f 43 c8 cmovae %eax,%ecx 11: 0f b7 c1 movzwl %cx,%eax 14: 0f af e8 imul %eax,%ebp 17: 44 89 f0 mov %r14d,%eax 1a: 48 69 c8 e8 03 00 00 imul $0x3e8,%rax,%rcx 21: 89 e8 mov %ebp,%eax 23: d1 e8 shr %eax 25: 48 01 c8 add %rcx,%rax 28: 31 d2 xor %edx,%edx * 2a: 48 f7 f5 div %rbp <-- trapping instruction 2d: 49 89 c6 mov %rax,%r14 30: eb 0c jmp 0x3e 32: e8 bb d5 4b fc call 0xfc4bd5f2 37: eb 05 jmp 0x3e 39: e8 b4 d5 4b fc call 0xfc4bd5f2 3e: 48 rex.W 3f: 89 .byte 0x89