# scsi: lpfc: Check for hdwq null ptr when cleaning up lpfc_vport structure

CVE record · `CVE-2025-38695`

- **Identifiers:** `CVE-2025-38695`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 4 Sept 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 4 Sept 2025, 15:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `5e5b511d8bfaf765cb92a695cda336c936cb86dc to before 6711ce7e9de4eb1a541ef30638df1294ea4267f8` (git)
  - affected: `5e5b511d8bfaf765cb92a695cda336c936cb86dc to before 74bdf54a847dab209d2a8f65852f59b7fa156175` (git)
  - affected: `5e5b511d8bfaf765cb92a695cda336c936cb86dc to before 5e25ee1ecec91c61a8acf938ad338399cad464de` (git)
  - affected: `5e5b511d8bfaf765cb92a695cda336c936cb86dc to before add68606a01dcccf18837a53e85b85caf0693b4b` (git)
  - affected: `5e5b511d8bfaf765cb92a695cda336c936cb86dc to before 7925dd68807cc8fd755b04ca99e7e6f1c04392e8` (git)
  - affected: `5e5b511d8bfaf765cb92a695cda336c936cb86dc to before 571617f171f723b05f02d154a2e549a17eab4935` (git)
  - affected: `5e5b511d8bfaf765cb92a695cda336c936cb86dc to before d3f55f46bb37a8ec73bfe3cfe36e3ecfa2945dfa` (git)
  - affected: `5e5b511d8bfaf765cb92a695cda336c936cb86dc to before 46a0602c24d7d425dd8e00c749cd64a934aac7ec` (git)
  - affected: `5e5b511d8bfaf765cb92a695cda336c936cb86dc to before 6698796282e828733cde3329c887b4ae9e5545e9` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.1`
  - unaffected: `before 5.1` (semver)
  - unaffected: `5.4.297 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.241 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.190 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.149 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.103 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.43 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.11 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16.2 to 6.16.*, inclusive` (semver)
  - unaffected: `6.17 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's lpfc SCSI driver (Emulex/Broadcom Fibre Channel HBAs) is affected in versions starting from 5.1 before the fixed stable releases listed by the source, including 5.4.297, 5.10.241, 5.15.190 and 6.1.149 and later in each series. A null pointer dereference can occur during cleanup if a register read fails during port setup, before the hardware queues are allocated. The source does not describe what an attacker would need to trigger it or the resulting impact beyond a crash. Upgrade to a fixed kernel version from the listed stable branches; no workaround is listed.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0018, the 8th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 4 Sept 2025, 15:32 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-38695)
- 4 Sept 2025, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38695)

## Sources

- [CVE List: CVE-2025-38695](https://www.cve.org/CVERecord?id=CVE-2025-38695)
- [NVD: CVE-2025-38695](https://nvd.nist.gov/vuln/detail/CVE-2025-38695)

### References from the CNA

- <https://git.kernel.org/stable/c/6711ce7e9de4eb1a541ef30638df1294ea4267f8>
- <https://git.kernel.org/stable/c/74bdf54a847dab209d2a8f65852f59b7fa156175>
- <https://git.kernel.org/stable/c/5e25ee1ecec91c61a8acf938ad338399cad464de>
- <https://git.kernel.org/stable/c/add68606a01dcccf18837a53e85b85caf0693b4b>
- <https://git.kernel.org/stable/c/7925dd68807cc8fd755b04ca99e7e6f1c04392e8>
- <https://git.kernel.org/stable/c/571617f171f723b05f02d154a2e549a17eab4935>
- <https://git.kernel.org/stable/c/d3f55f46bb37a8ec73bfe3cfe36e3ecfa2945dfa>
- <https://git.kernel.org/stable/c/46a0602c24d7d425dd8e00c749cd64a934aac7ec>
- <https://git.kernel.org/stable/c/6698796282e828733cde3329c887b4ae9e5545e9>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-38695>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-38695/>. Everything for agents: <https://agentprime.io/llms.txt>.
