Use-after-free in FreeBSD - CVE-2026-127754

 

Use-after-free in FreeBSD - CVE-2026-127754

Published: November 18, 2026


Vulnerability identifier: #VU166866
CSH Severity: High
CVSS v4: 8.7 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-127754
CWE-ID: CWE-416
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker on the local network to cause a denial of service or potentially execute arbitrary code in the kernel.

The vulnerability exists due to use-after-free in the ocs_fc(4) driver's Process Login request handling when rejecting an unsupported FC-4 type and sending a second response for the same exchange. A remote attacker on the local network can send a single crafted Process Login request from a port on the same Fibre Channel fabric to trigger access to freed memory, causing a denial of service or potentially executing arbitrary kernel code.

The sending port must first have completed a Port Login (PLOGI).


Affected software

FreeBSD

How to mitigate CVE-2026-127754

Install security update from vendor's website.


External References

Related Security Bulletins