{"api_version":"1","generated_at":"2026-08-15T08:45:14+00:00","cve":"CVE-2026-74379","urls":{"html":"https://cve.report/CVE-2026-74379","api":"https://cve.report/api/cve/CVE-2026-74379.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-74379","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-74379"},"summary":{"title":"dax/kmem: account for partial discontiguous resource upon removal","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-15 06:22:39","updated_at":"2026-08-15 06:22:39"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/598ed7393a639c7547b28ff3e14db9f1ac37c132","name":"https://git.kernel.org/stable/c/598ed7393a639c7547b28ff3e14db9f1ac37c132","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/799e54c510a03a65a57627018a817838d72f35bd","name":"https://git.kernel.org/stable/c/799e54c510a03a65a57627018a817838d72f35bd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d47b0b8a69a13e06afafa54723f3e8c99b0c788f","name":"https://git.kernel.org/stable/c/d47b0b8a69a13e06afafa54723f3e8c99b0c788f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8aa442cfce79e2d69e72fc8e0c0864ac2971149d","name":"https://git.kernel.org/stable/c/8aa442cfce79e2d69e72fc8e0c0864ac2971149d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ef4fc53898bd6c4d0119cc6d419ebef7f2560f31","name":"https://git.kernel.org/stable/c/ef4fc53898bd6c4d0119cc6d419ebef7f2560f31","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5d3139abb9d1671fa5e42c3d6d8cb3b05479c5bb","name":"https://git.kernel.org/stable/c/5d3139abb9d1671fa5e42c3d6d8cb3b05479c5bb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/30ea97affbcce236c57287c82dc6ef7a29c63b76","name":"https://git.kernel.org/stable/c/30ea97affbcce236c57287c82dc6ef7a29c63b76","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-74379","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74379","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 ef4fc53898bd6c4d0119cc6d419ebef7f2560f31 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 5d3139abb9d1671fa5e42c3d6d8cb3b05479c5bb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 d47b0b8a69a13e06afafa54723f3e8c99b0c788f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 799e54c510a03a65a57627018a817838d72f35bd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 598ed7393a639c7547b28ff3e14db9f1ac37c132 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 30ea97affbcce236c57287c82dc6ef7a29c63b76 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 8aa442cfce79e2d69e72fc8e0c0864ac2971149d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.212 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.178 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.145 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.97 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.40 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.5 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/dax/kmem.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ef4fc53898bd6c4d0119cc6d419ebef7f2560f31","status":"affected","version":"60e93dc097f7f13a16a7e4b75b8803eb2adbb721","versionType":"git"},{"lessThan":"5d3139abb9d1671fa5e42c3d6d8cb3b05479c5bb","status":"affected","version":"60e93dc097f7f13a16a7e4b75b8803eb2adbb721","versionType":"git"},{"lessThan":"d47b0b8a69a13e06afafa54723f3e8c99b0c788f","status":"affected","version":"60e93dc097f7f13a16a7e4b75b8803eb2adbb721","versionType":"git"},{"lessThan":"799e54c510a03a65a57627018a817838d72f35bd","status":"affected","version":"60e93dc097f7f13a16a7e4b75b8803eb2adbb721","versionType":"git"},{"lessThan":"598ed7393a639c7547b28ff3e14db9f1ac37c132","status":"affected","version":"60e93dc097f7f13a16a7e4b75b8803eb2adbb721","versionType":"git"},{"lessThan":"30ea97affbcce236c57287c82dc6ef7a29c63b76","status":"affected","version":"60e93dc097f7f13a16a7e4b75b8803eb2adbb721","versionType":"git"},{"lessThan":"8aa442cfce79e2d69e72fc8e0c0864ac2971149d","status":"affected","version":"60e93dc097f7f13a16a7e4b75b8803eb2adbb721","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/dax/kmem.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.10"},{"lessThan":"5.10","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.212","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.178","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.145","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.97","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.40","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.212","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.178","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.145","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.97","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.40","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.5","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc1","versionStartIncluding":"5.10","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-08-15T05:58:57.024Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/ef4fc53898bd6c4d0119cc6d419ebef7f2560f31"},{"url":"https://git.kernel.org/stable/c/5d3139abb9d1671fa5e42c3d6d8cb3b05479c5bb"},{"url":"https://git.kernel.org/stable/c/d47b0b8a69a13e06afafa54723f3e8c99b0c788f"},{"url":"https://git.kernel.org/stable/c/799e54c510a03a65a57627018a817838d72f35bd"},{"url":"https://git.kernel.org/stable/c/598ed7393a639c7547b28ff3e14db9f1ac37c132"},{"url":"https://git.kernel.org/stable/c/30ea97affbcce236c57287c82dc6ef7a29c63b76"},{"url":"https://git.kernel.org/stable/c/8aa442cfce79e2d69e72fc8e0c0864ac2971149d"}],"title":"dax/kmem: account for partial discontiguous resource upon removal","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-74379","datePublished":"2026-08-15T05:58:57.024Z","dateReserved":"2026-08-15T05:44:03.890Z","dateUpdated":"2026-08-15T05:58:57.024Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-15 06:22:39","lastModifiedDate":"2026-08-15 06:22:39","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"74379","Ordinal":"1","Title":"dax/kmem: account for partial discontiguous resource upon remova","CVE":"CVE-2026-74379","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"74379","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"dax/kmem: account for partial discontiguous resource upon remova"}]}}}