5.5

CVE-2026-63798

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

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()
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version >= 3.12 < 5.10.260
LinuxLinux Kernel Version >= 5.11 < 5.15.211
LinuxLinux Kernel Version >= 5.16 < 6.1.177
LinuxLinux Kernel Version >= 6.2 < 6.6.144
LinuxLinux Kernel Version >= 6.7 < 6.12.95
LinuxLinux Kernel Version >= 6.13 < 6.18.38
LinuxLinux Kernel Version >= 6.19 < 7.1.3
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.13% 0.027
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
NIST 5.5 1.8 3.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-401 Missing Release of Memory after Effective Lifetime

The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

https://git.kernel.org/stable/c/8176773dfceae7978b01c20b233693e072053700
Patch
https://git.kernel.org/stable/c/c2c7733101bb8c0b29ac9ee41073eaf602821a59
Patch
https://git.kernel.org/stable/c/83d7ec14b0938ad8cae008058fd6f912f4a9a312
Patch
https://git.kernel.org/stable/c/44567537a2623dcd2b4018a7f043cf8069579e5d
Patch
https://git.kernel.org/stable/c/41826e5297e67cd96a0a46fde06a5069a8ce436a
Patch
https://git.kernel.org/stable/c/b3a3831b2eb884641906fc5e46207b205b6aea13
Patch
https://git.kernel.org/stable/c/0405a65e4ebd9eac13a765f9f02ac05851ca5421
Patch
https://git.kernel.org/stable/c/37738fdf2ab1e504d1c63ce5bc0aeb6452d8f057
Patch