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 6AF6278F2D for ; Sun, 29 Dec 2024 11:31:20 +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=1735471880; cv=none; b=M2yEDVcMghj8g3PgHxOVGQWo6hyyAA/3lWqSinD64OzaBt7EavyYZdITqgg8ZaP8sSZeuQQuHSPk0TfBl2hanBE83Rg+7CjJly+/jsM2bCmr8pIRxl/so4bhrAHPybjlIic8VJxw8CW5KOGe+oANh0+Vu20hGs2Uyjel866C9fs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735471880; c=relaxed/simple; bh=/sASo5VqbbZYYq1TBkdocELalajOKV6ElQMBCFTU8bQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CziARgJKjVv4czPTYkObMJ9hak0iGMw4+oTNd0EsfDv7Si8L7LihWCZ79wk+R8Cwuly2EQKJTp2s/gkijVeImYmATGNtEH3LPCrZiBMSUgkBfrYW0BtrTVBhAZ10a4/4rLNGOA/45iT6H3bE7M4CTByKMrhf+EdXqe3ovA8qO8Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OcoDpTaC; 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="OcoDpTaC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9F52C4CED1; Sun, 29 Dec 2024 11:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735471880; bh=/sASo5VqbbZYYq1TBkdocELalajOKV6ElQMBCFTU8bQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=OcoDpTaCSNJKKpLr9kmHxzV+HcgaZ6qRh6Z0Va0nt9UregrNl0GPpU+YSrrPgNZ5R 4qjJcXHrW9hKM5ojciBpOT6LAcMiMbg3j+n4makkci4SwI/AziXIuXuu3XIlLZWTVw ww21wldCwIXaoCQxryFA1HmihdHgf640DHr2XKr0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56724: mfd: intel_soc_pmic_bxtwc: Use IRQ domain for TMU device Date: Sun, 29 Dec 2024 12:29:25 +0100 Message-ID: <2024122923-CVE-2024-56724-a800@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=3608; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/sASo5VqbbZYYq1TBkdocELalajOKV6ElQMBCFTU8bQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDOmFRpPneqQJMz9vOP3R2//ko5s7c7x/flldlaOzVNx04 mVZwVy/jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI/UWGBWsl7CdlXF74q07/ 3t/Ot7rXyl/tV2VYMN/i+8qgGZHejcXlUYXVc3/5uYsoAQA= 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 TMU 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-56724 to this issue. Affected and fixed versions =========================== Issue introduced in 4.10 with commit 957ae5098185e763b5c06be6c3b4b6e98c048712 and fixed in 5.4.287 with commit b7c7c400de85d915e0da7c2c363553a801c47349 Issue introduced in 4.10 with commit 957ae5098185e763b5c06be6c3b4b6e98c048712 and fixed in 5.10.231 with commit c472b55cc0bc3df805db6a14f50a084884cf18ee Issue introduced in 4.10 with commit 957ae5098185e763b5c06be6c3b4b6e98c048712 and fixed in 5.15.174 with commit da498e02c92e6d82df8001438dd583b90c570815 Issue introduced in 4.10 with commit 957ae5098185e763b5c06be6c3b4b6e98c048712 and fixed in 6.1.120 with commit 56acf415772ee7e10e448b371f52b249aa2d0f7b Issue introduced in 4.10 with commit 957ae5098185e763b5c06be6c3b4b6e98c048712 and fixed in 6.6.64 with commit 1b734ad0e33648c3988c6a37c2ac16c2d63eda06 Issue introduced in 4.10 with commit 957ae5098185e763b5c06be6c3b4b6e98c048712 and fixed in 6.11.11 with commit 2310f5336f32eac9ada2d59b965d578efe25c4bf Issue introduced in 4.10 with commit 957ae5098185e763b5c06be6c3b4b6e98c048712 and fixed in 6.12.2 with commit 5bc6d0da4a32fe34a9960de577e0b7de3454de0c Issue introduced in 4.10 with commit 957ae5098185e763b5c06be6c3b4b6e98c048712 and fixed in 6.13-rc1 with commit 9b79d59e6b2b515eb9a22bc469ef7b8f0904fc73 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-56724 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/platform/x86/intel/bxtwc_tmu.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/b7c7c400de85d915e0da7c2c363553a801c47349 https://git.kernel.org/stable/c/c472b55cc0bc3df805db6a14f50a084884cf18ee https://git.kernel.org/stable/c/da498e02c92e6d82df8001438dd583b90c570815 https://git.kernel.org/stable/c/56acf415772ee7e10e448b371f52b249aa2d0f7b https://git.kernel.org/stable/c/1b734ad0e33648c3988c6a37c2ac16c2d63eda06 https://git.kernel.org/stable/c/2310f5336f32eac9ada2d59b965d578efe25c4bf https://git.kernel.org/stable/c/5bc6d0da4a32fe34a9960de577e0b7de3454de0c https://git.kernel.org/stable/c/9b79d59e6b2b515eb9a22bc469ef7b8f0904fc73