Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0xffffffff81344265 stack pointer = 0x28:0xfffffe0021222770 frame pointer = 0x28:0xfffffe0021222820 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 = 30173 (syz-executor.2) trap number = 9 panic: general protection fault cpuid = 0 time = 29 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe0021222440 vpanic() at vpanic+0x1e0/frame 0xfffffe00212224a0 panic() at panic+0x43/frame 0xfffffe0021222500 trap_fatal() at trap_fatal+0x4c6/frame 0xfffffe0021222580 trap() at trap+0xba/frame 0xfffffe00212226a0 calltrap() at calltrap+0x8/frame 0xfffffe00212226a0 --- trap 0x9, rip = 0xffffffff81344265, rsp = 0xfffffe0021222770, rbp = 0xfffffe0021222820 --- sctp_inpcb_bind() at sctp_inpcb_bind+0x3f5/frame 0xfffffe0021222820 sctp_connect() at sctp_connect+0x266/frame 0xfffffe0021222880 soconnectat() at soconnectat+0x183/frame 0xfffffe00212228e0 kern_connectat() at kern_connectat+0x1ff/frame 0xfffffe0021222940 sys_connect() at sys_connect+0xd9/frame 0xfffffe0021222980 amd64_syscall() at amd64_syscall+0x436/frame 0xfffffe0021222ab0 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe0021222ab0 --- syscall (198, FreeBSD ELF64, nosys), rip = 0x412e5a, rsp = 0x7fffdfffdf38, rbp = 0x3 --- KDB: enter: panic [ thread pid 30173 tid 100264 ] Stopped at kdb_enter+0x6a: movq $0,kdb_why