lib/test_hmm: fail dmirror_fault() when the mirrored mm is gone

Summary

CVECVE-2026-90391
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-17 17:17:38 UTC
Updated2026-10-19 09:19:33 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected b2ef9f5a5cb37643ca5def3516c546457074b882 50606ced303782f8715e2d0b98ca374ea498fa29 git Not specified
CNA Linux Linux affected b2ef9f5a5cb37643ca5def3516c546457074b882 541a67f21ab807c8dbc0ea88d5a2eb73b2618090 git Not specified
CNA Linux Linux affected b2ef9f5a5cb37643ca5def3516c546457074b882 d8e64ffab01e032ae29159d27230ace8cf8bdc80 git Not specified
CNA Linux Linux affected b2ef9f5a5cb37643ca5def3516c546457074b882 2636569ea7c19d9a40db4a1e8d0a027bdacf1569 git Not specified
CNA Linux Linux affected b2ef9f5a5cb37643ca5def3516c546457074b882 701347e31aa607f3782403151a3125729d685275 git Not specified
CNA Linux Linux affected b2ef9f5a5cb37643ca5def3516c546457074b882 af7a6d6ec36a16a583ba2e4e9984c3cf1fe34655 git Not specified
CNA Linux Linux affected b2ef9f5a5cb37643ca5def3516c546457074b882 a2074f86fc9653831e4fb7b711bb715db330f182 git Not specified
CNA Linux Linux affected b2ef9f5a5cb37643ca5def3516c546457074b882 6a8024511ddf4877435c34fb3d6028aa8e590649 git Not specified
CNA Linux Linux affected 5.8 Not specified
CNA Linux Linux unaffected 5.8 semver Not specified
CNA Linux Linux unaffected 5.10.270 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.221 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.188 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.157 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.110 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.52 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.6 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/50606ced303782f8715e2d0b98ca374ea498fa29 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d8e64ffab01e032ae29159d27230ace8cf8bdc80 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/541a67f21ab807c8dbc0ea88d5a2eb73b2618090 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2636569ea7c19d9a40db4a1e8d0a027bdacf1569 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/701347e31aa607f3782403151a3125729d685275 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/af7a6d6ec36a16a583ba2e4e9984c3cf1fe34655 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6a8024511ddf4877435c34fb3d6028aa8e590649 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a2074f86fc9653831e4fb7b711bb715db330f182 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report