divide error: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 10511 Comm: syz-executor.3 Not tainted 4.14.295-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 task: ffff8880999c2040 task.stack: ffff8880b38c8000 RIP: 0010:fbcon_init+0xcb4/0x1cc0 drivers/video/fbdev/core/fbcon.c:1065 RSP: 0018:ffff8880b38cf7e0 EFLAGS: 00010246 RAX: 0000000000000030 RBX: ffff8882388157c0 RCX: ffffc90005deb000 RDX: 0000000000000000 RSI: ffff88809d0868f4 RDI: ffff888238815978 RBP: ffff88809d086540 R08: ffffffff8b9b0558 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888238902040 R13: 0000000000000008 R14: ffff88809d086874 R15: 0000000000000030 FS: 00007f1f202b7700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1f202b6d38 CR3: 000000009ae36000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: visual_init+0x332/0x5e0 drivers/tty/vt/vt.c:746 vc_allocate+0x2c5/0x640 drivers/tty/vt/vt.c:802 con_install+0x4d/0x450 drivers/tty/vt/vt.c:2916 tty_driver_install_tty drivers/tty/tty_io.c:1225 [inline] tty_init_dev.part.0+0x99/0x400 drivers/tty/tty_io.c:1338 tty_init_dev drivers/tty/tty_io.c:1328 [inline] tty_open_by_driver drivers/tty/tty_io.c:1973 [inline] tty_open+0x669/0x8b0 drivers/tty/tty_io.c:2021 chrdev_open+0x23c/0x6d0 fs/char_dev.c:423 do_dentry_open+0x44b/0xec0 fs/open.c:777 vfs_open+0x105/0x220 fs/open.c:888 do_last fs/namei.c:3428 [inline] path_openat+0x628/0x2970 fs/namei.c:3571 do_filp_open+0x179/0x3c0 fs/namei.c:3605 do_sys_open+0x296/0x410 fs/open.c:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f1f218f5654 RSP: 002b:00007f1f202b6ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f1f21a64f80 RCX: 00007f1f218f5654 RDX: 0000000000000002 RSI: 00007f1f202b6d40 RDI: 00000000ffffff9c RBP: 00007f1f202b6d40 R08: 0000000000000000 R09: 000000000000000e R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007fffc9dc834f R14: 00007f1f202b7300 R15: 0000000000022000 Code: 54 24 30 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 8d 0d 00 00 31 d2 44 89 f8 48 8b 74 24 38 b5 b0 03 00 00 48 89 f2 48 c1 ea 03 89 44 24 30 48 b8 00 00 RIP: fbcon_init+0xcb4/0x1cc0 drivers/video/fbdev/core/fbcon.c:1065 RSP: ffff8880b38cf7e0 ---[ end trace 39e406b482e7fae9 ]--- ---------------- Code disassembly (best guess): 0: 54 push %rsp 1: 24 30 and $0x30,%al 3: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax a: fc ff df d: 48 c1 ea 03 shr $0x3,%rdx 11: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax 15: 84 c0 test %al,%al 17: 74 08 je 0x21 19: 3c 03 cmp $0x3,%al 1b: 0f 8e 8d 0d 00 00 jle 0xdae 21: 31 d2 xor %edx,%edx 23: 44 89 f8 mov %r15d,%eax 26: 48 8b 74 24 38 mov 0x38(%rsp),%rsi * 2b: f7 b5 b0 03 00 00 divl 0x3b0(%rbp) <-- trapping instruction 31: 48 89 f2 mov %rsi,%rdx 34: 48 c1 ea 03 shr $0x3,%rdx 38: 89 44 24 30 mov %eax,0x30(%rsp) 3c: 48 rex.W 3d: b8 .byte 0xb8