CVE-2026-72316 (GCVE-0-2026-72316)
Vulnerability from cvelistv5
Published
2026-08-15 05:55
Modified
2026-08-17 05:12
Severity ?
VLAI Severity ?
EPSS score ?
Summary
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.
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Version: eec40579d84873dfb7021eb24c50360f073237c5 Version: eec40579d84873dfb7021eb24c50360f073237c5 Version: eec40579d84873dfb7021eb24c50360f073237c5 Version: eec40579d84873dfb7021eb24c50360f073237c5 Version: eec40579d84873dfb7021eb24c50360f073237c5 Version: eec40579d84873dfb7021eb24c50360f073237c5 Version: eec40579d84873dfb7021eb24c50360f073237c5 Version: eec40579d84873dfb7021eb24c50360f073237c5 |
||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/md/dm-era-target.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "a705e056c2f3dd067fb2ff414f0537530baa090b",
"status": "affected",
"version": "eec40579d84873dfb7021eb24c50360f073237c5",
"versionType": "git"
},
{
"lessThan": "bd5a80128bdfc93b1cae935a70da000b8c483e6e",
"status": "affected",
"version": "eec40579d84873dfb7021eb24c50360f073237c5",
"versionType": "git"
},
{
"lessThan": "17eb2ab13edd0b06ce6f996c5fd450d7efabb2e8",
"status": "affected",
"version": "eec40579d84873dfb7021eb24c50360f073237c5",
"versionType": "git"
},
{
"lessThan": "889374b8e4a60d13fe4a5a8ae3a311ca93d1a2c3",
"status": "affected",
"version": "eec40579d84873dfb7021eb24c50360f073237c5",
"versionType": "git"
},
{
"lessThan": "01c49eae7c6256f2d8cc08210a2bac3ee070e43a",
"status": "affected",
"version": "eec40579d84873dfb7021eb24c50360f073237c5",
"versionType": "git"
},
{
"lessThan": "14e03ecd3b1b5fc03c082b27a2f8889f8290c30e",
"status": "affected",
"version": "eec40579d84873dfb7021eb24c50360f073237c5",
"versionType": "git"
},
{
"lessThan": "b69ea153d30ce19ca8997eeeca1e2219fae5a29b",
"status": "affected",
"version": "eec40579d84873dfb7021eb24c50360f073237c5",
"versionType": "git"
},
{
"lessThan": "9ae672606c17891d90b282e3490b817620549599",
"status": "affected",
"version": "eec40579d84873dfb7021eb24c50360f073237c5",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/md/dm-era-target.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "3.15"
},
{
"lessThan": "3.15",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.261",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.212",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.178",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.145",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.97",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.40",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.261",
"versionStartIncluding": "3.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.212",
"versionStartIncluding": "3.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.178",
"versionStartIncluding": "3.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.145",
"versionStartIncluding": "3.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.97",
"versionStartIncluding": "3.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.40",
"versionStartIncluding": "3.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.5",
"versionStartIncluding": "3.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "3.15",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"providerMetadata": {
"dateUpdated": "2026-08-17T05:12:21.813Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/a705e056c2f3dd067fb2ff414f0537530baa090b"
},
{
"url": "https://git.kernel.org/stable/c/bd5a80128bdfc93b1cae935a70da000b8c483e6e"
},
{
"url": "https://git.kernel.org/stable/c/17eb2ab13edd0b06ce6f996c5fd450d7efabb2e8"
},
{
"url": "https://git.kernel.org/stable/c/889374b8e4a60d13fe4a5a8ae3a311ca93d1a2c3"
},
{
"url": "https://git.kernel.org/stable/c/01c49eae7c6256f2d8cc08210a2bac3ee070e43a"
},
{
"url": "https://git.kernel.org/stable/c/14e03ecd3b1b5fc03c082b27a2f8889f8290c30e"
},
{
"url": "https://git.kernel.org/stable/c/b69ea153d30ce19ca8997eeeca1e2219fae5a29b"
},
{
"url": "https://git.kernel.org/stable/c/9ae672606c17891d90b282e3490b817620549599"
}
],
"title": "dm era: fix NULL pointer dereference in metadata_open()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-72316",
"datePublished": "2026-08-15T05:55:30.399Z",
"dateReserved": "2026-08-09T03:40:39.919Z",
"dateUpdated": "2026-08-17T05:12:21.813Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…