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.
Published: 2026-08-15
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability originates in the dm‑era component of the Linux kernel where the function metadata_open() returns NULL if memory allocation fails. The caller era_ctr() checks only IS_ERR(md), which incorrectly treats a NULL pointer as valid because IS_ERR(NULL) is false. This misinterpretation allows the NULL pointer to be stored in era->md, and when the metadata is later accessed, the kernel dereferences a NULL pointer, triggering a kernel panic. The resulting crash isolates the system from service, effectively denying availability for any process interacting with dm‑era's metadata functionality.

Affected Systems

Affected systems are Linux kernel installations that include the dm‑era module before the fix was merged. All kernels that compile dm‑era without the patch are vulnerable; no specific version identifiers are provided in the advisory, so any kernel version lacking the commit should be considered affected.

Risk and Exploitability

The EPSS score indicates a low exploitation probability, with a value of 0.22%, and the vulnerability is not listed in CISA’s KEV catalog. The CVSS score of 7.0 indicates a medium severity vulnerability. Exploitation requires delivery of a request that triggers metadata_open() when kzalloc_obj() fails, which typically requires a local attacker with the ability to influence device mapper metadata operations. The attack vector is therefore likely local; no remote exploitation path is described.

Generated by OpenCVE AI on August 22, 2026 at 07:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the dm‑era metadata_open fix (commit 01c49eae7c6256f2d8cc08210a2bac3ee070e43a).
  • If an immediate kernel upgrade is not possible, disable the dm‑era module or prevent its activation by removing the corresponding device mapper target from the system configuration.
  • Ensure that the kernel packaged by the distribution is up‑to‑date by installing the latest security update, which includes the dm‑era patch or a back‑ported fix.

Generated by OpenCVE AI on August 22, 2026 at 07:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Low


Sat, 15 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values 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.
Title dm era: fix NULL pointer dereference in metadata_open()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:12:21.813Z

Reserved: 2026-08-09T03:40:39.919Z

Link: CVE-2026-72316

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:04.503

Modified: 2026-08-17T06:18:34.890

Link: CVE-2026-72316

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72316 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T07:15:04Z

Weaknesses