Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41100390231 for ; Sun, 19 Jul 2026 12:02:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784462577; cv=none; b=m+zcXNxZplmTfHXWuoP4t58RJD8iUBoPgF7zDwt0+uicRSd7uzTBXVIYrlOns3PSe414xYK7JU+GE9fOzDhpuzONjRZ2sgNpScF1UbKPKSWKwKGyK5HNgvD1oVRFc2K5L4ogetOBDgB3VSjsdb/8PY8QscDDxUcvTAzro2C2g8U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784462577; c=relaxed/simple; bh=UiR8hkFjy0H9CT+raFhjTJeaiuujBU0dIEr+cFGB3D8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mGI8CFauMhNxqDdfy94nN5xt0NLidM3FLMxKYMEOgY2+Z3VXCK34/9LjIbqccqVBazDEAk4mzxXUX1vUDurAVYl9NqtHzcI7vDtdunj+WwlGKaNIy4uYXGvAvKBGqcCtwKKndhygpXFZBgj1ceTEmhm32Sh/+VyPYMGtDiZXc84= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kV4as7UA; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="kV4as7UA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A661F1F000E9; Sun, 19 Jul 2026 12:02:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784462576; bh=Aw5TcnW8j8sNAf2IxzJPC3Bb0qhzS5PbGwkYUiBvPZQ=; h=From:To:Cc:Subject:Date:Reply-To; b=kV4as7UAdOOY91jyATKv2lrHDx1VWCotspoHDNqhJvyctaQIbBVURCGmkV7TtYHGj YMXkSj2YpplnLvZI965rurT7K9V9xLtxfftJpeblFyRAKvH1FUfDh7vQIfvHPhSFbE v5Z4FSQ1e9j4JbP3lH0YmSv2bY2oNNvY7Im3ZUz8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63798: irqchip/imgpdc: Fix resource leak, add missing chained handler cleanup on remove Date: Sun, 19 Jul 2026 14:02:15 +0200 Message-ID: <2026071900-CVE-2026-63798-458a@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4113; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7reU6yUvwzdTvhJ6qmE9BZTQ1KQuhBukp4gfoKTyfMM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxe3bMvfgm67ST3/KsV4Uh3SU8z/XLTotETFPdOFcoL uWQsPTajlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIgj7Dgqu3upacdGR8f9xr Rvfpkzc4m9+wJzEsOPLuM+cb5dkKUzVfn6n8tFnS7OT5LgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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() The Linux kernel CVE team has assigned CVE-2026-63798 to this issue. Affected and fixed versions =========================== Issue introduced in 3.12 with commit b6ef9161e43ad58c3824bd76dc87716276f0cd70 and fixed in 5.10.260 with commit 8176773dfceae7978b01c20b233693e072053700 Issue introduced in 3.12 with commit b6ef9161e43ad58c3824bd76dc87716276f0cd70 and fixed in 5.15.211 with commit c2c7733101bb8c0b29ac9ee41073eaf602821a59 Issue introduced in 3.12 with commit b6ef9161e43ad58c3824bd76dc87716276f0cd70 and fixed in 6.1.177 with commit 83d7ec14b0938ad8cae008058fd6f912f4a9a312 Issue introduced in 3.12 with commit b6ef9161e43ad58c3824bd76dc87716276f0cd70 and fixed in 6.6.144 with commit 44567537a2623dcd2b4018a7f043cf8069579e5d Issue introduced in 3.12 with commit b6ef9161e43ad58c3824bd76dc87716276f0cd70 and fixed in 6.12.95 with commit 41826e5297e67cd96a0a46fde06a5069a8ce436a Issue introduced in 3.12 with commit b6ef9161e43ad58c3824bd76dc87716276f0cd70 and fixed in 6.18.38 with commit b3a3831b2eb884641906fc5e46207b205b6aea13 Issue introduced in 3.12 with commit b6ef9161e43ad58c3824bd76dc87716276f0cd70 and fixed in 7.1.3 with commit 0405a65e4ebd9eac13a765f9f02ac05851ca5421 Issue introduced in 3.12 with commit b6ef9161e43ad58c3824bd76dc87716276f0cd70 and fixed in 7.2-rc1 with commit 37738fdf2ab1e504d1c63ce5bc0aeb6452d8f057 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-63798 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/irqchip/irq-imgpdc.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/8176773dfceae7978b01c20b233693e072053700 https://git.kernel.org/stable/c/c2c7733101bb8c0b29ac9ee41073eaf602821a59 https://git.kernel.org/stable/c/83d7ec14b0938ad8cae008058fd6f912f4a9a312 https://git.kernel.org/stable/c/44567537a2623dcd2b4018a7f043cf8069579e5d https://git.kernel.org/stable/c/41826e5297e67cd96a0a46fde06a5069a8ce436a https://git.kernel.org/stable/c/b3a3831b2eb884641906fc5e46207b205b6aea13 https://git.kernel.org/stable/c/0405a65e4ebd9eac13a765f9f02ac05851ca5421 https://git.kernel.org/stable/c/37738fdf2ab1e504d1c63ce5bc0aeb6452d8f057