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 1A0CABA53 for ; Sun, 29 Dec 2024 11:31:17 +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=1735471877; cv=none; b=H8qeqarshGCqSBoTNsdf8dhXR2bkmCSp8vKOSww8/k4Ymv3pzJn3jc7OkjWF67LppJ9fqLWJm5pFYiqEjeawU0fRdDbTm5smONmBIeC1w7SfE6tGVnwps4q0LlxiGujWIjPSP9MvLm7S2Dt2yTYsKS3kZdh7jll65iK6aTFeckM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735471877; c=relaxed/simple; bh=1RfnMtAuNkJ6LnkVcaGHUwkiAhk0RuJjfbOigFlTy1s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MF9u5ciU5N+I2ZPlqomScGIuiJus+3/SGq45Jy1yQeSgEUUJPy+ds0JXrqesTSH+F5sJdM+yPu/tKAiS/hM/C9ivjc+RPMxl5F6lLpbw0b8cdfF+jwf2OHMGiCpz6XZRETT8/y886F6itYF0SyUIsCbp0ZZv9JniKbbjpibrp9w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iR4Kx9pp; 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="iR4Kx9pp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 959B6C4CED1; Sun, 29 Dec 2024 11:31:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735471877; bh=1RfnMtAuNkJ6LnkVcaGHUwkiAhk0RuJjfbOigFlTy1s=; h=From:To:Cc:Subject:Date:Reply-to:From; b=iR4Kx9ppy/UkC73NErdof97I4ue+MKqS7nnpi1Hw8y17as0mxC3NfXT0VKaE2yXou hQU2K8ZEG4SfF0eS2tBlYnnZdPWKYhbmnOZt5l0UvZycOjDdV4UcqThZYo3LrdAvt5 wGZbboimTCfrtL9lUkRH2cQxWO6qInWBOraL5u90= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56723: mfd: intel_soc_pmic_bxtwc: Use IRQ domain for PMIC devices Date: Sun, 29 Dec 2024 12:29:24 +0100 Message-ID: <2024122923-CVE-2024-56723-f74b@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=3569; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1RfnMtAuNkJ6LnkVcaGHUwkiAhk0RuJjfbOigFlTy1s=; b=owGbwMvMwCRo6H6F97bub03G02pJDOmFRpObvs5evFz4rlxmslqeseYfv+UtvKzfgvwZTTazf 8k6PyGuI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACby/QDDgpPZ3xbeK3p+NG3X i5k/3H+6L+NIsWBYsMmg4kHv9qyYP08VTuivvZoVys9VCgA= 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 PMIC devices 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-56723 to this issue. Affected and fixed versions =========================== Issue introduced in 4.13 with commit 57129044f5044dcd73c22d91491906104bd331fd and fixed in 5.4.287 with commit 6ea17c03edc7ed0aabb1431eb26e2f94849af68a Issue introduced in 4.13 with commit 57129044f5044dcd73c22d91491906104bd331fd and fixed in 5.10.231 with commit 61d590d7076b50b6ebdea1f3b83bb041c01fc482 Issue introduced in 4.13 with commit 57129044f5044dcd73c22d91491906104bd331fd and fixed in 5.15.174 with commit bb6642d4b3136359b5b620049f76515876e6127e Issue introduced in 4.13 with commit 57129044f5044dcd73c22d91491906104bd331fd and fixed in 6.1.120 with commit 7ba45b8bc62e64da524d45532107ae93eb33c93c Issue introduced in 4.13 with commit 57129044f5044dcd73c22d91491906104bd331fd and fixed in 6.6.64 with commit d4cc78bd6a25accb7ae2ac9fc445d1e1deda4a62 Issue introduced in 4.13 with commit 57129044f5044dcd73c22d91491906104bd331fd and fixed in 6.11.11 with commit 897713c9d24f6ec394585abfcf259a6e5cad22c8 Issue introduced in 4.13 with commit 57129044f5044dcd73c22d91491906104bd331fd and fixed in 6.12.2 with commit b3d45c19bcffb9a9a821df759f60be39d88c19f4 Issue introduced in 4.13 with commit 57129044f5044dcd73c22d91491906104bd331fd and fixed in 6.13-rc1 with commit 0350d783ab888cb1cb48ced36cc28b372723f1a4 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-56723 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 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/6ea17c03edc7ed0aabb1431eb26e2f94849af68a https://git.kernel.org/stable/c/61d590d7076b50b6ebdea1f3b83bb041c01fc482 https://git.kernel.org/stable/c/bb6642d4b3136359b5b620049f76515876e6127e https://git.kernel.org/stable/c/7ba45b8bc62e64da524d45532107ae93eb33c93c https://git.kernel.org/stable/c/d4cc78bd6a25accb7ae2ac9fc445d1e1deda4a62 https://git.kernel.org/stable/c/897713c9d24f6ec394585abfcf259a6e5cad22c8 https://git.kernel.org/stable/c/b3d45c19bcffb9a9a821df759f60be39d88c19f4 https://git.kernel.org/stable/c/0350d783ab888cb1cb48ced36cc28b372723f1a4