# CVE-2026-93218: mm/huge\_memory: skip device-private PMDs in madvise\_free\_huge\_pmd

> 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.20% (percentile 5, 2026-11-26)
- **Published:** 2026-09-24T15:10:41.370Z
- **Modified:** 2026-10-19T10:17:12.730Z

## Who should check

- Anyone running Linux \>= 368076f52ebeecd33e10a9f80905d7508b6b6149, \< 5e3026bf736498115884d6c7bd0308ba29e0474c; \>= 368076f52ebeecd33e10a9f80905d7508b6b6149, \< ce579dcf730ce5ed8043a5eeea18a3e6706a97e5
- Anyone running Linux 6.19

## Description

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

mm/huge\_memory: skip device-private PMDs in madvise\_free\_huge\_pmd

madvise\_free\_pte\_range() checks pmd\_trans\_huge(\*pmd) unlocked, then
madvise\_free\_huge\_pmd() takes pmd\_trans\_huge\_lock().  pmd\_is\_huge()
returns true for a device-private PMD, so orig\_pmd can be device-private
and enter the !pmd\_present() branch.

Skip device-private PMDs in that non-present branch and continue to out
before calling pmd\_folio().  Downgrade the check to VM\_WARN\_ON\_ONCE() so
an unexpected PMD softleaf logs a warning rather than panicking.  Drop the
thp\_migration\_supported() guard: it expands to
IS\_ENABLED(CONFIG\_ARCH\_SUPPORTS\_PMD\_SOFTLEAF), and both
pmd\_is\_migration\_entry() and pmd\_is\_device\_private\_entry() already return
false when that config is not selected, so the guard suppresses only the
case where the warning would already be silent.

Potential trigger: an HMM-based GPU driver races with madvise(MADV\_FREE):
migrate\_vma\_pages() flips the PMD to a device-private entry between the
caller's pmd\_trans\_huge() check and the callee's pmd\_trans\_huge\_lock().

## Affected and fixed versions

- Linux: \>= 368076f52ebeecd33e10a9f80905d7508b6b6149, \< 5e3026bf736498115884d6c7bd0308ba29e0474c; \>= 368076f52ebeecd33e10a9f80905d7508b6b6149, \< ce579dcf730ce5ed8043a5eeea18a3e6706a97e5 (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-93218.md
Affected: Linux >= 368076f52ebeecd33e10a9f80905d7508b6b6149, < 5e3026bf736498115884d6c7bd0308ba29e0474c; >= 368076f52ebeecd33e10a9f80905d7508b6b6149, < ce579dcf730ce5ed8043a5eeea18a3e6706a97e5; Linux 6.19
Fixed in: Linux 5e3026bf736498115884d6c7bd0308ba29e0474c

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-93218 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 368076f52ebeecd33e10a9f80905d7508b6b6149, \< 5e3026bf736498115884d6c7bd0308ba29e0474c; \>= 368076f52ebeecd33e10a9f80905d7508b6b6149, \< ce579dcf730ce5ed8043a5eeea18a3e6706a97e5; Linux 6.19.

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

Yes. Fixed in Linux 5e3026bf736498115884d6c7bd0308ba29e0474c. No fix listed yet: follow the vendor advisory.

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

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/5e3026bf736498115884d6c7bd0308ba29e0474c>
- other: <https://git.kernel.org/stable/c/ce579dcf730ce5ed8043a5eeea18a3e6706a97e5>

## 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-93218>

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