Fatal trap 18: integer divide fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0xffffffff80fd8240 stack pointer = 0x0:0xfffffe00246f4840 frame pointer = 0x0:0xfffffe00246f48e0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2169 (syz-executor.2) trap number = 18 panic: integer divide fault cpuid = 0 time = 1568503589 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe00246f4510 vpanic() at vpanic+0x1e0/frame 0xfffffe00246f4570 panic() at panic+0x43/frame 0xfffffe00246f45d0 trap_fatal() at trap_fatal+0x4de/frame 0xfffffe00246f4650 trap() at trap+0xb8/frame 0xfffffe00246f4770 calltrap() at calltrap+0x8/frame 0xfffffe00246f4770 --- trap 0x12, rip = 0xffffffff80fd8240, rsp = 0xfffffe00246f4840, rbp = 0xfffffe00246f48e0 --- kern_fcntl() at kern_fcntl+0xa30/frame 0xfffffe00246f48e0 kern_fcntl_freebsd() at kern_fcntl_freebsd+0x14f/frame 0xfffffe00246f4970 ia32_syscall() at ia32_syscall+0x46a/frame 0xfffffe00246f4ab0 int0x80_syscall_common() at int0x80_syscall_common+0x9c/frame 0x8142636 KDB: enter: panic [ thread pid 2169 tid 100311 ] Stopped at kdb_enter+0x6a: movq $0,kdb_why