# scsi: target: Fix NULL pointer dereference in core_scsi3_decode_spec_i_port()

CVE record · `CVE-2025-38399`

- **Identifiers:** `CVE-2025-38399`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 25 Jul 2025
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 25 Jul 2025, 12:53 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: `f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to before 70ddb8133fdb512d4b1f2b4fd1c9e518514f182c` (git)
  - affected: `f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to before 1129e0e0a833acf90429e0f13951068d5f026e4f` (git)
  - affected: `f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to before 1627dda4d70ceb1ba62af2e401af73c09abb1eb5` (git)
  - affected: `f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to before 55dfffc5e94730370b08de02c0cf3b7c951bbe9e` (git)
  - affected: `f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to before 7296c938df2445f342be456a6ff0b3931d97f4e5` (git)
  - affected: `f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to before c412185d557578d3f936537ed639c4ffaaed4075` (git)
  - affected: `f32ba612ef0f8eecaf6d2a5b04076ee7ea9ed039 to before d8ab68bdb294b09a761e967dad374f2965e1913f` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.9`
  - unaffected: `before 5.9` (semver)
  - unaffected: `5.10.240 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.187 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.144 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.97 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.37 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.6 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## 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

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from CNA (Linux)

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

## Timeline

This record came from the full history of the CVE Program, published 25 Jul 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/70ddb8133fdb512d4b1f2b4fd1c9e518514f182c>
- <https://git.kernel.org/stable/c/1129e0e0a833acf90429e0f13951068d5f026e4f>
- <https://git.kernel.org/stable/c/1627dda4d70ceb1ba62af2e401af73c09abb1eb5>
- <https://git.kernel.org/stable/c/55dfffc5e94730370b08de02c0cf3b7c951bbe9e>
- <https://git.kernel.org/stable/c/7296c938df2445f342be456a6ff0b3931d97f4e5>
- <https://git.kernel.org/stable/c/c412185d557578d3f936537ed639c4ffaaed4075>
- <https://git.kernel.org/stable/c/d8ab68bdb294b09a761e967dad374f2965e1913f>

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-38399>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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