{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-74379",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-74379"
  ],
  "published": "2026-08-15T06:04:33Z",
  "summary": "dax/kmem: account for partial discontiguous resource upon removal",
  "details": "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.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.178",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-74379"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ef4fc53898bd6c4d0119cc6d419ebef7f2560f31"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5d3139abb9d1671fa5e42c3d6d8cb3b05479c5bb"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d47b0b8a69a13e06afafa54723f3e8c99b0c788f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/799e54c510a03a65a57627018a817838d72f35bd"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/598ed7393a639c7547b28ff3e14db9f1ac37c132"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/30ea97affbcce236c57287c82dc6ef7a29c63b76"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8aa442cfce79e2d69e72fc8e0c0864ac2971149d"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-17T05:24:08Z"
  }
}
