# scsi: target: target_core_configfs: Add length check to avoid buffer overflow

CVE record · `CVE-2025-39998`

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

Published by the CVE Program (CNA: Linux) at 15 Oct 2025, 07:58 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: `c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to before e6eeee5dc0d9221ff96d1b229b1d0222c8871b84` (git)
  - affected: `c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to before 764a91e2fc9639e07aac93bc70e387e6b1e33084` (git)
  - affected: `c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to before ddc79fba132b807ff775467acceaf48b456e008b` (git)
  - affected: `c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to before e73fe0eefac3e15bf88fb5b4afae4c76215ee4d4` (git)
  - affected: `c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to before f03aa5e39da7d045615b3951d2a6ca1d7132f881` (git)
  - affected: `c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to before 53c6351597e6a17ec6619f6f060d54128cb9a187` (git)
  - affected: `c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to before 4b292286949588bd2818e66ff102db278de8dd26` (git)
  - affected: `c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to before a150275831b765b0f1de8b8ff52ec5c6933ac15d` (git)
  - affected: `c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to before 27e06650a5eafe832a90fd2604f0c5e920857fae` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.38`
  - unaffected: `before 2.6.38` (semver)
  - unaffected: `5.4.301 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.246 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.195 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.156 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.110 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.51 to 6.12.*, inclusive` (semver)
  - unaffected: `6.16.11 to 6.16.*, inclusive` (semver)
  - unaffected: `6.17.1 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 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.1 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0018, the 7th percentile, on 19 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 15 Oct 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/e6eeee5dc0d9221ff96d1b229b1d0222c8871b84>
- <https://git.kernel.org/stable/c/764a91e2fc9639e07aac93bc70e387e6b1e33084>
- <https://git.kernel.org/stable/c/ddc79fba132b807ff775467acceaf48b456e008b>
- <https://git.kernel.org/stable/c/e73fe0eefac3e15bf88fb5b4afae4c76215ee4d4>
- <https://git.kernel.org/stable/c/f03aa5e39da7d045615b3951d2a6ca1d7132f881>
- <https://git.kernel.org/stable/c/53c6351597e6a17ec6619f6f060d54128cb9a187>
- <https://git.kernel.org/stable/c/4b292286949588bd2818e66ff102db278de8dd26>
- <https://git.kernel.org/stable/c/a150275831b765b0f1de8b8ff52ec5c6933ac15d>
- <https://git.kernel.org/stable/c/27e06650a5eafe832a90fd2604f0c5e920857fae>

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

---

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