{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-72316",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-72316"
  ],
  "published": "2026-08-15T06:04:33Z",
  "summary": "dm era: fix NULL pointer dereference in metadata_open()",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndm era: fix NULL pointer dereference in metadata_open()\n\nmetadata_open() returns NULL when kzalloc_obj() fails, but the\ncaller era_ctr() only checks IS_ERR(md).  Since IS_ERR(NULL)\nreturns false, the NULL pointer is treated as a valid result\nand later assigned to era->md, leading to a NULL pointer\ndereference when the metadata is accessed.\n\nFix this by returning ERR_PTR(-ENOMEM) on allocation failure,\nconsistent with dm-cache-metadata.c, dm-thin-metadata.c, and\ndm-clone-metadata.c which all use ERR_PTR(-ENOMEM) for the\nsame pattern.",
  "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-72316"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a705e056c2f3dd067fb2ff414f0537530baa090b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/bd5a80128bdfc93b1cae935a70da000b8c483e6e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/17eb2ab13edd0b06ce6f996c5fd450d7efabb2e8"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/889374b8e4a60d13fe4a5a8ae3a311ca93d1a2c3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/01c49eae7c6256f2d8cc08210a2bac3ee070e43a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/14e03ecd3b1b5fc03c082b27a2f8889f8290c30e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b69ea153d30ce19ca8997eeeca1e2219fae5a29b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9ae672606c17891d90b282e3490b817620549599"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-17T05:24:08Z"
  }
}
