CVE-2026-72179 (GCVE-0-2026-72179)
Vulnerability from cvelistv5
Published
2026-08-15 05:53
Modified
2026-08-17 05:09
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
riscv: cacheinfo: Fix node reference leak in populate_cache_leaves
Currently, the while loop drops the reference to prev in each iteration.
If the loop terminates early due to a break, the final of_node_put(np)
correctly drops the reference to the current node.
However, if the loop terminates naturally because np == NULL, calling
of_node_put(np) is a no-op. This leaves the last valid node stored in
prev without its reference dropped, resulting in a node reference leak.
Fix this by changing the final `of_node_put(np)` to `of_node_put(prev)`.
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Version: 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f Version: 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f Version: 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f Version: 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f Version: 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f Version: 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f |
||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"arch/riscv/kernel/cacheinfo.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "2560c97f63bb99b26d9f19b23a4f66ea24c9dc14",
"status": "affected",
"version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
"versionType": "git"
},
{
"lessThan": "51afb7da697b698996351740b4f39fb05ce2afd4",
"status": "affected",
"version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
"versionType": "git"
},
{
"lessThan": "880ac50b0bfae06d7ab5f1843253adfb86aa173a",
"status": "affected",
"version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
"versionType": "git"
},
{
"lessThan": "f322955d9a1c344ed943752f05aacea7bc22e025",
"status": "affected",
"version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
"versionType": "git"
},
{
"lessThan": "36e4843fe39ea2f17f4de6d59fba26271916c184",
"status": "affected",
"version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
"versionType": "git"
},
{
"lessThan": "bf4a195f063b0a0805c1417f6aad1dd32ea48f0f",
"status": "affected",
"version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"arch/riscv/kernel/cacheinfo.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.0"
},
{
"lessThan": "5.0",
"status": "unaffected",
"version": "0",
"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": "6.1.178",
"versionStartIncluding": "5.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.145",
"versionStartIncluding": "5.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.97",
"versionStartIncluding": "5.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.40",
"versionStartIncluding": "5.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.5",
"versionStartIncluding": "5.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "5.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: cacheinfo: Fix node reference leak in populate_cache_leaves\n\nCurrently, the while loop drops the reference to prev in each iteration.\nIf the loop terminates early due to a break, the final of_node_put(np)\ncorrectly drops the reference to the current node.\n\nHowever, if the loop terminates naturally because np == NULL, calling\nof_node_put(np) is a no-op. This leaves the last valid node stored in\nprev without its reference dropped, resulting in a node reference leak.\n\nFix this by changing the final `of_node_put(np)` to `of_node_put(prev)`."
}
],
"providerMetadata": {
"dateUpdated": "2026-08-17T05:09:41.910Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/2560c97f63bb99b26d9f19b23a4f66ea24c9dc14"
},
{
"url": "https://git.kernel.org/stable/c/51afb7da697b698996351740b4f39fb05ce2afd4"
},
{
"url": "https://git.kernel.org/stable/c/880ac50b0bfae06d7ab5f1843253adfb86aa173a"
},
{
"url": "https://git.kernel.org/stable/c/f322955d9a1c344ed943752f05aacea7bc22e025"
},
{
"url": "https://git.kernel.org/stable/c/36e4843fe39ea2f17f4de6d59fba26271916c184"
},
{
"url": "https://git.kernel.org/stable/c/bf4a195f063b0a0805c1417f6aad1dd32ea48f0f"
}
],
"title": "riscv: cacheinfo: Fix node reference leak in populate_cache_leaves",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-72179",
"datePublished": "2026-08-15T05:53:42.980Z",
"dateReserved": "2026-08-09T03:40:39.910Z",
"dateUpdated": "2026-08-17T05:09:41.910Z",
"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…