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 51E65185939 for ; Wed, 8 Jan 2025 17:52:13 +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=1736358734; cv=none; b=VriW8zJZ3wt7p/Zn1JZX++eTI9f2MmlFgEwdybWSXw1TRjN/ygCDJrxuzdBjphH5bUBT/FutDBtbnQOahcvbWjBh5oRCKT6zRiYqE8U3wTuN+pJ5PWbLDUlHaKmq1y2h7DyJLMExUxqEeP4Dr7zKOnlTfJQ6vllI0Wpf/K0n048= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736358734; c=relaxed/simple; bh=rhvWDKqGJjLxhACZcEzuEu09LnRZuUHcVIgpOsvQv+A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HhX6+MByL+CLvMfvMtkJ8kkG0VFTeZuPxNwSkp037hqX0GNOY5Dr3kvioh2inKc29DgwaqU31TNwaLIxAP4hegmMEkxfS8hMmIXY+iuoXT8f7+pHc9fzEOT6T904EFVuFmf4fGG4nQAI0P8yaWvYHf6vddsbXrn0Vzr8FyGZWzA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zbrR+YJJ; 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="zbrR+YJJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34E09C4CED3; Wed, 8 Jan 2025 17:52:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1736358733; bh=rhvWDKqGJjLxhACZcEzuEu09LnRZuUHcVIgpOsvQv+A=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zbrR+YJJv7wZjOD63kJZ33FS+blWFk96EG60yds4Q5ILjjDb2Iji0uUOqsERYTUnW P/CmT2VNyBPqn+shUQnOW3ijTv5sji7q546D6Xq1V4Y4RktrtSLZnbDZLKxtCwV+N9 vtdBqEa9S0Mq/Q++OJgmMTuIm+lTbV10+ibMvud0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56782: ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration() Date: Wed, 8 Jan 2025 18:52:08 +0100 Message-ID: <2025010807-CVE-2024-56782-d049@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=1927; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rhvWDKqGJjLxhACZcEzuEu09LnRZuUHcVIgpOsvQv+A=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl1u93NtG9IelRHaR4v71Q/ZWit9uKinnSbxX5jhsyL8 84vZ3rcEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABO5ZMYwT5mRW/L3nbiymade etQZewnNULKfz7DgtPDhKTIBh2VevjKcn8bjdihpq6AjAA== 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: ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration() acpi_dev_hid_match() does not check for adev == NULL, dereferencing it unconditional. Add a check for adev being NULL before calling acpi_dev_hid_match(). At the moment acpi_quirk_skip_serdev_enumeration() is never called with a controller_parent without an ACPI companion, but better safe than sorry. The Linux kernel CVE team has assigned CVE-2024-56782 to this issue. Affected and fixed versions =========================== Fixed in 6.12.5 with commit e173bce05f7032a8b4964cfef82a4b7668f5f3af Fixed in 6.13-rc1 with commit 4a49194f587a62d972b602e3e1a2c3cfe6567966 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-56782 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/acpi/x86/utils.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/e173bce05f7032a8b4964cfef82a4b7668f5f3af https://git.kernel.org/stable/c/4a49194f587a62d972b602e3e1a2c3cfe6567966