Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0xffffffff81715bb1 stack pointer = 0x28:0xfffffe002e376540 frame pointer = 0x28:0xfffffe002e376540 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 = 26778 (syz-executor.3) trap number = 9 panic: general protection fault cpuid = 0 time = 844 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe002e376210 vpanic() at vpanic+0x1e0/frame 0xfffffe002e376270 panic() at panic+0x43/frame 0xfffffe002e3762d0 trap_fatal() at trap_fatal+0x4c6/frame 0xfffffe002e376350 trap() at trap+0xba/frame 0xfffffe002e376470 calltrap() at calltrap+0x8/frame 0xfffffe002e376470 --- trap 0x9, rip = 0xffffffff81715bb1, rsp = 0xfffffe002e376540, rbp = 0xfffffe002e376540 --- memcmp() at memcmp+0xa1/frame 0xfffffe002e376540 authunix_create() at authunix_create+0x25b/frame 0xfffffe002e376800 sys_nlm_syscall() at sys_nlm_syscall+0xed/frame 0xfffffe002e376980 amd64_syscall() at amd64_syscall+0x436/frame 0xfffffe002e376ab0 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe002e376ab0 --- syscall (154, FreeBSD ELF64, sys_nlm_syscall), rip = 0x20000009, rsp = 0x7fffdfffdeb8, rbp = 0x98 --- KDB: enter: panic [ thread pid 26778 tid 101143 ] Stopped at kdb_enter+0x6a: movq $0,kdb_why