Fatal trap 18: integer divide fault while in kernel mode cpuid = 1; apic id = 01 instruction pointer = 0x20:0xffffffff80fd7170 stack pointer = 0x0:0xfffffe001fb0d840 frame pointer = 0x0:0xfffffe001fb0d8e0 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 = 5324 (syz-executor.3) trap number = 18 panic: integer divide fault cpuid = 1 time = 1567072697 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe001fb0d510 vpanic() at vpanic+0x1e0/frame 0xfffffe001fb0d570 panic() at panic+0x43/frame 0xfffffe001fb0d5d0 trap_fatal() at trap_fatal+0x4de/frame 0xfffffe001fb0d650 trap() at trap+0xb8/frame 0xfffffe001fb0d770 calltrap() at calltrap+0x8/frame 0xfffffe001fb0d770 --- trap 0x12, rip = 0xffffffff80fd7170, rsp = 0xfffffe001fb0d840, rbp = 0xfffffe001fb0d8e0 --- kern_fcntl() at kern_fcntl+0xa30/frame 0xfffffe001fb0d8e0 kern_fcntl_freebsd() at kern_fcntl_freebsd+0x14f/frame 0xfffffe001fb0d970 ia32_syscall() at ia32_syscall+0x46a/frame 0xfffffe001fb0dab0 int0x80_syscall_common() at int0x80_syscall_common+0x9c/frame 0x814260e KDB: enter: panic [ thread pid 5324 tid 100565 ] Stopped at kdb_enter+0x6a: movq $0,kdb_why