# binfmt_misc: restore write access before closing files opened by open_exec()

CVE record · `CVE-2025-68239`

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

Published by the CVE Program (CNA: Linux) at 16 Dec 2025, 14:21 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: `e7850f4d844e0acfac7e570af611d89deade3146 to before 54274ff90488b6c0f595a6518faed3cf0bc966eb` (git)
  - affected: `e7850f4d844e0acfac7e570af611d89deade3146 to before 480ac88431703f2adbb8e6b5bd73c3f3cf9f3d7f` (git)
  - affected: `e7850f4d844e0acfac7e570af611d89deade3146 to before fbab8c08e1a6dbaef81e22d672a7647553101d16` (git)
  - affected: `e7850f4d844e0acfac7e570af611d89deade3146 to before 6cce7bc7fac8471c832696720d9c8f2a976d9c54` (git)
  - affected: `e7850f4d844e0acfac7e570af611d89deade3146 to before e785f552ab04dbca01d31f0334f4561240b04459` (git)
  - affected: `e7850f4d844e0acfac7e570af611d89deade3146 to before 90f601b497d76f40fa66795c3ecf625b6aced9fd` (git)
  - affected: `467a50d5db7deaf656e18a1f633be9ecd94b393a` (git)
  - affected: `4a8b4124ea4156ca52918b66c750a69c6d932aa5` (git)
  - affected: `3fe116e33a855bbfdd32dc207e9be2a41e3ed3a6` (git)
  - affected: `c0e0ab60d0b15469e69db93215dad009999f5a5b` (git)
  - affected: `5ab9464a2a3c538eedbb438f1802f2fd98d0953f` (git)
  - affected: `d28492be82e19fc69cc69975fc2052b37ef0c821` (git)
  - and 6 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.12`
  - unaffected: `before 5.12` (semver)
  - unaffected: `5.15.209 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.167 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.130 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.78 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.9 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

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

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

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/54274ff90488b6c0f595a6518faed3cf0bc966eb>
- <https://git.kernel.org/stable/c/480ac88431703f2adbb8e6b5bd73c3f3cf9f3d7f>
- <https://git.kernel.org/stable/c/fbab8c08e1a6dbaef81e22d672a7647553101d16>
- <https://git.kernel.org/stable/c/6cce7bc7fac8471c832696720d9c8f2a976d9c54>
- <https://git.kernel.org/stable/c/e785f552ab04dbca01d31f0334f4561240b04459>
- <https://git.kernel.org/stable/c/90f601b497d76f40fa66795c3ecf625b6aced9fd>

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

---

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