{"id":"CVE-2026-72179","aliases":["CVE-2026-72179"],"related":[],"kind":"vulnerability","state":"published","title":"riscv: cacheinfo: Fix node reference leak in populate_cache_leaves","summary":"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)`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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)`.","source":"cvelist"}],"published":"2026-08-15T05:53:42.980Z","modified":"2026-08-17T06:18:18.393Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"94f9bf118f1e294b3f2092f8bde02860f5e3ea3f","fixed":"2560c97f63bb99b26d9f19b23a4f66ea24c9dc14","status":"affected"},{"type":"git","introduced":"94f9bf118f1e294b3f2092f8bde02860f5e3ea3f","fixed":"51afb7da697b698996351740b4f39fb05ce2afd4","status":"affected"},{"type":"git","introduced":"94f9bf118f1e294b3f2092f8bde02860f5e3ea3f","fixed":"880ac50b0bfae06d7ab5f1843253adfb86aa173a","status":"affected"},{"type":"git","introduced":"94f9bf118f1e294b3f2092f8bde02860f5e3ea3f","fixed":"f322955d9a1c344ed943752f05aacea7bc22e025","status":"affected"},{"type":"git","introduced":"94f9bf118f1e294b3f2092f8bde02860f5e3ea3f","fixed":"36e4843fe39ea2f17f4de6d59fba26271916c184","status":"affected"},{"type":"git","introduced":"94f9bf118f1e294b3f2092f8bde02860f5e3ea3f","fixed":"bf4a195f063b0a0805c1417f6aad1dd32ea48f0f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2560c97f63bb99b26d9f19b23a4f66ea24c9dc14","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/51afb7da697b698996351740b4f39fb05ce2afd4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/880ac50b0bfae06d7ab5f1843253adfb86aa173a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f322955d9a1c344ed943752f05aacea7bc22e025","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/36e4843fe39ea2f17f4de6d59fba26271916c184","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bf4a195f063b0a0805c1417f6aad1dd32ea48f0f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72179","url":"https://www.cve.org/CVERecord?id=CVE-2026-72179","licence":"CVE Terms of Use","modified":"2026-08-17T05:09:41.910Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72179","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72179","licence":"Public domain","modified":"2026-08-17T06:18:18.393Z"}],"updatedAt":"2026-11-25T22:59:33.034Z","epss":{"score":0.00206,"percentile":0.11209,"date":"2026-12-01T12:00:22.000Z"}}