CVE-2026-64241 (GCVE-0-2026-64241)

Vulnerability from cvelistv5 – Published: 2026-07-24 15:27 – Updated: 2026-07-24 15:27
VLAI
Title
gpio: rockchip: teardown bugs and resource leaks
Summary
In the Linux kernel, the following vulnerability has been resolved: gpio: rockchip: teardown bugs and resource leaks Address several teardown issues and resource leaks in the driver's remove path and error handling: 1. Debounce clock reference leak: The debounce clock (bank->db_clk) is obtained using of_clk_get() which increments the clock's reference count, but clk_put() is never called. Register a devm action to cleanly release it on unbind. Note that of_clk_get(..., 1) remains necessary over devm_clk_get() because the DT binding does not define clock-names, precluding name-based lookup. 2. Unregistered chained IRQ handler: The chained IRQ handler is not disconnected in remove(). If a stray interrupt fires after the driver is removed, the kernel attempts to execute a stale handler, leading to a panic. Fix this by clearing the handler in remove(). 3. IRQ domain leak: The linear IRQ domain and its generic chips are allocated manually during probe but never removed. Remove the IRQ domain during driver teardown to free the associated generic chips and mappings. [Bartosz: don't emit an error message on devres allocation failure]
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 936ee2675eee1faca0dcdfa79165c7990422e0fc , < cdc603ce3118232712ba443dd8b414d8f25ca467 (git)
Affected: 936ee2675eee1faca0dcdfa79165c7990422e0fc , < 7f945f7f10f442270518dfd768d230227c495fcf (git)
Affected: 936ee2675eee1faca0dcdfa79165c7990422e0fc , < 6be81e77e1748665d7ddab9128ff1d35eb75b87d (git)
Affected: 936ee2675eee1faca0dcdfa79165c7990422e0fc , < 9500077678230e36d22bf16d2b9539c13e59a801 (git)
Create a notification for this product.
Linux Linux Affected: 5.15
Unaffected: 0 , < 5.15 (semver)
Unaffected: 6.12.96 , ≤ 6.12.* (semver)
Unaffected: 6.18.35 , ≤ 6.18.* (semver)
Unaffected: 7.0.12 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpio/gpio-rockchip.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cdc603ce3118232712ba443dd8b414d8f25ca467",
              "status": "affected",
              "version": "936ee2675eee1faca0dcdfa79165c7990422e0fc",
              "versionType": "git"
            },
            {
              "lessThan": "7f945f7f10f442270518dfd768d230227c495fcf",
              "status": "affected",
              "version": "936ee2675eee1faca0dcdfa79165c7990422e0fc",
              "versionType": "git"
            },
            {
              "lessThan": "6be81e77e1748665d7ddab9128ff1d35eb75b87d",
              "status": "affected",
              "version": "936ee2675eee1faca0dcdfa79165c7990422e0fc",
              "versionType": "git"
            },
            {
              "lessThan": "9500077678230e36d22bf16d2b9539c13e59a801",
              "status": "affected",
              "version": "936ee2675eee1faca0dcdfa79165c7990422e0fc",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpio/gpio-rockchip.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.15"
            },
            {
              "lessThan": "5.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.96",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.35",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.96",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.35",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.12",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: rockchip: teardown bugs and resource leaks\n\nAddress several teardown issues and resource leaks in the driver\u0027s remove\npath and error handling:\n\n1. Debounce clock reference leak: The debounce clock (bank-\u003edb_clk) is\n   obtained using of_clk_get() which increments the clock\u0027s reference\n   count, but clk_put() is never called. Register a devm action to\n   cleanly release it on unbind. Note that of_clk_get(..., 1) remains\n   necessary over devm_clk_get() because the DT binding does not define\n   clock-names, precluding name-based lookup.\n\n2. Unregistered chained IRQ handler: The chained IRQ handler is not\n   disconnected in remove(). If a stray interrupt fires after the driver\n   is removed, the kernel attempts to execute a stale handler, leading\n   to a panic. Fix this by clearing the handler in remove().\n\n3. IRQ domain leak: The linear IRQ domain and its generic chips are\n   allocated manually during probe but never removed. Remove the IRQ\n   domain during driver teardown to free the associated generic chips\n   and mappings.\n\n[Bartosz: don\u0027t emit an error message on devres allocation failure]"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-24T15:27:44.144Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cdc603ce3118232712ba443dd8b414d8f25ca467"
        },
        {
          "url": "https://git.kernel.org/stable/c/7f945f7f10f442270518dfd768d230227c495fcf"
        },
        {
          "url": "https://git.kernel.org/stable/c/6be81e77e1748665d7ddab9128ff1d35eb75b87d"
        },
        {
          "url": "https://git.kernel.org/stable/c/9500077678230e36d22bf16d2b9539c13e59a801"
        }
      ],
      "title": "gpio: rockchip: teardown bugs and resource leaks",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64241",
    "datePublished": "2026-07-24T15:27:44.144Z",
    "dateReserved": "2026-07-19T15:36:31.772Z",
    "dateUpdated": "2026-07-24T15:27:44.144Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64241",
      "date": "2026-07-31",
      "epss": "0.00156",
      "percentile": "0.05293"
    },
    "microsoft_vex": {
      "current_release_date": "2026-07-27T14:45:07.000Z",
      "cve": "CVE-2026-64241",
      "id": "msrc_CVE-2026-64241",
      "initial_release_date": "2026-07-26T01:02:50.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "gpio: rockchip: teardown bugs and resource leaks",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-64241.json",
      "version": "2"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64241\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-24T16:16:53.443\",\"lastModified\":\"2026-07-30T15:00:27.343\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ngpio: rockchip: teardown bugs and resource leaks\\n\\nAddress several teardown issues and resource leaks in the driver\u0027s remove\\npath and error handling:\\n\\n1. Debounce clock reference leak: The debounce clock (bank-\u003edb_clk) is\\n   obtained using of_clk_get() which increments the clock\u0027s reference\\n   count, but clk_put() is never called. Register a devm action to\\n   cleanly release it on unbind. Note that of_clk_get(..., 1) remains\\n   necessary over devm_clk_get() because the DT binding does not define\\n   clock-names, precluding name-based lookup.\\n\\n2. Unregistered chained IRQ handler: The chained IRQ handler is not\\n   disconnected in remove(). If a stray interrupt fires after the driver\\n   is removed, the kernel attempts to execute a stale handler, leading\\n   to a panic. Fix this by clearing the handler in remove().\\n\\n3. IRQ domain leak: The linear IRQ domain and its generic chips are\\n   allocated manually during probe but never removed. Remove the IRQ\\n   domain during driver teardown to free the associated generic chips\\n   and mappings.\\n\\n[Bartosz: don\u0027t emit an error message on devres allocation failure]\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/gpio/gpio-rockchip.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"936ee2675eee1faca0dcdfa79165c7990422e0fc\",\"lessThan\":\"cdc603ce3118232712ba443dd8b414d8f25ca467\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"936ee2675eee1faca0dcdfa79165c7990422e0fc\",\"lessThan\":\"7f945f7f10f442270518dfd768d230227c495fcf\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"936ee2675eee1faca0dcdfa79165c7990422e0fc\",\"lessThan\":\"6be81e77e1748665d7ddab9128ff1d35eb75b87d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"936ee2675eee1faca0dcdfa79165c7990422e0fc\",\"lessThan\":\"9500077678230e36d22bf16d2b9539c13e59a801\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/gpio/gpio-rockchip.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.15\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.15\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.96\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.35\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.12\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/6be81e77e1748665d7ddab9128ff1d35eb75b87d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7f945f7f10f442270518dfd768d230227c495fcf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9500077678230e36d22bf16d2b9539c13e59a801\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cdc603ce3118232712ba443dd8b414d8f25ca467\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-07-28T09:47:41+00:00",
      "cve": "CVE-2026-64241",
      "id": "CVE-2026-64241",
      "initial_release_date": "2026-07-24T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: gpio: rockchip: teardown bugs and resource leaks",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64241.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-07-28T17:08:41Z",
      "cve": "CVE-2026-64241",
      "id": "CVE-2026-64241",
      "initial_release_date": "2026-07-25T00:13:50Z",
      "product_status:known_affected": "116",
      "product_status:known_not_affected": "182",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-64241",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-64241.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…