{"id":"CVE-2026-63798","aliases":["CVE-2026-63798"],"related":[],"kind":"vulnerability","state":"published","title":"irqchip/imgpdc: Fix resource leak, add missing chained handler cleanup on remove","summary":"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->flags, 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()","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->flags, 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()","source":"cvelist"}],"published":"2026-07-19T12:02:05.783Z","modified":"2026-08-17T05:17:16.123Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"b6ef9161e43ad58c3824bd76dc87716276f0cd70","fixed":"8176773dfceae7978b01c20b233693e072053700","status":"affected"},{"type":"git","introduced":"b6ef9161e43ad58c3824bd76dc87716276f0cd70","fixed":"c2c7733101bb8c0b29ac9ee41073eaf602821a59","status":"affected"},{"type":"git","introduced":"b6ef9161e43ad58c3824bd76dc87716276f0cd70","fixed":"83d7ec14b0938ad8cae008058fd6f912f4a9a312","status":"affected"},{"type":"git","introduced":"b6ef9161e43ad58c3824bd76dc87716276f0cd70","fixed":"44567537a2623dcd2b4018a7f043cf8069579e5d","status":"affected"},{"type":"git","introduced":"b6ef9161e43ad58c3824bd76dc87716276f0cd70","fixed":"41826e5297e67cd96a0a46fde06a5069a8ce436a","status":"affected"},{"type":"git","introduced":"b6ef9161e43ad58c3824bd76dc87716276f0cd70","fixed":"b3a3831b2eb884641906fc5e46207b205b6aea13","status":"affected"},{"type":"git","introduced":"b6ef9161e43ad58c3824bd76dc87716276f0cd70","fixed":"0405a65e4ebd9eac13a765f9f02ac05851ca5421","status":"affected"},{"type":"git","introduced":"b6ef9161e43ad58c3824bd76dc87716276f0cd70","fixed":"37738fdf2ab1e504d1c63ce5bc0aeb6452d8f057","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.12","status":"unaffected"},{"type":"semver","introduced":"5.10.260","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.211","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.177","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.144","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.95","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.38","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.3","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.12","fixed":"5.10.260"},{"status":"affected","introduced":"5.11","fixed":"5.15.211"},{"status":"affected","introduced":"5.16","fixed":"6.1.177"},{"status":"affected","introduced":"6.2","fixed":"6.6.144"},{"status":"affected","introduced":"6.7","fixed":"6.12.95"},{"status":"affected","introduced":"6.13","fixed":"6.18.38"},{"status":"affected","introduced":"6.19","fixed":"7.1.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8176773dfceae7978b01c20b233693e072053700","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c2c7733101bb8c0b29ac9ee41073eaf602821a59","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/83d7ec14b0938ad8cae008058fd6f912f4a9a312","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/44567537a2623dcd2b4018a7f043cf8069579e5d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/41826e5297e67cd96a0a46fde06a5069a8ce436a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b3a3831b2eb884641906fc5e46207b205b6aea13","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0405a65e4ebd9eac13a765f9f02ac05851ca5421","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/37738fdf2ab1e504d1c63ce5bc0aeb6452d8f057","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63798","url":"https://www.cve.org/CVERecord?id=CVE-2026-63798","licence":"CVE Terms of Use","modified":"2026-08-17T04:51:03.369Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63798","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63798","licence":"Public domain","modified":"2026-08-17T05:17:16.123Z"}],"updatedAt":"2026-11-25T22:59:28.712Z","epss":{"score":0.00126,"percentile":0.02491,"date":"2026-12-01T12:00:22.000Z"}}