CVE-2026-63798 irqchip/imgpdc: Fix resource leak, add missing chained handler cleanup on remove
A resource leak in the Linux kernel imgpdc driver causes use-after-free errors on removal, leading to kernel crashes and denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-63798?
CVE-2026-63798 is a medium-severity use after free vulnerability in Linux kernel, published on 19 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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()
Weakness: CWE-401
Which versions are affected by CVE-2026-63798?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-63798?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-63798 being exploited?
There is no known exploitation of CVE-2026-63798 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-63798, DEBIAN-CVE-2026-63798, GHSA-2332-q5fp-53mf, ROOT-OS-DEBIAN-11-CVE-2026-63798, ROOT-OS-UBUNTU-2204-CVE-2026-63798, UBUNTU-CVE-2026-63798.