{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-72179",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-08-09T03:40:39.910Z",
        "datePublished": "2026-08-15T05:53:42.980Z",
        "dateUpdated": "2026-08-17T05:09:41.910Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-17T05:09:41.910Z"
            },
            "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)`."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "arch/riscv/kernel/cacheinfo.c"
                    ],
                    "versions": [
                        {
                            "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
                            "lessThan": "2560c97f63bb99b26d9f19b23a4f66ea24c9dc14",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
                            "lessThan": "51afb7da697b698996351740b4f39fb05ce2afd4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
                            "lessThan": "880ac50b0bfae06d7ab5f1843253adfb86aa173a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
                            "lessThan": "f322955d9a1c344ed943752f05aacea7bc22e025",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
                            "lessThan": "36e4843fe39ea2f17f4de6d59fba26271916c184",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
                            "lessThan": "bf4a195f063b0a0805c1417f6aad1dd32ea48f0f",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "arch/riscv/kernel/cacheinfo.c"
                    ],
                    "versions": [
                        {
                            "version": "5.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.178",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.145",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.97",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.40",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.5",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.1.178"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.6.145"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.12.97"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.18.40"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "7.1.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "7.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}