{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "eec40579d84873dfb7021eb24c50360f073237c5"
            },
            {
              "fixed": "a705e056c2f3dd067fb2ff414f0537530baa090b"
            },
            {
              "fixed": "bd5a80128bdfc93b1cae935a70da000b8c483e6e"
            },
            {
              "fixed": "17eb2ab13edd0b06ce6f996c5fd450d7efabb2e8"
            },
            {
              "fixed": "889374b8e4a60d13fe4a5a8ae3a311ca93d1a2c3"
            },
            {
              "fixed": "01c49eae7c6256f2d8cc08210a2bac3ee070e43a"
            },
            {
              "fixed": "14e03ecd3b1b5fc03c082b27a2f8889f8290c30e"
            },
            {
              "fixed": "b69ea153d30ce19ca8997eeeca1e2219fae5a29b"
            },
            {
              "fixed": "9ae672606c17891d90b282e3490b817620549599"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.15.0"
            },
            {
              "fixed": "5.10.261"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.212"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.178"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.145"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.97"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72316.json"
  },
  "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-\u003emd, 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.",
  "id": "CVE-2026-72316",
  "modified": "2026-08-16T03:31:23.699554293Z",
  "published": "2026-08-15T05:55:30.399Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/01c49eae7c6256f2d8cc08210a2bac3ee070e43a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/14e03ecd3b1b5fc03c082b27a2f8889f8290c30e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/17eb2ab13edd0b06ce6f996c5fd450d7efabb2e8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/889374b8e4a60d13fe4a5a8ae3a311ca93d1a2c3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9ae672606c17891d90b282e3490b817620549599"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a705e056c2f3dd067fb2ff414f0537530baa090b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b69ea153d30ce19ca8997eeeca1e2219fae5a29b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bd5a80128bdfc93b1cae935a70da000b8c483e6e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72316.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72316"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "dm era: fix NULL pointer dereference in metadata_open()"
}