# CVE-2026-90391: lib/test\_hmm: fail dmirror\_fault() when the mirrored mm is gone

> 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:09:25.083Z
- **Modified:** 2026-10-19T09:19:33.150Z

## Who should check

- Anyone running Linux \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< 50606ced303782f8715e2d0b98ca374ea498fa29; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< 541a67f21ab807c8dbc0ea88d5a2eb73b2618090; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< d8e64ffab01e032ae29159d27230ace8cf8bdc80; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< 2636569ea7c19d9a40db4a1e8d0a027bdacf1569; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< 701347e31aa607f3782403151a3125729d685275; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< af7a6d6ec36a16a583ba2e4e9984c3cf1fe34655; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< a2074f86fc9653831e4fb7b711bb715db330f182; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< 6a8024511ddf4877435c34fb3d6028aa8e590649
- Anyone running Linux 5.8

## Description

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

lib/test\_hmm: fail dmirror\_fault() when the mirrored mm is gone

dmirror\_fault() is called from the dmirror\_read() and dmirror\_write()
retry loops after dmirror\_do\_read() or dmirror\_do\_write() finds a missing
device page table entry.

If the mirrored mm has already exited, mmget\_not\_zero() fails.  The
current code returns 0 in that case, which tells the caller that faulting
succeeded even though no page was faulted and no device page table entry
was installed.  The caller then retries the same address, hits -ENOENT
again, and can loop forever without making progress.

Return -EFAULT instead, so the ioctl fails when the mirrored mm is no
longer faultable.

## Affected and fixed versions

- Linux: \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< 50606ced303782f8715e2d0b98ca374ea498fa29; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< 541a67f21ab807c8dbc0ea88d5a2eb73b2618090; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< d8e64ffab01e032ae29159d27230ace8cf8bdc80; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< 2636569ea7c19d9a40db4a1e8d0a027bdacf1569; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< 701347e31aa607f3782403151a3125729d685275; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< af7a6d6ec36a16a583ba2e4e9984c3cf1fe34655; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< a2074f86fc9653831e4fb7b711bb715db330f182; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< 6a8024511ddf4877435c34fb3d6028aa8e590649 (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 6a8024511ddf4877435c34fb3d6028aa8e590649 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-90391. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90391.md
Affected: Linux >= b2ef9f5a5cb37643ca5def3516c546457074b882, < 50606ced303782f8715e2d0b98ca374ea498fa29; >= b2ef9f5a5cb37643ca5def3516c546457074b882, < 541a67f21ab807c8dbc0ea88d5a2eb73b2618090; >= b2ef9f5a5cb37643ca5def3516c546457074b882, < d8e64ffab01e032ae29159d27230ace8cf8bdc80; >= b2ef9f5a5cb37643ca5def3…
Fixed in: Linux 50606ced303782f8715e2d0b98ca374ea498fa29, Linux 541a67f21ab807c8dbc0ea88d5a2eb73b2618090, Linux 2636569ea7c19d9a40db4a1e8d0a027bdacf1569, Linux 701347e31aa607f3782403151a3125729d685275, Linux 6a8024511ddf4877435c34fb3d6028aa8e590649

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< 50606ced303782f8715e2d0b98ca374ea498fa29; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< 541a67f21ab807c8dbc0ea88d5a2eb73b2618090; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< d8e64ffab01e032ae29159d27230ace8cf8bdc80; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< 2636569ea7c19d9a40db4a1e8d0a027bdacf1569; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< 701347e31aa607f3782403151a3125729d685275; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< af7a6d6ec36a16a583ba2e4e9984c3cf1fe34655; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< a2074f86fc9653831e4fb7b711bb715db330f182; \>= b2ef9f5a5cb37643ca5def3516c546457074b882, \< 6a8024511ddf4877435c34fb3d6028aa8e590649; Linux 5.8.

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

Yes. Fixed in Linux 50606ced303782f8715e2d0b98ca374ea498fa29, Linux 541a67f21ab807c8dbc0ea88d5a2eb73b2618090, Linux 2636569ea7c19d9a40db4a1e8d0a027bdacf1569, Linux 701347e31aa607f3782403151a3125729d685275, Linux 6a8024511ddf4877435c34fb3d6028aa8e590649. Upgrade Linux to 6a8024511ddf4877435c34fb3d6028aa8e590649 or later.

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

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/50606ced303782f8715e2d0b98ca374ea498fa29>
- other: <https://git.kernel.org/stable/c/541a67f21ab807c8dbc0ea88d5a2eb73b2618090>
- other: <https://git.kernel.org/stable/c/d8e64ffab01e032ae29159d27230ace8cf8bdc80>
- other: <https://git.kernel.org/stable/c/2636569ea7c19d9a40db4a1e8d0a027bdacf1569>
- other: <https://git.kernel.org/stable/c/701347e31aa607f3782403151a3125729d685275>
- other: <https://git.kernel.org/stable/c/af7a6d6ec36a16a583ba2e4e9984c3cf1fe34655>
- other: <https://git.kernel.org/stable/c/a2074f86fc9653831e4fb7b711bb715db330f182>
- other: <https://git.kernel.org/stable/c/6a8024511ddf4877435c34fb3d6028aa8e590649>

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

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