CVE-2026-72179 (GCVE-0-2026-72179)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:53 – Updated: 2026-08-17 05:09
VLAI
Title
riscv: cacheinfo: Fix node reference leak in populate_cache_leaves
Summary
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)`.
Severity
No CVSS data available.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 6992 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f , < 2560c97f63bb99b26d9f19b23a4f66ea24c9dc14 (git)
Affected: 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f , < 51afb7da697b698996351740b4f39fb05ce2afd4 (git)
Affected: 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f , < 880ac50b0bfae06d7ab5f1843253adfb86aa173a (git)
Affected: 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f , < f322955d9a1c344ed943752f05aacea7bc22e025 (git)
Affected: 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f , < 36e4843fe39ea2f17f4de6d59fba26271916c184 (git)
Affected: 94f9bf118f1e294b3f2092f8bde02860f5e3ea3f , < bf4a195f063b0a0805c1417f6aad1dd32ea48f0f (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.0
Unaffected: 0 , < 5.0 (semver)
Unaffected: 6.1.178 , ≤ 6.1.* (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/riscv/kernel/cacheinfo.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2560c97f63bb99b26d9f19b23a4f66ea24c9dc14",
              "status": "affected",
              "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
              "versionType": "git"
            },
            {
              "lessThan": "51afb7da697b698996351740b4f39fb05ce2afd4",
              "status": "affected",
              "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
              "versionType": "git"
            },
            {
              "lessThan": "880ac50b0bfae06d7ab5f1843253adfb86aa173a",
              "status": "affected",
              "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
              "versionType": "git"
            },
            {
              "lessThan": "f322955d9a1c344ed943752f05aacea7bc22e025",
              "status": "affected",
              "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
              "versionType": "git"
            },
            {
              "lessThan": "36e4843fe39ea2f17f4de6d59fba26271916c184",
              "status": "affected",
              "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
              "versionType": "git"
            },
            {
              "lessThan": "bf4a195f063b0a0805c1417f6aad1dd32ea48f0f",
              "status": "affected",
              "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/riscv/kernel/cacheinfo.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.0"
            },
            {
              "lessThan": "5.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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)`."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:09:41.910Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72179",
    "datePublished": "2026-08-15T05:53:42.980Z",
    "dateReserved": "2026-08-09T03:40:39.910Z",
    "dateUpdated": "2026-08-17T05:09:41.910Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-72179",
      "date": "2026-10-20",
      "epss": "0.00215",
      "percentile": "0.11155"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "arch/riscv/kernel/cacheinfo.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "2560c97f63bb99b26d9f19b23a4f66ea24c9dc14",
                    "status": "affected",
                    "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "51afb7da697b698996351740b4f39fb05ce2afd4",
                    "status": "affected",
                    "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "880ac50b0bfae06d7ab5f1843253adfb86aa173a",
                    "status": "affected",
                    "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f322955d9a1c344ed943752f05aacea7bc22e025",
                    "status": "affected",
                    "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "36e4843fe39ea2f17f4de6d59fba26271916c184",
                    "status": "affected",
                    "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "bf4a195f063b0a0805c1417f6aad1dd32ea48f0f",
                    "status": "affected",
                    "version": "94f9bf118f1e294b3f2092f8bde02860f5e3ea3f",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "arch/riscv/kernel/cacheinfo.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.0"
                  },
                  {
                    "lessThan": "5.0",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.178",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.145",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.97",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.40",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.1.*",
                    "status": "unaffected",
                    "version": "7.1.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "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)`."
          }
        ],
        "id": "CVE-2026-72179",
        "lastModified": "2026-08-17T06:18:18.393",
        "metrics": {},
        "published": "2026-08-15T06:21:36.180",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2560c97f63bb99b26d9f19b23a4f66ea24c9dc14"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/36e4843fe39ea2f17f4de6d59fba26271916c184"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/51afb7da697b698996351740b4f39fb05ce2afd4"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/880ac50b0bfae06d7ab5f1843253adfb86aa173a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/bf4a195f063b0a0805c1417f6aad1dd32ea48f0f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f322955d9a1c344ed943752f05aacea7bc22e025"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-10-16T23:12:43+00:00",
      "cve": "CVE-2026-72179",
      "id": "CVE-2026-72179",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_not_affected": "275",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: riscv: cacheinfo: Fix node reference leak in populate_cache_leaves",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72179.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.