{"id":"CVE-2026-74379","aliases":["CVE-2026-74379"],"related":[],"kind":"vulnerability","state":"published","title":"dax/kmem: account for partial discontiguous resource upon removal","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndax/kmem: account for partial discontiguous resource upon removal\n\nWhen dev_dax_kmem_probe() partially succeeds (at least one range is\nmapped) but a subsequent range fails request_mem_region() or\nadd_memory_driver_managed(), the probe silently continues, ultimately\nreturning success, but with the corresponding range resource NULL'ed out.\n\ndev_dax_kmem_remove() iterates over all dax_device ranges regardless of if\nthe underlying resource exists.  When remove_memory() is called later, it\nreturns 0 because the memory was never added which causes\ndev_dax_kmem_remove() to incorrectly assume the (nonexistent) resource can\nbe removed and attempts cleanup on a NULL pointer.\n\nFix this by skipping these ranges altogether, noting that these cases are\nconsidered success, such that the cleanup is still reached when all\nactually-added ranges are successfully removed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndax/kmem: account for partial discontiguous resource upon removal\n\nWhen dev_dax_kmem_probe() partially succeeds (at least one range is\nmapped) but a subsequent range fails request_mem_region() or\nadd_memory_driver_managed(), the probe silently continues, ultimately\nreturning success, but with the corresponding range resource NULL'ed out.\n\ndev_dax_kmem_remove() iterates over all dax_device ranges regardless of if\nthe underlying resource exists.  When remove_memory() is called later, it\nreturns 0 because the memory was never added which causes\ndev_dax_kmem_remove() to incorrectly assume the (nonexistent) resource can\nbe removed and attempts cleanup on a NULL pointer.\n\nFix this by skipping these ranges altogether, noting that these cases are\nconsidered success, such that the cleanup is still reached when all\nactually-added ranges are successfully removed.","source":"cvelist"}],"published":"2026-08-15T05:58:57.024Z","modified":"2026-11-06T17:19:47.203Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"60e93dc097f7f13a16a7e4b75b8803eb2adbb721","fixed":"ef4fc53898bd6c4d0119cc6d419ebef7f2560f31","status":"affected"},{"type":"git","introduced":"60e93dc097f7f13a16a7e4b75b8803eb2adbb721","fixed":"5d3139abb9d1671fa5e42c3d6d8cb3b05479c5bb","status":"affected"},{"type":"git","introduced":"60e93dc097f7f13a16a7e4b75b8803eb2adbb721","fixed":"d47b0b8a69a13e06afafa54723f3e8c99b0c788f","status":"affected"},{"type":"git","introduced":"60e93dc097f7f13a16a7e4b75b8803eb2adbb721","fixed":"799e54c510a03a65a57627018a817838d72f35bd","status":"affected"},{"type":"git","introduced":"60e93dc097f7f13a16a7e4b75b8803eb2adbb721","fixed":"598ed7393a639c7547b28ff3e14db9f1ac37c132","status":"affected"},{"type":"git","introduced":"60e93dc097f7f13a16a7e4b75b8803eb2adbb721","fixed":"30ea97affbcce236c57287c82dc6ef7a29c63b76","status":"affected"},{"type":"git","introduced":"60e93dc097f7f13a16a7e4b75b8803eb2adbb721","fixed":"8aa442cfce79e2d69e72fc8e0c0864ac2971149d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","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/ef4fc53898bd6c4d0119cc6d419ebef7f2560f31","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d3139abb9d1671fa5e42c3d6d8cb3b05479c5bb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d47b0b8a69a13e06afafa54723f3e8c99b0c788f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/799e54c510a03a65a57627018a817838d72f35bd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/598ed7393a639c7547b28ff3e14db9f1ac37c132","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/30ea97affbcce236c57287c82dc6ef7a29c63b76","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8aa442cfce79e2d69e72fc8e0c0864ac2971149d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:56:42.795Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74379","url":"https://www.cve.org/CVERecord?id=CVE-2026-74379","licence":"CVE Terms of Use","modified":"2026-11-06T17:05:44.980Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74379","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74379","licence":"Public domain","modified":"2026-11-06T17:19:47.203Z"}],"updatedAt":"2026-11-25T22:59:33.188Z","epss":{"score":0.00173,"percentile":0.07074,"date":"2026-12-01T12:00:22.000Z"}}