{"id":"CVE-2026-63798","summary":"irqchip/imgpdc: Fix resource leak, add missing chained handler cleanup on remove","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nirqchip/imgpdc: Fix resource leak, add missing chained handler cleanup on remove\n\nThe driver allocates domain generic chips using\nirq_alloc_domain_generic_chips() during probe and sets up chained\nhandlers using irq_set_chained_handler_and_data(). However, on driver\nremoval, the generic chips are not freed and the chained handlers are\nnot removed.\n\nThe generic chips remain on the global gc_list and may later be accessed by\ngeneric interrupt chip suspend, resume, or shutdown callbacks after the\ndriver has been removed, potentially resulting in a use-after-free and\nkernel crash.\n\nThe chained handlers that were installed in probe for peripheral and\nsyswake interrupts are also left dangling, which can lead to spurious\ninterrupts accessing freed memory.\n\nFix these issues by:\n\n  - Setting IRQ_DOMAIN_FLAG_DESTROY_GC flag in domain-\u003eflags, so the\n    core code automatically removes generic chips when irq_domain_remove()\n    is called\n\n  - Clearing all chained handlers with NULL in pdc_intc_remove()","modified":"2026-07-21T03:47:25.321581138Z","published":"2026-07-19T12:02:05.783Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63798.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0405a65e4ebd9eac13a765f9f02ac05851ca5421"},{"type":"WEB","url":"https://git.kernel.org/stable/c/37738fdf2ab1e504d1c63ce5bc0aeb6452d8f057"},{"type":"WEB","url":"https://git.kernel.org/stable/c/41826e5297e67cd96a0a46fde06a5069a8ce436a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/44567537a2623dcd2b4018a7f043cf8069579e5d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8176773dfceae7978b01c20b233693e072053700"},{"type":"WEB","url":"https://git.kernel.org/stable/c/83d7ec14b0938ad8cae008058fd6f912f4a9a312"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b3a3831b2eb884641906fc5e46207b205b6aea13"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2c7733101bb8c0b29ac9ee41073eaf602821a59"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63798.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63798"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b6ef9161e43ad58c3824bd76dc87716276f0cd70"},{"fixed":"8176773dfceae7978b01c20b233693e072053700"},{"fixed":"c2c7733101bb8c0b29ac9ee41073eaf602821a59"},{"fixed":"83d7ec14b0938ad8cae008058fd6f912f4a9a312"},{"fixed":"44567537a2623dcd2b4018a7f043cf8069579e5d"},{"fixed":"41826e5297e67cd96a0a46fde06a5069a8ce436a"},{"fixed":"b3a3831b2eb884641906fc5e46207b205b6aea13"},{"fixed":"0405a65e4ebd9eac13a765f9f02ac05851ca5421"},{"fixed":"37738fdf2ab1e504d1c63ce5bc0aeb6452d8f057"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63798.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.12.0"},{"fixed":"5.10.260"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.211"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.177"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.144"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.95"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.38"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63798.json"}}],"schema_version":"1.7.5"}