# CVE-2026-93217: mm/madvise: skip device-private PMDs in cold and pageout walks

> 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:40.487Z
- **Modified:** 2026-10-19T10:17:12.627Z

## Who should check

- Anyone running Linux \>= 368076f52ebeecd33e10a9f80905d7508b6b6149, \< 5c0d7b658cda62cd17cb3652783386d5608030ef; \>= 368076f52ebeecd33e10a9f80905d7508b6b6149, \< d4b76d0b03cb49611312ecc4bcfb55ccdf0843e2
- Anyone running Linux 6.19

## Description

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

mm/madvise: skip device-private PMDs in cold and pageout walks

madvise\_cold\_or\_pageout\_pte\_range() takes pmd\_trans\_huge\_lock(), whose
pmd\_is\_huge() check returns true for a device-private PMD.  The subsequent
!pmd\_present() branch has a VM\_BUG\_ON() asserting migration is the only
allowed non-present case; a device-private PMD trips it.

Skip device-private PMDs in that non-present branch and continue to
huge\_unlock 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\_COLD)/MADV\_PAGEOUT: pmd\_trans\_huge(\*pmd) reads true, then
migrate\_vma\_pages() flips the PMD to a device-private entry before the PMD
lock is acquired.

## Affected and fixed versions

- Linux: \>= 368076f52ebeecd33e10a9f80905d7508b6b6149, \< 5c0d7b658cda62cd17cb3652783386d5608030ef; \>= 368076f52ebeecd33e10a9f80905d7508b6b6149, \< d4b76d0b03cb49611312ecc4bcfb55ccdf0843e2 (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-93217. Work read-only: do not install, upgrade, delete or change anything.

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

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

There is no confirmed exploitation: CVE-2026-93217 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-93217?

It has no CVSS score yet. Unknown.

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

Linux \>= 368076f52ebeecd33e10a9f80905d7508b6b6149, \< 5c0d7b658cda62cd17cb3652783386d5608030ef; \>= 368076f52ebeecd33e10a9f80905d7508b6b6149, \< d4b76d0b03cb49611312ecc4bcfb55ccdf0843e2; Linux 6.19.

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

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

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

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

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

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