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 94EE538E8BA for ; Sun, 19 Jul 2026 14:07:40 +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=1784470061; cv=none; b=dAVIKNRcRpmngljf2i+CsWpvRTlZzQYMU9BTmG6bAfYbi3epGAR2T0Ma5+9LmtBlLYzFpqESemG1nFu89Zg5J3N/Wo2yAG8Z2GTxycyjalAo2y07svXNJRkDYFDmVB2rppTEucxy0p/QzejP4kB5cdHC7MgD3Kqeg5TekJTLDKA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784470061; c=relaxed/simple; bh=VCPNNakrPeGVsiN16trlRc0y0zLNdu3AWjiKXJTyh4I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WuDeTnzPMEvZF5THGAS+n8EBaiwmeH/m+UuITOaB31yjjmqur3Fva1bMc7rNWD6dOQ6G8T1VVL3V7P86PFVGlR6r6HmhtLfQI+Y7lP+y4jYVDXlI/sdXgUM6j2G8FZ3cMScPrKSA6hU6UfYeeqmFxVmQmuREsh1NNfXrmaLcWwg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=y7SraAMX; 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="y7SraAMX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E749F1F000E9; Sun, 19 Jul 2026 14:07:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784470060; bh=qGKjv4qeex6nBoPjhZvbwJEMRYu7CQStYtOMFOUQCdY=; h=From:To:Cc:Subject:Date:Reply-To; b=y7SraAMXCl3xF6jlPN6MlZs9GpsbXRW24qBb5gNSMfgPTynA+0K+ZtgaKw8Fy1sYX tHU2Y6jj4kpqmiPX7rQES0ih7I0vi7ugD1S6WS1R1NjbwYxWsVRLHhXYS/vSluoETf eO3rLR6Bo7Rv14v+xwqHJ2hrI6fifHSeWPTmbAn4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63862: PCI: mediatek-gen3: Prevent leaking IRQ domains when IRQ not found Date: Sun, 19 Jul 2026 16:03:52 +0200 Message-ID: <2026071934-CVE-2026-63862-533e@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=3127; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BY8Ue5duR6xfLfpqilsBpXj3E/z3rln9I1IpTsfMoi4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxN828y+7M3enwZevEeYI9Nfv4P3zfN63l+jvVOy8/Z wjFMdxb0xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATMV/KMIupI+6QWfv5gjhl QdHmuS0yV/nXX2GYZzqNx6Swn3FuncbO9pVaP2vK8xP+AQA= 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: PCI: mediatek-gen3: Prevent leaking IRQ domains when IRQ not found In mtk_pcie_setup_irq(), the IRQ domains are allocated before the controller's IRQ is fetched. If the latter fails, the function directly returns an error, without cleaning up the allocated domains. Hence, reverse the order so that the IRQ domains are allocated after the controller's IRQ is found. This was flagged by Sashiko during a review of "[PATCH v6 0/7] PCI: mediatek-gen3: add power control support". The Linux kernel CVE team has assigned CVE-2026-63862 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 814cceebba9b7d1306b8d49587ffb0e81f7b73af and fixed in 6.1.175 with commit abd3c1927d33766aef39c4640880e3d2637429c2 Issue introduced in 5.13 with commit 814cceebba9b7d1306b8d49587ffb0e81f7b73af and fixed in 6.6.141 with commit 07a5ecb94768cbf76fe659e9924000e9ced0c8a6 Issue introduced in 5.13 with commit 814cceebba9b7d1306b8d49587ffb0e81f7b73af and fixed in 6.12.91 with commit 946b31b5a699a2760ee52af0055e5ebf29c5f4cb Issue introduced in 5.13 with commit 814cceebba9b7d1306b8d49587ffb0e81f7b73af and fixed in 6.18.33 with commit 0a2d60edc3e57c9512e239ebdfd12204d3368560 Issue introduced in 5.13 with commit 814cceebba9b7d1306b8d49587ffb0e81f7b73af and fixed in 7.0.10 with commit 215d4273347b9010a9deae378b0df79c163f707d Issue introduced in 5.13 with commit 814cceebba9b7d1306b8d49587ffb0e81f7b73af and fixed in 7.1 with commit 5573c44cb3fd01a9f62d569ae9ac870ef5f0e0ba 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-63862 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/pci/controller/pcie-mediatek-gen3.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/abd3c1927d33766aef39c4640880e3d2637429c2 https://git.kernel.org/stable/c/07a5ecb94768cbf76fe659e9924000e9ced0c8a6 https://git.kernel.org/stable/c/946b31b5a699a2760ee52af0055e5ebf29c5f4cb https://git.kernel.org/stable/c/0a2d60edc3e57c9512e239ebdfd12204d3368560 https://git.kernel.org/stable/c/215d4273347b9010a9deae378b0df79c163f707d https://git.kernel.org/stable/c/5573c44cb3fd01a9f62d569ae9ac870ef5f0e0ba