Fatal trap 9: general protection fault while in kernel mode cpuid = 1; apic id = 01 instruction pointer = 0x20:0xffffffff8102c01b stack pointer = 0x0:0xfffffe002449f640 frame pointer = 0x0:0xfffffe002449f6d0 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 = 817 (syz-executor.0) trap number = 9 panic: general protection fault cpuid = 1 time = 1567914597 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe002449f310 vpanic() at vpanic+0x1e0/frame 0xfffffe002449f370 panic() at panic+0x43/frame 0xfffffe002449f3d0 trap_fatal() at trap_fatal+0x4de/frame 0xfffffe002449f450 trap() at trap+0xb8/frame 0xfffffe002449f570 calltrap() at calltrap+0x8/frame 0xfffffe002449f570 --- trap 0x9, rip = 0xffffffff8102c01b, rsp = 0xfffffe002449f640, rbp = 0xfffffe002449f6d0 --- __mtx_lock_sleep() at __mtx_lock_sleep+0x17b/frame 0xfffffe002449f6d0 __mtx_lock_flags() at __mtx_lock_flags+0x157/frame 0xfffffe002449f730 sctp_getopt() at sctp_getopt+0x1d39/frame 0xfffffe002449f800 sctp_ctloutput() at sctp_ctloutput+0x22f/frame 0xfffffe002449f840 sogetopt() at sogetopt+0xe6/frame 0xfffffe002449f8b0 kern_getsockopt() at kern_getsockopt+0x13f/frame 0xfffffe002449f930 sys_getsockopt() at sys_getsockopt+0x78/frame 0xfffffe002449f970 ia32_syscall() at ia32_syscall+0x46a/frame 0xfffffe002449fab0 int0x80_syscall_common() at int0x80_syscall_common+0x9c/frame 0x8140998 KDB: enter: panic [ thread pid 817 tid 100200 ] Stopped at kdb_enter+0x6a: movq $0,kdb_why