# crypto: ccp: Don't attempt to copy ID to userspace if PSP command failed

CVE record · `CVE-2026-31697`

- **Identifiers:** `CVE-2026-31697`
- **State:** Confirmed
- **Severity:** CVSS 7.1 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-125](https://cwe.mitre.org/data/definitions/125.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 May 2026
- **Updated:** 19 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 May 2026, 13:55 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: `d6112ea0cb344d6f5ed519991e24f69ba4b43d0e to before 99bae2e3c3f9ba8f854c938ed2c811b6a63b28e4` (git)
  - affected: `d6112ea0cb344d6f5ed519991e24f69ba4b43d0e to before a21ae9f8769e5f75433bb0a85ac3868b2100ef5b` (git)
  - affected: `d6112ea0cb344d6f5ed519991e24f69ba4b43d0e to before 0f1f2f9894893dc8a28af1b9e9dbc0abf453eb52` (git)
  - affected: `d6112ea0cb344d6f5ed519991e24f69ba4b43d0e to before 09427bcb1715fb20a80b6acd5156dbf15ab5c363` (git)
  - affected: `d6112ea0cb344d6f5ed519991e24f69ba4b43d0e to before 1fbac0429a42adec830491757a2b53956dd797ea` (git)
  - affected: `d6112ea0cb344d6f5ed519991e24f69ba4b43d0e to before 2937f17bbeefb8e7608ff1f78cffbeb3d0281e5e` (git)
  - affected: `d6112ea0cb344d6f5ed519991e24f69ba4b43d0e to before 06f06d88c05ce176c61fff8c72c372847b0dd2b5` (git)
  - affected: `d6112ea0cb344d6f5ed519991e24f69ba4b43d0e to before 4f685dbfa87c546e51d9dc6cab379d20f275e114` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.2`
  - unaffected: `before 5.2` (semver)
  - unaffected: `5.10.258 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.209 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.175 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.136 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.84 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.25 to 6.18.*, inclusive` (semver)
  - unaffected: `7.0.2 to 7.0.*, inclusive` (semver)
  - unaffected: `7.1 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.0013, the 2nd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 1 May 2026, 14:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-31697)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/99bae2e3c3f9ba8f854c938ed2c811b6a63b28e4>
- <https://git.kernel.org/stable/c/a21ae9f8769e5f75433bb0a85ac3868b2100ef5b>
- <https://git.kernel.org/stable/c/0f1f2f9894893dc8a28af1b9e9dbc0abf453eb52>
- <https://git.kernel.org/stable/c/09427bcb1715fb20a80b6acd5156dbf15ab5c363>
- <https://git.kernel.org/stable/c/1fbac0429a42adec830491757a2b53956dd797ea>
- <https://git.kernel.org/stable/c/2937f17bbeefb8e7608ff1f78cffbeb3d0281e5e>
- <https://git.kernel.org/stable/c/06f06d88c05ce176c61fff8c72c372847b0dd2b5>
- <https://git.kernel.org/stable/c/4f685dbfa87c546e51d9dc6cab379d20f275e114>

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

---

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