# CVE-2026-53226: gpio: rockchip: fix generic IRQ chip leak on remove

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-25 · Modified: 2026-10-21
- Aliases: UBUNTU-CVE-2026-53226, DEBIAN-CVE-2026-53226, CGA-29jf-g2hq-hhhp, CGA-2pcf-8vqh-rh3m, CGA-37c7-x365-rmc3, CGA-6582-xc6w-wjjr, CGA-9p4m-4v47-9qv6, CGA-9rmh-hgxx-58h5, CGA-fmhq-xh8h-38h2, CGA-h9cq-rx2x-8cp3, CGA-m7f7-fggw-58qf, CGA-r74v-qg2q-4vrw, CGA-rxrm-r383-478w, CGA-vchh-3ggm-c7vj, CGA-vf79-8559-xcv3
- Record: https://cvemate.com/vulnerability/CVE-2026-53226 · JSON: https://cvemate.com/vulnerability/CVE-2026-53226/json

## Description

```text
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().
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.119%, percentile 1.901%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 174)

- chainguard linux-aws-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-azure-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-gcp-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-gcp-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-gcp-6.18-bootc-boot-installed (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-qemu-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-6.18-bootc-boot-installed (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-melange (Chainguard): \< 6.18.38-r0
- chainguard linux-vmware-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-vmware-6.18 (Chainguard): \< 6.18.38-r0
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.96-1 \| \< 7.0.13-1
- debian linux-6.12 (Debian): \< 6.12.100-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-147.147 \| \< 7.0.0-31.31
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1067.70 \| \< 7.0.0-1012.12
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 29)

- <https://git.kernel.org/stable/c/50c7a6d2bf179588ba2daee97be93d19c96a94af>
- <https://git.kernel.org/stable/c/bace7b99bfa555fe833aee8827b8004c43666d02>
- <https://git.kernel.org/stable/c/1f34ea5f6114011092d9a5c8b901ad6741144a1d>
- <https://git.kernel.org/stable/c/1c1e0fc88d6ef65bf15d517853251f75ab9d18c3>
- <https://ubuntu.com/security/CVE-2026-53226>
- <https://www.cve.org/CVERecord?id=CVE-2026-53226>
- <https://git.kernel.org/linus/1c1e0fc88d6ef65bf15d517853251f75ab9d18c3>
- <https://ubuntu.com/security/notices/USN-8726-1>
- <https://ubuntu.com/security/notices/USN-8727-1>
- <https://ubuntu.com/security/notices/USN-8728-1>
- <https://ubuntu.com/security/notices/USN-8760-1>
- <https://ubuntu.com/security/notices/USN-8726-2>
- <https://ubuntu.com/security/notices/USN-8726-3>
- <https://ubuntu.com/security/notices/USN-8800-1>
- <https://ubuntu.com/security/notices/USN-8760-2>
- <https://ubuntu.com/security/notices/USN-8728-2>
- <https://ubuntu.com/security/notices/USN-8726-4>
- <https://ubuntu.com/security/notices/USN-8728-3>
- <https://security-tracker.debian.org/tracker/CVE-2026-53226>
- <https://ubuntu.com/security/notices/USN-8917-1>

---

Data as of 2026-12-05T04:41:10.032Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
