CVE-2026-72179

riscv: cacheinfo: Fix node reference leak in populate_cache_leaves

N/A
Published: August 15, 2026 at 05:53 AM UTC
Updated: August 17, 2026 at 06:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

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)`.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.0 ≤ v < 6.1.1785.0 ≤ v < 6.12.975.0 ≤ v < 6.18.405.0 ≤ v < 6.6.1455.0 ≤ v < 7.1.55.0 ≤ v < 7.25.094f9bf118f1e294b3f2092f8bde02860f5e3ea3f
Vendor states this is fixed in 2560c97f63bb99b26d9f19b23a4f66ea24c9dc14 (fixed)
Vendor states this is fixed in 36e4843fe39ea2f17f4de6d59fba26271916c184 (fixed)
Vendor states this is fixed in 51afb7da697b698996351740b4f39fb05ce2afd4 (fixed)
Vendor states this is fixed in 880ac50b0bfae06d7ab5f1843253adfb86aa173a (fixed)
Vendor states this is fixed in bf4a195f063b0a0805c1417f6aad1dd32ea48f0f (fixed)
Vendor states this is fixed in f322955d9a1c344ed943752f05aacea7bc22e025 (fixed)
Vendor states this is fixed in 5.0 (unaffected)
Vendor states this is fixed in 6.1.178 (unaffected)
Vendor states this is fixed in 6.12.97 (unaffected)
Vendor states this is fixed in 6.18.40 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.5 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card