Oops: divide error: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 1 UID: 0 PID: 7292 Comm: syz.3.341 Not tainted 6.13.0-rc2-syzkaller-00018-g7cb1b4663150 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:drm_mode_vrefresh+0x199/0x200 drivers/gpu/drm/drm_modes.c:1305 Code: 89 de e8 5a 71 61 fc 66 83 fb 01 76 08 e8 3f 6f 61 fc 0f af eb e8 37 6f 61 fc 4d 69 e4 e8 03 00 00 89 e8 31 d2 d1 e8 4c 01 e0 <48> f7 f5 48 89 c3 e8 1c 6f 61 fc 89 d8 5b 5d 41 5c 41 5d 41 5e c3 RSP: 0018:ffffc9002066fa00 EFLAGS: 00010202 RAX: 0000000000001f40 RBX: 0000000000001000 RCX: ffffffff85389436 RDX: 0000000000000000 RSI: ffffffff85389449 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000001 R10: 0000000000001000 R11: ffffffff81fc8bb4 R12: 0000000000001f40 R13: 0000000000000000 R14: 0000000000000010 R15: ffffc9002066fdf8 FS: 00007f0b72c766c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001000 CR3: 0000000065624000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: drm_mode_setcrtc+0x173d/0x1db0 drivers/gpu/drm/drm_crtc.c:778 drm_ioctl_kernel+0x1e6/0x3d0 drivers/gpu/drm/drm_ioctl.c:796 drm_ioctl+0x5d6/0xc00 drivers/gpu/drm/drm_ioctl.c:893 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __x64_sys_ioctl+0x190/0x200 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0b71d7ff19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0b72c76058 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0b71f45fa0 RCX: 00007f0b71d7ff19 RDX: 0000000020000400 RSI: 00000000c06864a2 RDI: 0000000000000003 RBP: 00007f0b71df3cc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0b71f45fa0 R15: 00007fffe6322648 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:drm_mode_vrefresh+0x199/0x200 drivers/gpu/drm/drm_modes.c:1305 Code: 89 de e8 5a 71 61 fc 66 83 fb 01 76 08 e8 3f 6f 61 fc 0f af eb e8 37 6f 61 fc 4d 69 e4 e8 03 00 00 89 e8 31 d2 d1 e8 4c 01 e0 <48> f7 f5 48 89 c3 e8 1c 6f 61 fc 89 d8 5b 5d 41 5c 41 5d 41 5e c3 RSP: 0018:ffffc9002066fa00 EFLAGS: 00010202 RAX: 0000000000001f40 RBX: 0000000000001000 RCX: ffffffff85389436 RDX: 0000000000000000 RSI: ffffffff85389449 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000001 R10: 0000000000001000 R11: ffffffff81fc8bb4 R12: 0000000000001f40 R13: 0000000000000000 R14: 0000000000000010 R15: ffffc9002066fdf8 FS: 00007f0b72c766c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4d4f717178 CR3: 0000000065624000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 de mov %ebx,%esi 2: e8 5a 71 61 fc call 0xfc617161 7: 66 83 fb 01 cmp $0x1,%bx b: 76 08 jbe 0x15 d: e8 3f 6f 61 fc call 0xfc616f51 12: 0f af eb imul %ebx,%ebp 15: e8 37 6f 61 fc call 0xfc616f51 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 1c 6f 61 fc call 0xfc616f51 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