CVE-2026-64241

gpio: rockchip: teardown bugs and resource leaks

State
Published
Severity
Not scored
Published
Jul 24, 2026
Updated
Oct 21, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

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]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 936ee2675eee1faca0dcdfa79165c7990422e0fc to before 77b6ff33c8f5642f7e7c1ca691857218683264fdAffected
  • 936ee2675eee1faca0dcdfa79165c7990422e0fc to before cdc603ce3118232712ba443dd8b414d8f25ca467Affected
  • 936ee2675eee1faca0dcdfa79165c7990422e0fc to before 7f945f7f10f442270518dfd768d230227c495fcfAffected
  • 936ee2675eee1faca0dcdfa79165c7990422e0fc to before 6be81e77e1748665d7ddab9128ff1d35eb75b87dAffected
  • 936ee2675eee1faca0dcdfa79165c7990422e0fc to before 9500077678230e36d22bf16d2b9539c13e59a801Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.96 through 6.12.*Not affected
  • 6.18.35 through 6.18.*Not affected
  • 7.0.12 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.