FreeBSD : FreeBSD -- Multiple vulnerabilities in the ocs_fc(4) driver (6a6aaf64-e310-11f1-a3e1-bc241121aa0a)

high Nessus Plugin ID 382603

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The version of FreeBSD installed on the remote host is prior to tested version. It is, therefore, affected by multiple vulnerabilities as referenced in the 6a6aaf64-e310-11f1-a3e1-bc241121aa0a advisory.

Several vulnerabilities were found in the ocs_fc(4) driver.
The driver's ioctl(2) interface, which members of the operator group can access, did not require superuser privileges and did not adequately validate requests. Among other problems, it failed to bound user-supplied buffer sizes and PCI configuration space offsets, and could issue adapter commands referencing freed memory.
(CVE-2026-127752) The driver did not adequately validate the length of FCP command frames received from initiators, and did not range check exchange identifiers reported by the adapter, potentially leading to out-of-bounds memory accesses. (CVE-2026-127753) When rejecting a Process Login (PRLI) request with an unsupported FC-4 type, the driver sent a second response for the same exchange, resulting in a use-after-free. Any port which had completed a Port Login (PLOGI) could trigger this with a single PRLI. Additionally, formatting the adapter's active profile ID could overflow a stack buffer. (CVE-2026-127754) A local user in the operator group can use the ioctl(2) interface to corrupt kernel memory or reprogram the adapter, potentially gaining full control of the system. A remote port on the same Fibre Channel fabric can trigger a use-after-free or out-of-bounds memory access in the kernel, resulting in a Denial of Service (DoS) or potentially arbitrary code execution in the kernel.

Tenable has extracted the preceding description block directly from the FreeBSD security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?be7e73e5

Plugin Details

Severity: High

ID: 382603

File Name: freebsd_pkg_6a6aaf64e31011f1a3e1bc241121aa0a.nasl

Version: 1.1

Type: Local

Published: 11/18/2026

Updated: 11/18/2026

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.8

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-127754

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:freebsd:freebsd, p-cpe:/a:freebsd:freebsd:freebsd-kernel

Required KB Items: Settings/ParanoidReport, Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 11/18/2026

Vulnerability Publication Date: 11/18/2026

Reference Information

CVE: CVE-2026-127752, CVE-2026-127753, CVE-2026-127754