# s390/ctcm: Fix double-kfree

CVE record · `CVE-2025-40253`

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

Published by the CVE Program (CNA: Linux) at 4 Dec 2025, 16:08 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: `467ddbbe7e749d558f13e640f50f546149c930b3 to before 06f1dd1de0d33dbfbd2e1fc9fc57d8895f730de2` (git)
  - affected: `4d3c6d741816539b57fa1110c3f765a8c176d7b4 to before 6bf8ccaabce8cebb6cb1f255c93d0acdfe95c17a` (git)
  - affected: `2bd57101c3ecf3f8c0da1d26c2b6ad511adc6d50 to before 7616e2eee679746d526c7f5befd4eedb995935b5` (git)
  - affected: `0c0b20587b9f25a2ad14db7f80ebe49bdf29920a to before 43096dab8cc60fc39133205fd149a54d3acebea8` (git)
  - affected: `0c0b20587b9f25a2ad14db7f80ebe49bdf29920a to before 3b177b2ded563df16f6d5920671ffcfe5915d472` (git)
  - affected: `0c0b20587b9f25a2ad14db7f80ebe49bdf29920a to before b9dbfb1b5699f9f1e4991f96741bdf9047147589` (git)
  - affected: `0c0b20587b9f25a2ad14db7f80ebe49bdf29920a to before 7ff76f8dc6b550f8d16487bf3cebc278be720b5c` (git)
  - affected: `0c0b20587b9f25a2ad14db7f80ebe49bdf29920a to before da02a1824884d6c84c5e5b5ac373b0c9e3288ec2` (git)
  - affected: `36933de59f67029e5739a98393891f9b94f27e0f` (git)
  - affected: `d886b4292a1c5b4facdb2dfdc31f0fecc71df898` (git)
  - affected: `4c9ba0fed125deba8416b995b0c274b0804c0c24` (git)
  - affected: `ea0053af5dab4d63a9c44563973fb2f3bfd9eb2b` (git)
  - and 7 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.18`
  - unaffected: `before 5.18` (semver)
  - unaffected: `5.4.302 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.247 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.197 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.159 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.118 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.60 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.10 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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.0032, the 25th 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 4 Dec 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/06f1dd1de0d33dbfbd2e1fc9fc57d8895f730de2>
- <https://git.kernel.org/stable/c/6bf8ccaabce8cebb6cb1f255c93d0acdfe95c17a>
- <https://git.kernel.org/stable/c/7616e2eee679746d526c7f5befd4eedb995935b5>
- <https://git.kernel.org/stable/c/43096dab8cc60fc39133205fd149a54d3acebea8>
- <https://git.kernel.org/stable/c/3b177b2ded563df16f6d5920671ffcfe5915d472>
- <https://git.kernel.org/stable/c/b9dbfb1b5699f9f1e4991f96741bdf9047147589>
- <https://git.kernel.org/stable/c/7ff76f8dc6b550f8d16487bf3cebc278be720b5c>
- <https://git.kernel.org/stable/c/da02a1824884d6c84c5e5b5ac373b0c9e3288ec2>

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

---

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