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 78F5E145B25 for ; Thu, 27 Feb 2025 02:13:07 +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=1740622387; cv=none; b=F0sdXeHYZ/2iKfIroK3x/6wkpNRwcAbOAp4cAByMnIADESfvzURBxw6tfr9r5pnRK6X1ZBtu/mgUzE1WnEIwS8TrcID16/SxL0mGCbFMr/FF5rjGKMOFd4OrIjWQ5bOJJY3LpEbMwB1CbpZkBvzCTuvd0Wg3JZqBHAGDAH64zxE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740622387; c=relaxed/simple; bh=iMOo+qi6WNjnZBE2JoGQONyhfvhLjlw8FPPJx1dZVl0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LkDTtXSR28q+jq9GCmxJ194E88dS2vtXvF5Koyq1jnd2qIMA3CCbHiy9YP4F31JbtC5ukYqm/Fpkv/v7pckSG+7SWzSkUVGwv3wXLJQHZeWOKB4t/ld4rfRrIGtOTxNQPiwx0xVYOqaot1xlZi22PK9oBd2dJaH+FXvVYvs1/X0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jTNNM7QR; 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="jTNNM7QR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D657BC4CEE2; Thu, 27 Feb 2025 02:13:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740622386; bh=iMOo+qi6WNjnZBE2JoGQONyhfvhLjlw8FPPJx1dZVl0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=jTNNM7QRJxCfaCEygSZVXc+VtC45Ok5TthK8kxGHZsiLzoXqRDT1KmjPZJTXjLogi NgXGVNoSQBhv8/GyoafONv56ssfKSsDOHARb9DadhGSLZLCxZdXt/lEnQoqSERNB1S TqXIsFjNH/mG4+EzPxEFt7F6lmpc5Rcxv/KmCFYg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-58011: platform/x86: int3472: Check for adev == NULL Date: Wed, 26 Feb 2025 18:11:05 -0800 Message-ID: <2025022656-CVE-2024-58011-5ed8@gregkh> X-Mailer: git-send-email 2.48.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=2454; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iMOo+qi6WNjnZBE2JoGQONyhfvhLjlw8FPPJx1dZVl0=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7T244xPJ1TWwK20+Jpof7li8syt57fNcMhX1JE9nbo z7k+y4q7YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJzD/IMN/Pg4F/Q+Fjs7QT R914V4gq3XY/+41hnpWK6fvTpd+XnFv8bpJZHh/fmxOfPwAA 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: platform/x86: int3472: Check for adev == NULL Not all devices have an ACPI companion fwnode, so adev might be NULL. This can e.g. (theoretically) happen when a user manually binds one of the int3472 drivers to another i2c/platform device through sysfs. Add a check for adev not being set and return -ENODEV in that case to avoid a possible NULL pointer deref in skl_int3472_get_acpi_buffer(). The Linux kernel CVE team has assigned CVE-2024-58011 to this issue. Affected and fixed versions =========================== Fixed in 6.1.129 with commit 4f8b210823cc2d1f9d967f089a6c00d025bb237f Fixed in 6.6.78 with commit f9c7cc44758f4930b41285a6d54afa8cbd9762b4 Fixed in 6.12.14 with commit 0a30353beca2693d30bde477024d755ffecea514 Fixed in 6.13.3 with commit a808ecf878ad646ebc9c83d9fc4ce72fd9c49d3d Fixed in 6.14-rc1 with commit cd2fd6eab480dfc247b737cf7a3d6b009c4d0f1c 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-58011 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/platform/x86/intel/int3472/discrete.c drivers/platform/x86/intel/int3472/tps68470.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/4f8b210823cc2d1f9d967f089a6c00d025bb237f https://git.kernel.org/stable/c/f9c7cc44758f4930b41285a6d54afa8cbd9762b4 https://git.kernel.org/stable/c/0a30353beca2693d30bde477024d755ffecea514 https://git.kernel.org/stable/c/a808ecf878ad646ebc9c83d9fc4ce72fd9c49d3d https://git.kernel.org/stable/c/cd2fd6eab480dfc247b737cf7a3d6b009c4d0f1c