{"id":"CVE-2026-90391","aliases":["CVE-2026-90391"],"related":[],"kind":"vulnerability","state":"published","title":"lib/test_hmm: fail dmirror_fault() when the mirrored mm is gone","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib/test_hmm: fail dmirror_fault() when the mirrored mm is gone\n\ndmirror_fault() is called from the dmirror_read() and dmirror_write()\nretry loops after dmirror_do_read() or dmirror_do_write() finds a missing\ndevice page table entry.\n\nIf the mirrored mm has already exited, mmget_not_zero() fails.  The\ncurrent code returns 0 in that case, which tells the caller that faulting\nsucceeded even though no page was faulted and no device page table entry\nwas installed.  The caller then retries the same address, hits -ENOENT\nagain, and can loop forever without making progress.\n\nReturn -EFAULT instead, so the ioctl fails when the mirrored mm is no\nlonger faultable.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib/test_hmm: fail dmirror_fault() when the mirrored mm is gone\n\ndmirror_fault() is called from the dmirror_read() and dmirror_write()\nretry loops after dmirror_do_read() or dmirror_do_write() finds a missing\ndevice page table entry.\n\nIf the mirrored mm has already exited, mmget_not_zero() fails.  The\ncurrent code returns 0 in that case, which tells the caller that faulting\nsucceeded even though no page was faulted and no device page table entry\nwas installed.  The caller then retries the same address, hits -ENOENT\nagain, and can loop forever without making progress.\n\nReturn -EFAULT instead, so the ioctl fails when the mirrored mm is no\nlonger faultable.","source":"cvelist"}],"published":"2026-09-17T16:09:25.083Z","modified":"2026-10-19T09:19:33.150Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b2ef9f5a5cb37643ca5def3516c546457074b882","fixed":"50606ced303782f8715e2d0b98ca374ea498fa29","status":"affected"},{"type":"git","introduced":"b2ef9f5a5cb37643ca5def3516c546457074b882","fixed":"541a67f21ab807c8dbc0ea88d5a2eb73b2618090","status":"affected"},{"type":"git","introduced":"b2ef9f5a5cb37643ca5def3516c546457074b882","fixed":"d8e64ffab01e032ae29159d27230ace8cf8bdc80","status":"affected"},{"type":"git","introduced":"b2ef9f5a5cb37643ca5def3516c546457074b882","fixed":"2636569ea7c19d9a40db4a1e8d0a027bdacf1569","status":"affected"},{"type":"git","introduced":"b2ef9f5a5cb37643ca5def3516c546457074b882","fixed":"701347e31aa607f3782403151a3125729d685275","status":"affected"},{"type":"git","introduced":"b2ef9f5a5cb37643ca5def3516c546457074b882","fixed":"af7a6d6ec36a16a583ba2e4e9984c3cf1fe34655","status":"affected"},{"type":"git","introduced":"b2ef9f5a5cb37643ca5def3516c546457074b882","fixed":"a2074f86fc9653831e4fb7b711bb715db330f182","status":"affected"},{"type":"git","introduced":"b2ef9f5a5cb37643ca5def3516c546457074b882","fixed":"6a8024511ddf4877435c34fb3d6028aa8e590649","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/50606ced303782f8715e2d0b98ca374ea498fa29","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/541a67f21ab807c8dbc0ea88d5a2eb73b2618090","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d8e64ffab01e032ae29159d27230ace8cf8bdc80","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2636569ea7c19d9a40db4a1e8d0a027bdacf1569","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/701347e31aa607f3782403151a3125729d685275","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af7a6d6ec36a16a583ba2e4e9984c3cf1fe34655","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a2074f86fc9653831e4fb7b711bb715db330f182","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6a8024511ddf4877435c34fb3d6028aa8e590649","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90391","url":"https://www.cve.org/CVERecord?id=CVE-2026-90391","licence":"CVE Terms of Use","modified":"2026-10-19T09:02:55.602Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90391","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90391","licence":"Public domain","modified":"2026-10-19T09:19:33.150Z"}],"updatedAt":"2026-11-25T22:59:39.402Z","epss":{"score":0.00211,"percentile":0.11934,"date":"2026-12-01T12:00:22.000Z"}}