CVE-2026-64241CWE-401

CVE-2026-64241

Medium · published July 24, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
1.4
In the wild
Unconfirmed
What it is

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]

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00114 · 1.4th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2026-07-24T20:16Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 5.15, < 6.12.966.12.96
linux/linux_kernel≥ 6.13, < 6.18.356.18.35
linux/linux_kernel≥ 6.19, < 7.0.127.0.12
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 24 JUL 15:27Z
    gpio: rockchip: teardown bugs and resource leaks
    cvelistv5