From mboxrd@z Thu Jan 1 00:00:00 1970 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 09F2D32E729 for ; Sat, 25 Jul 2026 09:00:19 +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=1784970022; cv=none; b=cIhpB3x8bj3xz2APiiXs5OgVemCi0hZvEpNT6ioAzNli0fIfO8+flZctQtptQDrPv4rBHls0v1OA+JROwkaLjsLP3ELZT/2ndR0QuiI1FNctanmurT4AHMWzPc6h4VNSAJWS4jzDpj1x/TW8SQ/8/Kfa+pc21aozPCSGzzuqnec= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784970022; c=relaxed/simple; bh=x7XgmJZHXGdh5Rk0ZmJcmCYsy7t4Uqisw2QEGtKqGac=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=n6dwicNDa020zD4Nte58HUmSsNuNAy1g/UiKRVaYCEatojmaYgtOlv8Q3WKIHKq0MqEn+gOVXq9AImBWFZAQRT8jE15JyMs1v3jqdeAjTThDaUXlht1M7i0Jkx0+v3+ODMxqKd4MdGnp0RmE4wpF78vwV4zJoqbmLne5jztq8LM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dYnhePn4; 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="dYnhePn4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 754E01F00A3A; Sat, 25 Jul 2026 09:00:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784970019; bh=cPlaryFcZsgL19zW9MQgsEyhEsfzrilgulrmODqgwMw=; h=From:To:Cc:Subject:Date:Reply-To; b=dYnhePn45vvLkndw8XkqvQAZqCqfevxJVYVgNGpnt49cUvrehHPnzgPrKiPnlVfMU m8QKquiqKXDaZ5XgfoPSJibkn8bMWROlCMFdH3uIAESfEmsPNs7cgw6kJ5C1EU4lXR 6OPJ8brUpgKqqMmEwuXsaDRtLsKxkNNSGpieMq9w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64462: PCI: altera: Fix resource leaks on probe failure Date: Sat, 25 Jul 2026 10:51:19 +0200 Message-ID: <2026072543-CVE-2026-64462-85ea@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=3861; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7TP/48WICOBZkZckG4A6nnefRyGnt2a9kPRc/nDke2g=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFdmX5BfId2bXfZ5ZuirxYNoEznmvEj9x/vgj0XKhc QJ7StyejlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIsdkMs9kX/d32tnR6d/2D pQ1Sy+yZfXpjnzAsaF10TpLPtrhMXeniiuQZpjO5eE8uBgA= 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: altera: Fix resource leaks on probe failure The chained IRQ handler is set during probe, but is only removed during the driver remove(). If pci_host_probe() fails, the handler and INTx IRQ domain remain set even though the devm-managed host bridge storage containing struct altera_pcie will be released, leaving the handler with a stale data pointer. Interrupts are also enabled before pci_host_probe() is called. If probe fails after that point, the controller interrupt source should be disabled before the chained handler and INTx domain are removed. So set the chained handler only after the INTx domain has been created. Disable controller interrupts during IRQ teardown, and tear the IRQ setup down if pci_host_probe() fails. [mani: commit log] The Linux kernel CVE team has assigned CVE-2026-64462 to this issue. Affected and fixed versions =========================== Issue introduced in 5.9 with commit c63aed7334c21de8d626ff028ccad98cf5847a0e and fixed in 5.10.261 with commit af7cf5d56d7d57c4fbfdb7b5b693790f331b07b7 Issue introduced in 5.9 with commit c63aed7334c21de8d626ff028ccad98cf5847a0e and fixed in 5.15.212 with commit 9cf0cc481e1645ec65e61486ae41c486c59781cb Issue introduced in 5.9 with commit c63aed7334c21de8d626ff028ccad98cf5847a0e and fixed in 6.1.178 with commit 99fc088d6cc6890ae35fa2f29c50ebe027844c20 Issue introduced in 5.9 with commit c63aed7334c21de8d626ff028ccad98cf5847a0e and fixed in 6.6.145 with commit a25bfa2a6665a1d77324d4a609e7513b87680227 Issue introduced in 5.9 with commit c63aed7334c21de8d626ff028ccad98cf5847a0e and fixed in 6.12.97 with commit 0db9aa9ec51be0a0ffdcdfd9af2b7bf3aeb7911a Issue introduced in 5.9 with commit c63aed7334c21de8d626ff028ccad98cf5847a0e and fixed in 6.18.39 with commit 09c43b7b7d29c6fadb27f32cdf7f3bb6598befa9 Issue introduced in 5.9 with commit c63aed7334c21de8d626ff028ccad98cf5847a0e and fixed in 7.1.4 with commit 6864c789b570e57f932847fa83f6b56917182d73 Issue introduced in 5.9 with commit c63aed7334c21de8d626ff028ccad98cf5847a0e and fixed in 7.2-rc1 with commit 7a94138caeb27f3c49c1dbd93bf422098925bb28 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-64462 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-altera.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/af7cf5d56d7d57c4fbfdb7b5b693790f331b07b7 https://git.kernel.org/stable/c/9cf0cc481e1645ec65e61486ae41c486c59781cb https://git.kernel.org/stable/c/99fc088d6cc6890ae35fa2f29c50ebe027844c20 https://git.kernel.org/stable/c/a25bfa2a6665a1d77324d4a609e7513b87680227 https://git.kernel.org/stable/c/0db9aa9ec51be0a0ffdcdfd9af2b7bf3aeb7911a https://git.kernel.org/stable/c/09c43b7b7d29c6fadb27f32cdf7f3bb6598befa9 https://git.kernel.org/stable/c/6864c789b570e57f932847fa83f6b56917182d73 https://git.kernel.org/stable/c/7a94138caeb27f3c49c1dbd93bf422098925bb28