CVE-2026-63798

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

State
Published
Severity
Not scored
Published
Jul 19, 2026
Updated
Aug 17, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

In 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()

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b6ef9161e43ad58c3824bd76dc87716276f0cd70 to before 8176773dfceae7978b01c20b233693e072053700Affected
  • b6ef9161e43ad58c3824bd76dc87716276f0cd70 to before c2c7733101bb8c0b29ac9ee41073eaf602821a59Affected
  • b6ef9161e43ad58c3824bd76dc87716276f0cd70 to before 83d7ec14b0938ad8cae008058fd6f912f4a9a312Affected
  • b6ef9161e43ad58c3824bd76dc87716276f0cd70 to before 44567537a2623dcd2b4018a7f043cf8069579e5dAffected
  • b6ef9161e43ad58c3824bd76dc87716276f0cd70 to before 41826e5297e67cd96a0a46fde06a5069a8ce436aAffected
  • b6ef9161e43ad58c3824bd76dc87716276f0cd70 to before b3a3831b2eb884641906fc5e46207b205b6aea13Affected
  • b6ef9161e43ad58c3824bd76dc87716276f0cd70 to before 0405a65e4ebd9eac13a765f9f02ac05851ca5421Affected
  • b6ef9161e43ad58c3824bd76dc87716276f0cd70 to before 37738fdf2ab1e504d1c63ce5bc0aeb6452d8f057Affected
LinuxLinux
  • 3.12Affected
  • before 3.12Not affected
  • 5.10.260 through 5.10.*Not affected
  • 5.15.211 through 5.15.*Not affected
  • 6.1.177 through 6.1.*Not affected
  • 6.6.144 through 6.6.*Not affected
  • 6.12.95 through 6.12.*Not affected
  • 6.18.38 through 6.18.*Not affected
  • 7.1.3 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.