CVE-2026-127754: PRLI Use-After-Free and Stack Buffer Overflow in FreeBSD ocs_fc
CVE-2026-127754 comprises two memory-safety flaws in FreeBSD's ocs_fc Fibre Channel driver for supported Emulex adapters. When rejecting a Process Login (PRLI) request containing an unsupported FC-4 type, the driver sends a second response for the same exchange, resulting in a use-after-free. Any Fibre Channel port that has completed Port Login (PLOGI) can trigger this flaw with a single crafted PRLI request. Separately, formatting the adapter's active profile ID can overflow a stack buffer. These flaws expose the kernel to memory corruption, potentially causing denial of service or arbitrary kernel code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A remote port on the same Fibre Channel fabric can trigger kernel use-after-free after completing PLOGI, potentially crashing the affected system or executing arbitrary code in kernel context. The active-profile-ID formatting flaw additionally exposes the kernel to stack memory corruption; its specific trigger conditions and exploitability are not established.
Mitigation
If you can’t patch tonight, do this now.
No workaround is available according to the FreeBSD advisory. Systems without adapters supported by the ocs_fc driver are not affected.
Remediation
Patch, then assume compromise.
Upgrade to a corrected FreeBSD version and reboot: 15.1-RELEASE-p7, 14.5-RELEASE-p4, 14.4-RELEASE-p13, or a later applicable release. Corrected STABLE versions include 15.1-STABLE as of 2026-11-03 08:56:14 UTC and 14.5-STABLE as of 2026-11-03 09:00:17 UTC. Corresponding fixed FreeBSD-kernel package versions are 15.1_7, 14.5_4, and 14.4_13 or later on their respective branches. Eligible amd64/arm64 systems using base system packages can run 'pkg upgrade -r FreeBSD-base'. RELEASE systems installed from binary distribution sets can run 'freebsd-update fetch' followed by 'freebsd-update install'. Alternatively, verify and apply the official source patch, rebuild the kernel, and reboot.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-127754 exploited in the wild?
- As of Nov 19, 2026, Mallory has no reports of CVE-2026-127754 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-127754?
- As of Nov 19, 2026, Mallory has found no public exploit for CVE-2026-127754.
- Is there a patch for CVE-2026-127754?
- Upgrade to a corrected FreeBSD version and reboot: 15.1-RELEASE-p7, 14.5-RELEASE-p4, 14.4-RELEASE-p13, or a later applicable release. Corrected STABLE versions include 15.1-STABLE as of 2026-11-03 08:56:14 UTC and 14.5-STABLE as of 2026-11-03 09:00:17 UTC.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.