CVE-2026-74379 (GCVE-0-2026-74379)
Vulnerability from cvelistv5
Published
2026-08-15 05:58
Modified
2026-08-17 05:18
Severity ?
Summary
In 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.
Impacted products
Vendor Product Version
Linux Linux Version: 60e93dc097f7f13a16a7e4b75b8803eb2adbb721
Version: 60e93dc097f7f13a16a7e4b75b8803eb2adbb721
Version: 60e93dc097f7f13a16a7e4b75b8803eb2adbb721
Version: 60e93dc097f7f13a16a7e4b75b8803eb2adbb721
Version: 60e93dc097f7f13a16a7e4b75b8803eb2adbb721
Version: 60e93dc097f7f13a16a7e4b75b8803eb2adbb721
Version: 60e93dc097f7f13a16a7e4b75b8803eb2adbb721
Create a notification for this product.
Show details on NVD website


{
  "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",
              "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",
                  "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\u0027ed 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-17T05:18:16.387Z",
        "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-17T05:18:16.387Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…