{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-63798",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-07-19T07:54:57.012Z",
        "datePublished": "2026-07-19T12:02:05.783Z",
        "dateUpdated": "2026-08-17T04:51:03.369Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-17T04:51:03.369Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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()"
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/irqchip/irq-imgpdc.c"
                    ],
                    "versions": [
                        {
                            "version": "b6ef9161e43ad58c3824bd76dc87716276f0cd70",
                            "lessThan": "8176773dfceae7978b01c20b233693e072053700",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b6ef9161e43ad58c3824bd76dc87716276f0cd70",
                            "lessThan": "c2c7733101bb8c0b29ac9ee41073eaf602821a59",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b6ef9161e43ad58c3824bd76dc87716276f0cd70",
                            "lessThan": "83d7ec14b0938ad8cae008058fd6f912f4a9a312",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b6ef9161e43ad58c3824bd76dc87716276f0cd70",
                            "lessThan": "44567537a2623dcd2b4018a7f043cf8069579e5d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b6ef9161e43ad58c3824bd76dc87716276f0cd70",
                            "lessThan": "41826e5297e67cd96a0a46fde06a5069a8ce436a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b6ef9161e43ad58c3824bd76dc87716276f0cd70",
                            "lessThan": "b3a3831b2eb884641906fc5e46207b205b6aea13",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b6ef9161e43ad58c3824bd76dc87716276f0cd70",
                            "lessThan": "0405a65e4ebd9eac13a765f9f02ac05851ca5421",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b6ef9161e43ad58c3824bd76dc87716276f0cd70",
                            "lessThan": "37738fdf2ab1e504d1c63ce5bc0aeb6452d8f057",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/irqchip/irq-imgpdc.c"
                    ],
                    "versions": [
                        {
                            "version": "3.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.12",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.260",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.211",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.177",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.144",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.95",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.38",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.3",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.12",
                                    "versionEndExcluding": "5.10.260"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.12",
                                    "versionEndExcluding": "5.15.211"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.12",
                                    "versionEndExcluding": "6.1.177"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.12",
                                    "versionEndExcluding": "6.6.144"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.12",
                                    "versionEndExcluding": "6.12.95"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.12",
                                    "versionEndExcluding": "6.18.38"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.12",
                                    "versionEndExcluding": "7.1.3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.12",
                                    "versionEndExcluding": "7.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/8176773dfceae7978b01c20b233693e072053700"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c2c7733101bb8c0b29ac9ee41073eaf602821a59"
                },
                {
                    "url": "https://git.kernel.org/stable/c/83d7ec14b0938ad8cae008058fd6f912f4a9a312"
                },
                {
                    "url": "https://git.kernel.org/stable/c/44567537a2623dcd2b4018a7f043cf8069579e5d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/41826e5297e67cd96a0a46fde06a5069a8ce436a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b3a3831b2eb884641906fc5e46207b205b6aea13"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0405a65e4ebd9eac13a765f9f02ac05851ca5421"
                },
                {
                    "url": "https://git.kernel.org/stable/c/37738fdf2ab1e504d1c63ce5bc0aeb6452d8f057"
                }
            ],
            "title": "irqchip/imgpdc: Fix resource leak, add missing chained handler cleanup on remove",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}