{"id":"CVE-2026-53226","aliases":["CVE-2026-53226"],"related":[],"kind":"vulnerability","state":"published","title":"gpio: rockchip: fix generic IRQ chip leak on remove","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: rockchip: fix generic IRQ chip leak on remove\n\nThe driver allocates domain generic chips using\nirq_alloc_domain_generic_chips() during probe. However, on driver\nremove/teardown, the generic chips are not automatically freed when the\nIRQ domain is removed because the domain flags do not include\nIRQ_DOMAIN_FLAG_DESTROY_GC.\n\nThis causes both the domain generic chips structure and the associated\ngeneric chips to be leaked. Additionally, the generic chips remain on\nthe global gc_list and may later be visited by generic IRQ chip suspend,\nresume, or shutdown callbacks after the GPIO bank has been removed,\npotentially resulting in a use-after-free and kernel crash.\n\nFix the resource leak by explicitly calling\nirq_domain_remove_generic_chips() before removing the IRQ domain in\nrockchip_gpio_remove().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: rockchip: fix generic IRQ chip leak on remove\n\nThe driver allocates domain generic chips using\nirq_alloc_domain_generic_chips() during probe. However, on driver\nremove/teardown, the generic chips are not automatically freed when the\nIRQ domain is removed because the domain flags do not include\nIRQ_DOMAIN_FLAG_DESTROY_GC.\n\nThis causes both the domain generic chips structure and the associated\ngeneric chips to be leaked. Additionally, the generic chips remain on\nthe global gc_list and may later be visited by generic IRQ chip suspend,\nresume, or shutdown callbacks after the GPIO bank has been removed,\npotentially resulting in a use-after-free and kernel crash.\n\nFix the resource leak by explicitly calling\nirq_domain_remove_generic_chips() before removing the IRQ domain in\nrockchip_gpio_remove().","source":"cvelist"}],"published":"2026-06-25T08:39:26.567Z","modified":"2026-10-21T13:19:12.630Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"936ee2675eee1faca0dcdfa79165c7990422e0fc","fixed":"6198123cac2ffd9d9a9d252dfa84ab81fb487ba3","status":"affected"},{"type":"git","introduced":"936ee2675eee1faca0dcdfa79165c7990422e0fc","fixed":"50c7a6d2bf179588ba2daee97be93d19c96a94af","status":"affected"},{"type":"git","introduced":"936ee2675eee1faca0dcdfa79165c7990422e0fc","fixed":"bace7b99bfa555fe833aee8827b8004c43666d02","status":"affected"},{"type":"git","introduced":"936ee2675eee1faca0dcdfa79165c7990422e0fc","fixed":"1f34ea5f6114011092d9a5c8b901ad6741144a1d","status":"affected"},{"type":"git","introduced":"936ee2675eee1faca0dcdfa79165c7990422e0fc","fixed":"1c1e0fc88d6ef65bf15d517853251f75ab9d18c3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.96","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.36","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.13","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15","fixed":"6.18.36"},{"status":"affected","introduced":"6.19","fixed":"7.0.13"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/6198123cac2ffd9d9a9d252dfa84ab81fb487ba3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50c7a6d2bf179588ba2daee97be93d19c96a94af","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bace7b99bfa555fe833aee8827b8004c43666d02","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f34ea5f6114011092d9a5c8b901ad6741144a1d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1c1e0fc88d6ef65bf15d517853251f75ab9d18c3","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53226","url":"https://www.cve.org/CVERecord?id=CVE-2026-53226","licence":"CVE Terms of Use","modified":"2026-10-21T12:42:17.298Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53226","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53226","licence":"Public domain","modified":"2026-10-21T13:19:12.630Z"}],"updatedAt":"2026-11-25T22:59:26.322Z","epss":{"score":0.00119,"percentile":0.0192,"date":"2026-12-01T12:00:22.000Z"}}