Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8892478F4C for ; Sat, 28 Dec 2024 09:47:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735379222; cv=none; b=a9/KOAiRh+5B3vDWCJAvTgG6uuWRudvcglqPHgrOAxR2diJ1NOqGMKiPu9DEegX6HB8M2tovRPpkUF6L2IzBRCXYwxmMgaEAqRbjMoRiuK/IzHOeZxlVsBsaEcSURdlTBsTFRFaXySvKUb3ykkwAplUzrPOfVpDzhEdI12Ft8Uw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735379222; c=relaxed/simple; bh=xiBpyOC1drnG5FU8atCfdNwsTpgbYBEPEIHYIp8G/J8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aiAJ/ZI0iDTpK163oMs4XDYQIo8kiapAkd/bJIxkASOi6fqNf31gpxfzny3OZI8WMTLNCmgxeyx9VKRtNNcblRh8etfmCgDRyU9wVHOHOBy/pCnWWQRo13eyf8rpBsqcW3ZB7E9vQeMgu78E1O5D235UE/eVG2tvbobfV0xksgw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bQZUG6qN; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="bQZUG6qN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9C49C4CECD; Sat, 28 Dec 2024 09:47:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735379222; bh=xiBpyOC1drnG5FU8atCfdNwsTpgbYBEPEIHYIp8G/J8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=bQZUG6qNMvH5zttaZX+aHp3BCUaIEmX41aXtCNq15O2O1FlH0FuI2R4VBIM62XdrU P0eroF+1USrRyBNepNXSbKckL6XpRVJTL2+CJxEJFpC0OhCmHUo532use4R5N7Jgis KOWNSOiebjCrcYjR1k2NqSAmEh41qXIZD41stjzk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56691: mfd: intel_soc_pmic_bxtwc: Use IRQ domain for USB Type-C device Date: Sat, 28 Dec 2024 10:45:43 +0100 Message-ID: <2024122834-CVE-2024-56691-c981@gregkh> X-Mailer: git-send-email 2.47.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=3599; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xiBpyOC1drnG5FU8atCfdNwsTpgbYBEPEIHYIp8G/J8=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn5J/b77/ug/eZylbZO8dbi2z2rP78xb1s3WXH9SU8Vl 7cuJ0TDOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi/zYxLFjz/dwF7m1/8pJb zq7qfNqT7barOIRhDm/Sgyv+5RHemRPEb0jtbCzemLPsDQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: mfd: intel_soc_pmic_bxtwc: Use IRQ domain for USB Type-C device While design wise the idea of converting the driver to use the hierarchy of the IRQ chips is correct, the implementation has (inherited) flaws. This was unveiled when platform_get_irq() had started WARN() on IRQ 0 that is supposed to be a Linux IRQ number (also known as vIRQ). Rework the driver to respect IRQ domain when creating each MFD device separately, as the domain is not the same for all of them. The Linux kernel CVE team has assigned CVE-2024-56691 to this issue. Affected and fixed versions =========================== Issue introduced in 4.9 with commit 9c6235c8633210cc2da0882e2e9d6ff90aa37503 and fixed in 5.4.287 with commit 0997e77c51330c2866a4f39480e762cca92ad953 Issue introduced in 4.9 with commit 9c6235c8633210cc2da0882e2e9d6ff90aa37503 and fixed in 5.10.231 with commit 0b648968bfa4f5c9c4983bca9f2de17626ed6fb6 Issue introduced in 4.9 with commit 9c6235c8633210cc2da0882e2e9d6ff90aa37503 and fixed in 5.15.174 with commit 23230ac3c5ca3f154b64849d1cf50583b4e6b98c Issue introduced in 4.9 with commit 9c6235c8633210cc2da0882e2e9d6ff90aa37503 and fixed in 6.1.120 with commit c310e6916c0b297011d0fec03f168a6b24e9e984 Issue introduced in 4.9 with commit 9c6235c8633210cc2da0882e2e9d6ff90aa37503 and fixed in 6.6.64 with commit e1ef62e8d262e3f27446d26742208c1c81e9ee18 Issue introduced in 4.9 with commit 9c6235c8633210cc2da0882e2e9d6ff90aa37503 and fixed in 6.11.11 with commit 518e414d24e7037d6cc7198e942bf47fe6f5e8e1 Issue introduced in 4.9 with commit 9c6235c8633210cc2da0882e2e9d6ff90aa37503 and fixed in 6.12.2 with commit 87a07a5b0b296e489c606ca95ffc16c18821975b Issue introduced in 4.9 with commit 9c6235c8633210cc2da0882e2e9d6ff90aa37503 and fixed in 6.13-rc1 with commit 686fb77712a4bc94b76a0c5ae74c60118b7a0d79 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-2024-56691 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/mfd/intel_soc_pmic_bxtwc.c drivers/usb/typec/tcpm/wcove.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/0997e77c51330c2866a4f39480e762cca92ad953 https://git.kernel.org/stable/c/0b648968bfa4f5c9c4983bca9f2de17626ed6fb6 https://git.kernel.org/stable/c/23230ac3c5ca3f154b64849d1cf50583b4e6b98c https://git.kernel.org/stable/c/c310e6916c0b297011d0fec03f168a6b24e9e984 https://git.kernel.org/stable/c/e1ef62e8d262e3f27446d26742208c1c81e9ee18 https://git.kernel.org/stable/c/518e414d24e7037d6cc7198e942bf47fe6f5e8e1 https://git.kernel.org/stable/c/87a07a5b0b296e489c606ca95ffc16c18821975b https://git.kernel.org/stable/c/686fb77712a4bc94b76a0c5ae74c60118b7a0d79