dax/kmem: account for partial discontiguous resource upon removal

Summary

CVECVE-2026-74379
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-15 06:22:39 UTC
Updated2026-08-15 06:22:39 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: dax/kmem: account for partial discontiguous resource upon removal When dev_dax_kmem_probe() partially succeeds (at least one range is mapped) but a subsequent range fails request_mem_region() or add_memory_driver_managed(), the probe silently continues, ultimately returning success, but with the corresponding range resource NULL'ed out. dev_dax_kmem_remove() iterates over all dax_device ranges regardless of if the underlying resource exists. When remove_memory() is called later, it returns 0 because the memory was never added which causes dev_dax_kmem_remove() to incorrectly assume the (nonexistent) resource can be removed and attempts cleanup on a NULL pointer. Fix this by skipping these ranges altogether, noting that these cases are considered success, such that the cleanup is still reached when all actually-added ranges are successfully removed.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 ef4fc53898bd6c4d0119cc6d419ebef7f2560f31 git Not specified
CNA Linux Linux affected 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 5d3139abb9d1671fa5e42c3d6d8cb3b05479c5bb git Not specified
CNA Linux Linux affected 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 d47b0b8a69a13e06afafa54723f3e8c99b0c788f git Not specified
CNA Linux Linux affected 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 799e54c510a03a65a57627018a817838d72f35bd git Not specified
CNA Linux Linux affected 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 598ed7393a639c7547b28ff3e14db9f1ac37c132 git Not specified
CNA Linux Linux affected 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 30ea97affbcce236c57287c82dc6ef7a29c63b76 git Not specified
CNA Linux Linux affected 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 8aa442cfce79e2d69e72fc8e0c0864ac2971149d git Not specified
CNA Linux Linux affected 5.10 Not specified
CNA Linux Linux unaffected 5.10 semver Not specified
CNA Linux Linux unaffected 5.15.212 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.178 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.40 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/598ed7393a639c7547b28ff3e14db9f1ac37c132 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/799e54c510a03a65a57627018a817838d72f35bd 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d47b0b8a69a13e06afafa54723f3e8c99b0c788f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8aa442cfce79e2d69e72fc8e0c0864ac2971149d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ef4fc53898bd6c4d0119cc6d419ebef7f2560f31 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5d3139abb9d1671fa5e42c3d6d8cb3b05479c5bb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/30ea97affbcce236c57287c82dc6ef7a29c63b76 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