0.0
NA
CVE-2026-72316
dm era: fix NULL pointer dereference in metadata_open()
Description

In the Linux kernel, the following vulnerability has been resolved: dm era: fix NULL pointer dereference in metadata_open() metadata_open() returns NULL when kzalloc_obj() fails, but the caller era_ctr() only checks IS_ERR(md). Since IS_ERR(NULL) returns false, the NULL pointer is treated as a valid result and later assigned to era->md, leading to a NULL pointer dereference when the metadata is accessed. Fix this by returning ERR_PTR(-ENOMEM) on allocation failure, consistent with dm-cache-metadata.c, dm-thin-metadata.c, and dm-clone-metadata.c which all use ERR_PTR(-ENOMEM) for the same pattern.

INFO

Published Date :

Aug. 15, 2026, 6:22 a.m.

Last Modified :

Aug. 17, 2026, 6:18 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-72316 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Address NULL pointer dereference by returning an error pointer on allocation failure.
  • Apply the kernel patch for dm era.
  • Ensure proper error handling for memory allocation.
  • Verify metadata access after allocation.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-72316 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-72316 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-72316 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-72316 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 17, 2026

    Action Type Old Value New Value
    Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': 'a705e056c2f3dd067fb2ff414f0537530baa090b', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': 'bd5a80128bdfc93b1cae935a70da000b8c483e6e', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': '17eb2ab13edd0b06ce6f996c5fd450d7efabb2e8', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': '889374b8e4a60d13fe4a5a8ae3a311ca93d1a2c3', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': '01c49eae7c6256f2d8cc08210a2bac3ee070e43a', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': '14e03ecd3b1b5fc03c082b27a2f8889f8290c30e', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': 'b69ea153d30ce19ca8997eeeca1e2219fae5a29b', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': '9ae672606c17891d90b282e3490b817620549599', 'versionType': 'git'}], 'programFiles': ['drivers/md/dm-era-target.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/md/dm-era-target.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': 'a705e056c2f3dd067fb2ff414f0537530baa090b', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': 'bd5a80128bdfc93b1cae935a70da000b8c483e6e', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': '17eb2ab13edd0b06ce6f996c5fd450d7efabb2e8', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': '889374b8e4a60d13fe4a5a8ae3a311ca93d1a2c3', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': '01c49eae7c6256f2d8cc08210a2bac3ee070e43a', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': '14e03ecd3b1b5fc03c082b27a2f8889f8290c30e', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': 'b69ea153d30ce19ca8997eeeca1e2219fae5a29b', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': '9ae672606c17891d90b282e3490b817620549599', 'versionType': 'git'}], 'programFiles': ['drivers/md/dm-era-target.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/md/dm-era-target.c'], 'defaultStatus': 'affected'}]
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 15, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': 'a705e056c2f3dd067fb2ff414f0537530baa090b', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': 'bd5a80128bdfc93b1cae935a70da000b8c483e6e', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': '17eb2ab13edd0b06ce6f996c5fd450d7efabb2e8', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': '889374b8e4a60d13fe4a5a8ae3a311ca93d1a2c3', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': '01c49eae7c6256f2d8cc08210a2bac3ee070e43a', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': '14e03ecd3b1b5fc03c082b27a2f8889f8290c30e', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': 'b69ea153d30ce19ca8997eeeca1e2219fae5a29b', 'versionType': 'git'}, {'status': 'affected', 'version': 'eec40579d84873dfb7021eb24c50360f073237c5', 'lessThan': '9ae672606c17891d90b282e3490b817620549599', 'versionType': 'git'}], 'programFiles': ['drivers/md/dm-era-target.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/md/dm-era-target.c'], 'defaultStatus': 'affected'}]
    Added Description In the Linux kernel, the following vulnerability has been resolved: dm era: fix NULL pointer dereference in metadata_open() metadata_open() returns NULL when kzalloc_obj() fails, but the caller era_ctr() only checks IS_ERR(md). Since IS_ERR(NULL) returns false, the NULL pointer is treated as a valid result and later assigned to era->md, leading to a NULL pointer dereference when the metadata is accessed. Fix this by returning ERR_PTR(-ENOMEM) on allocation failure, consistent with dm-cache-metadata.c, dm-thin-metadata.c, and dm-clone-metadata.c which all use ERR_PTR(-ENOMEM) for the same pattern.
    Added Reference https://git.kernel.org/stable/c/01c49eae7c6256f2d8cc08210a2bac3ee070e43a
    Added Reference https://git.kernel.org/stable/c/14e03ecd3b1b5fc03c082b27a2f8889f8290c30e
    Added Reference https://git.kernel.org/stable/c/17eb2ab13edd0b06ce6f996c5fd450d7efabb2e8
    Added Reference https://git.kernel.org/stable/c/889374b8e4a60d13fe4a5a8ae3a311ca93d1a2c3
    Added Reference https://git.kernel.org/stable/c/9ae672606c17891d90b282e3490b817620549599
    Added Reference https://git.kernel.org/stable/c/a705e056c2f3dd067fb2ff414f0537530baa090b
    Added Reference https://git.kernel.org/stable/c/b69ea153d30ce19ca8997eeeca1e2219fae5a29b
    Added Reference https://git.kernel.org/stable/c/bd5a80128bdfc93b1cae935a70da000b8c483e6e
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.