{"id":"CVE-2026-72179","summary":"riscv: cacheinfo: Fix node reference leak in populate_cache_leaves","details":"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)`.","modified":"2026-08-18T03:31:17.265000681Z","published":"2026-08-15T05:53:42.980Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72179.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2560c97f63bb99b26d9f19b23a4f66ea24c9dc14"},{"type":"WEB","url":"https://git.kernel.org/stable/c/36e4843fe39ea2f17f4de6d59fba26271916c184"},{"type":"WEB","url":"https://git.kernel.org/stable/c/51afb7da697b698996351740b4f39fb05ce2afd4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/880ac50b0bfae06d7ab5f1843253adfb86aa173a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bf4a195f063b0a0805c1417f6aad1dd32ea48f0f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f322955d9a1c344ed943752f05aacea7bc22e025"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72179.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72179"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"94f9bf118f1e294b3f2092f8bde02860f5e3ea3f"},{"fixed":"2560c97f63bb99b26d9f19b23a4f66ea24c9dc14"},{"fixed":"51afb7da697b698996351740b4f39fb05ce2afd4"},{"fixed":"880ac50b0bfae06d7ab5f1843253adfb86aa173a"},{"fixed":"f322955d9a1c344ed943752f05aacea7bc22e025"},{"fixed":"36e4843fe39ea2f17f4de6d59fba26271916c184"},{"fixed":"bf4a195f063b0a0805c1417f6aad1dd32ea48f0f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72179.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"6.1.178"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.97"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72179.json"}}],"schema_version":"1.9.0"}