CVE-2026-72179
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)`.
How to fix
- Linux Linux2560c97f63bb99b26d9f19b23a4f66ea24c9dc14, 51afb7da697b698996351740b4f39fb05ce2afd4, 880ac50b0bfae06d7ab5f1843253adfb86aa173a, f322955d9a1c344ed943752f05aacea7bc22e025, 36e4843fe39ea2f17f4de6d59fba26271916c184, bf4a195f063b0a0805c1417f6aad1dd32ea48f0f or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux Linux | 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f ≤ v < 2560c97f63bb99b26d9f19b23a4f66ea24c9dc14, 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f ≤ v < 51afb7da697b698996351740b4f39fb05ce2afd4, 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f ≤ v < 880ac50b0bfae06d7ab5f1843253adfb86aa173a, 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f ≤ v < f322955d9a1c344ed943752f05aacea7bc22e025, 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f ≤ v < 36e4843fe39ea2f17f4de6d59fba26271916c184, 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f ≤ v < bf4a195f063b0a0805c1417f6aad1dd32ea48f0f, 5.0 | 2560c97f63bb99b26d9f19b23a4f66ea24c9dc14, 51afb7da697b698996351740b4f39fb05ce2afd4, 880ac50b0bfae06d7ab5f1843253adfb86aa173a, f322955d9a1c344ed943752f05aacea7bc22e025, 36e4843fe39ea2f17f4de6d59fba26271916c184, bf4a195f063b0a0805c1417f6aad1dd32ea48f0f |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.