# CVE-2026-93049: mtd: mtdswap: Avoid freeing registered blktrans device twice

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-17T16:10:39.679Z
- **Modified:** 2026-10-19T10:16:54.677Z

## Who should check

- Anyone running Linux \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< ecadb9137aeaa0615183f8d23eabea2b45c862f1; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< eec130fc9ffbbd08a5d5432683122b79aca2a726; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< d5086911d532b82ca070d944aa08ddde00baefe4; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< 0ce48c6ddea1a8e675a2eb0221b62a9950788f3c; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< a82d93fcfdfd26af17049c34319dfdd079cd1901; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< 5c349c533e72af2313c3be0f80a24d7407fa4777; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< 37be7bc2c2d09c18e939da20224405864a0090b9; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< 779aa4c66a96bf43d2d62982ea1a9096a9128d87
- Anyone running Linux 4.14

## Description

In the Linux kernel, the following vulnerability has been resolved:

mtd: mtdswap: Avoid freeing registered blktrans device twice

In mtdswap\_add\_mtd(), debugfs setup failure after successful blktrans
registration can free mbd\_dev twice.

add\_mtd\_blktrans\_dev() initializes the blktrans device reference and
publishes the disk. Once that succeeds, del\_mtd\_blktrans\_dev() tears the
disk down and drops the blktrans reference; when that reference reaches
zero, blktrans\_dev\_release() frees the mtd\_blktrans\_dev.

The debugfs failure path called del\_mtd\_blktrans\_dev(mbd\_dev), then fell
through the common cleanup label and called kfree(mbd\_dev) again. Clear
the local pointer after deregistration so the common cleanup can still
release the mtdswap state without freeing the blktrans object twice.

This issue was found by a static analysis checker and confirmed by
manual source review.

## Affected and fixed versions

- Linux: \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< ecadb9137aeaa0615183f8d23eabea2b45c862f1; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< eec130fc9ffbbd08a5d5432683122b79aca2a726; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< d5086911d532b82ca070d944aa08ddde00baefe4; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< 0ce48c6ddea1a8e675a2eb0221b62a9950788f3c; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< a82d93fcfdfd26af17049c34319dfdd079cd1901; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< 5c349c533e72af2313c3be0f80a24d7407fa4777; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< 37be7bc2c2d09c18e939da20224405864a0090b9; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< 779aa4c66a96bf43d2d62982ea1a9096a9128d87 (cvelist)
- Linux: 4.14 (cvelist)

## Mitigation

- Upgrade Linux to 779aa4c66a96bf43d2d62982ea1a9096a9128d87 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-93049. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93049.md
Affected: Linux >= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, < ecadb9137aeaa0615183f8d23eabea2b45c862f1; >= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, < eec130fc9ffbbd08a5d5432683122b79aca2a726; >= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, < d5086911d532b82ca070d944aa08ddde00baefe4; >= e8e3edb95ce6a146bc774b6…
Fixed in: Linux 0ce48c6ddea1a8e675a2eb0221b62a9950788f3c, Linux 5c349c533e72af2313c3be0f80a24d7407fa4777, Linux 37be7bc2c2d09c18e939da20224405864a0090b9, Linux 779aa4c66a96bf43d2d62982ea1a9096a9128d87

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-93049 being exploited?

There is no confirmed exploitation: CVE-2026-93049 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-93049?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-93049?

Linux \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< ecadb9137aeaa0615183f8d23eabea2b45c862f1; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< eec130fc9ffbbd08a5d5432683122b79aca2a726; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< d5086911d532b82ca070d944aa08ddde00baefe4; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< 0ce48c6ddea1a8e675a2eb0221b62a9950788f3c; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< a82d93fcfdfd26af17049c34319dfdd079cd1901; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< 5c349c533e72af2313c3be0f80a24d7407fa4777; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< 37be7bc2c2d09c18e939da20224405864a0090b9; \>= e8e3edb95ce6a146bc774b6cfad3553f4383edc8, \< 779aa4c66a96bf43d2d62982ea1a9096a9128d87; Linux 4.14.

### Is there a fix for CVE-2026-93049?

Yes. Fixed in Linux 0ce48c6ddea1a8e675a2eb0221b62a9950788f3c, Linux 5c349c533e72af2313c3be0f80a24d7407fa4777, Linux 37be7bc2c2d09c18e939da20224405864a0090b9, Linux 779aa4c66a96bf43d2d62982ea1a9096a9128d87. Upgrade Linux to 779aa4c66a96bf43d2d62982ea1a9096a9128d87 or later.

### How do I check if I'm affected by CVE-2026-93049?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/ecadb9137aeaa0615183f8d23eabea2b45c862f1>
- other: <https://git.kernel.org/stable/c/eec130fc9ffbbd08a5d5432683122b79aca2a726>
- other: <https://git.kernel.org/stable/c/d5086911d532b82ca070d944aa08ddde00baefe4>
- other: <https://git.kernel.org/stable/c/0ce48c6ddea1a8e675a2eb0221b62a9950788f3c>
- other: <https://git.kernel.org/stable/c/a82d93fcfdfd26af17049c34319dfdd079cd1901>
- other: <https://git.kernel.org/stable/c/5c349c533e72af2313c3be0f80a24d7407fa4777>
- other: <https://git.kernel.org/stable/c/37be7bc2c2d09c18e939da20224405864a0090b9>
- other: <https://git.kernel.org/stable/c/779aa4c66a96bf43d2d62982ea1a9096a9128d87>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-93049>

HTML: <https://flawdb.com/CVE-2026-93049> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-93049>
