In the Linux kernel, the following vulnerability has been resolved: dm era: fix NULL pointer dereference in metadata_open() metadata_open() returns… (CVE-2026-72316)
A vulnerability in the Linux kernel's device mapper era metadata handling was fixed. The function metadata_open() could return NULL on allocation failure, but the caller era_ctr() only checked for error pointers, not NULL. This led to a NULL pointer dereference when the metadata was accessed. The fix changes metadata_open() to return an error pointer on allocation failure, preventing the NULL dereference.
AI Analysis
Technical Summary
The Linux kernel device mapper era metadata_open() function improperly handled memory allocation failures by returning NULL instead of an error pointer. The caller era_ctr() checked only for error pointers using IS_ERR(), which returns false for NULL, causing a NULL pointer to be treated as valid. This resulted in a NULL pointer dereference when accessing era->md. The vulnerability was resolved by modifying metadata_open() to return ERR_PTR(-ENOMEM) on allocation failure, aligning with similar device mapper metadata components.
Potential Impact
This vulnerability could cause a NULL pointer dereference in the Linux kernel device mapper era metadata code, potentially leading to kernel crashes or denial of service. There is no information about exploitation in the wild or privilege escalation. The impact is limited to stability and availability issues caused by kernel crashes.
Mitigation Recommendations
A fix is available in the Linux kernel that changes metadata_open() to return an error pointer on allocation failure instead of NULL. Users should apply the official kernel update that includes this fix. Since this is a kernel-level issue, updating to the patched kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; check the vendor or kernel mailing list advisories for the exact fixed version and update accordingly.
In the Linux kernel, the following vulnerability has been resolved: dm era: fix NULL pointer dereference in metadata_open() metadata_open() returns… (CVE-2026-72316)
Description
A vulnerability in the Linux kernel's device mapper era metadata handling was fixed. The function metadata_open() could return NULL on allocation failure, but the caller era_ctr() only checked for error pointers, not NULL. This led to a NULL pointer dereference when the metadata was accessed. The fix changes metadata_open() to return an error pointer on allocation failure, preventing the NULL dereference.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel device mapper era metadata_open() function improperly handled memory allocation failures by returning NULL instead of an error pointer. The caller era_ctr() checked only for error pointers using IS_ERR(), which returns false for NULL, causing a NULL pointer to be treated as valid. This resulted in a NULL pointer dereference when accessing era->md. The vulnerability was resolved by modifying metadata_open() to return ERR_PTR(-ENOMEM) on allocation failure, aligning with similar device mapper metadata components.
Potential Impact
This vulnerability could cause a NULL pointer dereference in the Linux kernel device mapper era metadata code, potentially leading to kernel crashes or denial of service. There is no information about exploitation in the wild or privilege escalation. The impact is limited to stability and availability issues caused by kernel crashes.
Mitigation Recommendations
A fix is available in the Linux kernel that changes metadata_open() to return an error pointer on allocation failure instead of NULL. Users should apply the official kernel update that includes this fix. Since this is a kernel-level issue, updating to the patched kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; check the vendor or kernel mailing list advisories for the exact fixed version and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-r48m-h265-23mg
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-72316"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a808b71bf8831d5394fba5a
Added to database: 08/15/2026, 15:53:21 UTC
Last enriched: 08/15/2026, 16:35:59 UTC
Last updated: 08/15/2026, 16:35:59 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.