irqchip/imgpdc: Fix resource leak, add missing chained handler cleanup on remove

Summary

CVECVE-2026-63798
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-19 12:16:52 UTC
Updated2026-07-19 12:16:52 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: irqchip/imgpdc: Fix resource leak, add missing chained handler cleanup on remove The driver allocates domain generic chips using irq_alloc_domain_generic_chips() during probe and sets up chained handlers using irq_set_chained_handler_and_data(). However, on driver removal, the generic chips are not freed and the chained handlers are not removed. The generic chips remain on the global gc_list and may later be accessed by generic interrupt chip suspend, resume, or shutdown callbacks after the driver has been removed, potentially resulting in a use-after-free and kernel crash. The chained handlers that were installed in probe for peripheral and syswake interrupts are also left dangling, which can lead to spurious interrupts accessing freed memory. Fix these issues by: - Setting IRQ_DOMAIN_FLAG_DESTROY_GC flag in domain->flags, so the core code automatically removes generic chips when irq_domain_remove() is called - Clearing all chained handlers with NULL in pdc_intc_remove()

Risk And Classification

EPSS: 0.001770000 probability, percentile 0.074750000 (date 2026-07-20)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected b6ef9161e43ad58c3824bd76dc87716276f0cd70 8176773dfceae7978b01c20b233693e072053700 git Not specified
CNA Linux Linux affected b6ef9161e43ad58c3824bd76dc87716276f0cd70 c2c7733101bb8c0b29ac9ee41073eaf602821a59 git Not specified
CNA Linux Linux affected b6ef9161e43ad58c3824bd76dc87716276f0cd70 83d7ec14b0938ad8cae008058fd6f912f4a9a312 git Not specified
CNA Linux Linux affected b6ef9161e43ad58c3824bd76dc87716276f0cd70 44567537a2623dcd2b4018a7f043cf8069579e5d git Not specified
CNA Linux Linux affected b6ef9161e43ad58c3824bd76dc87716276f0cd70 41826e5297e67cd96a0a46fde06a5069a8ce436a git Not specified
CNA Linux Linux affected b6ef9161e43ad58c3824bd76dc87716276f0cd70 b3a3831b2eb884641906fc5e46207b205b6aea13 git Not specified
CNA Linux Linux affected b6ef9161e43ad58c3824bd76dc87716276f0cd70 0405a65e4ebd9eac13a765f9f02ac05851ca5421 git Not specified
CNA Linux Linux affected b6ef9161e43ad58c3824bd76dc87716276f0cd70 37738fdf2ab1e504d1c63ce5bc0aeb6452d8f057 git Not specified
CNA Linux Linux affected 3.12 Not specified
CNA Linux Linux unaffected 3.12 semver Not specified
CNA Linux Linux unaffected 5.10.260 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.211 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.177 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.144 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.95 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.38 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.3 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/41826e5297e67cd96a0a46fde06a5069a8ce436a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8176773dfceae7978b01c20b233693e072053700 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/37738fdf2ab1e504d1c63ce5bc0aeb6452d8f057 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b3a3831b2eb884641906fc5e46207b205b6aea13 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c2c7733101bb8c0b29ac9ee41073eaf602821a59 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/44567537a2623dcd2b4018a7f043cf8069579e5d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/83d7ec14b0938ad8cae008058fd6f912f4a9a312 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0405a65e4ebd9eac13a765f9f02ac05851ca5421 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report