# mtd: fix double free and WARN_ON in add_mtd_device() error paths

CVE record · `CVE-2026-68416`

- **Identifiers:** `CVE-2026-68416`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 10 Aug 2026
- **Updated:** 6 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 10 Aug 2026, 12:04 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: `93c08951d7070134b7415ca4abd0d25876aa653b to before b1f78dc4a6869e30ff64345a5d3e7da1b6da0061` (git)
  - affected: `006764e33fe9cff72f8a68ce1dab570d93662c96 to before 1dfe90daee6080b088b65620ff690a56f59ddea2` (git)
  - affected: `19bfa9ebebb5ec0695def57eb1d80de7e9cab369 to before ffe21a3545b439e7b11578a701c22a847c149561` (git)
  - affected: `19bfa9ebebb5ec0695def57eb1d80de7e9cab369 to before e1e96aca1bdf391e2f49531c270ffc134e5b49a5` (git)
  - affected: `19bfa9ebebb5ec0695def57eb1d80de7e9cab369 to before f98ae09c727dcf34f745c875661c64b642e4abfa` (git)
  - affected: `19bfa9ebebb5ec0695def57eb1d80de7e9cab369 to before 820f983d641937a787e841ee4b93501f69f5683e` (git)
  - affected: `19bfa9ebebb5ec0695def57eb1d80de7e9cab369 to before 9d4af746af8ce27eefc2338b2feaa1e01f28b6c3` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.6`
  - unaffected: `before 6.6` (semver)
  - unaffected: `6.6.148 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.101 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.42 to 6.18.*, inclusive` (semver)
  - unaffected: `7.1.6 to 7.1.*, inclusive` (semver)
  - unaffected: `7.2 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel mtd subsystem is affected from 6.6 until fixed, due to a double free and a WARN_ON in the add_mtd_device() error paths. The source gives few details on what an attacker would need to trigger it. Upgrade to 6.6.148, 6.12.101, 6.18.42, or 7.1.6, or to a later release in the same series.

Written 12 Nov 2026.

## 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.0020, the 9th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 10 Aug 2026, 12:04 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-68416)
- 10 Aug 2026, 13:20 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-68416)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/b1f78dc4a6869e30ff64345a5d3e7da1b6da0061>
- <https://git.kernel.org/stable/c/1dfe90daee6080b088b65620ff690a56f59ddea2>
- <https://git.kernel.org/stable/c/ffe21a3545b439e7b11578a701c22a847c149561>
- <https://git.kernel.org/stable/c/e1e96aca1bdf391e2f49531c270ffc134e5b49a5>
- <https://git.kernel.org/stable/c/f98ae09c727dcf34f745c875661c64b642e4abfa>
- <https://git.kernel.org/stable/c/820f983d641937a787e841ee4b93501f69f5683e>
- <https://git.kernel.org/stable/c/9d4af746af8ce27eefc2338b2feaa1e01f28b6c3>

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

---

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