Description
In the Linux kernel, the following vulnerability has been resolved:

gpio: rockchip: fix generic IRQ chip leak on remove

The driver allocates domain generic chips using
irq_alloc_domain_generic_chips() during probe. However, on driver
remove/teardown, the generic chips are not automatically freed when the
IRQ domain is removed because the domain flags do not include
IRQ_DOMAIN_FLAG_DESTROY_GC.

This causes both the domain generic chips structure and the associated
generic chips to be leaked. Additionally, the generic chips remain on
the global gc_list and may later be visited by generic IRQ chip suspend,
resume, or shutdown callbacks after the GPIO bank has been removed,
potentially resulting in a use-after-free and kernel crash.

Fix the resource leak by explicitly calling
irq_domain_remove_generic_chips() before removing the IRQ domain in
rockchip_gpio_remove().
Published: 2026-06-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

During the removal of the Rockchip GPIO driver, generic IRQ chips allocated by irq_alloc_domain_generic_chips() are not freed because the domain flags lack IRQ_DOMAIN_FLAG_DESTROY_GC. This causes the domain generic chip structure and its associated generic chips to leak, remaining registered on the global gc_list. Subsequent suspend, resume, or shutdown callbacks may access these leaked objects, potentially triggering a use‑after‑free that results in a kernel crash.

Affected Systems

The vulnerability affects the Linux kernel’s Rockchip GPIO driver. Any system running a Linux kernel that incorporates this driver and performs a removal or hot‑plug operation could be impacted. The CVE data does not specify affected kernel versions, so the issue may exist in multiple releases that contain the unchanged driver code.

Risk and Exploitability

The CVSS score of 5.5 indicates medium severity, primarily due to loss of system integrity via kernel crash. The EPSS score signals a very low exploitation probability (< 1%). This vulnerability is not listed in the CISA KEV catalog, and no publicly disclosed exploits are available. Exploitation would require local privileged access to trigger the removal path for the Rockchip GPIO driver; the likely attack vector is through device removal during normal operation or by malicious hot‑plug.

Generated by OpenCVE AI on August 13, 2026 at 14:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the upstream patch that explicitly removes the generic IRQ chips during rockchip_gpio_remove(), or update the kernel to a version that contains the fix (commit 1c1e0fc88d6ef65bf15d517853251f75ab9d18c3).
  • Ensure the Rockchip GPIO driver is compiled with IRQ_DOMAIN_FLAG_DESTROY_GC, or rebuild it to include this flag if it is not already present.
  • If an update is not possible, avoid hot‑plugging or manually removing Rockchip GPIO devices while the system is running, or disable the driver if it is not required.

Generated by OpenCVE AI on August 13, 2026 at 14:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
Debian DSA Debian DSA DSA-6393-1 linux security update
History

Thu, 13 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 18 Jul 2026 15:30:00 +0000


Tue, 30 Jun 2026 00:45:00 +0000


Thu, 25 Jun 2026 11:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 25 Jun 2026 09:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: gpio: rockchip: fix generic IRQ chip leak on remove The driver allocates domain generic chips using irq_alloc_domain_generic_chips() during probe. However, on driver remove/teardown, the generic chips are not automatically freed when the IRQ domain is removed because the domain flags do not include IRQ_DOMAIN_FLAG_DESTROY_GC. This causes both the domain generic chips structure and the associated generic chips to be leaked. Additionally, the generic chips remain on the global gc_list and may later be visited by generic IRQ chip suspend, resume, or shutdown callbacks after the GPIO bank has been removed, potentially resulting in a use-after-free and kernel crash. Fix the resource leak by explicitly calling irq_domain_remove_generic_chips() before removing the IRQ domain in rockchip_gpio_remove().
Title gpio: rockchip: fix generic IRQ chip leak on remove
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-18T15:00:47.412Z

Reserved: 2026-06-09T07:44:35.392Z

Link: CVE-2026-53226

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2026-06-25T09:16:40.420

Modified: 2026-07-18T16:17:13.780

Link: CVE-2026-53226

cve-icon Redhat

Severity :

Publid Date: 2026-06-25T00:00:00Z

Links: CVE-2026-53226 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T15:00:04Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime