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 25D315E060 for ; Fri, 17 May 2024 14:27:36 +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=1715956057; cv=none; b=FH3czfKoDqdo+JLZ4urXMr8RF+Od35yyEmTO6quBaKzAD/b5+HZ9vwpnW6zyyZ/qyzduES0nKJzws8TyKDhEwg65KnvV2lfFxh0ULhI2hg94EoyQ8wO6xzApmuHsgG68zyKJ80NxPDa4t8bMylbzkKEMT7e47Ar4rFrFIR/U5dA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715956057; c=relaxed/simple; bh=toG5PK96guM3MdFtpKMjjwa+0zgrJLcG69OdPemXcCk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=As+RUa4evZYtDMtZ5HKgbgIFErGBRgm7ztAIPYyTvHpW5Jh6JTu4MqHtPqznJM0d5a+lILUVlppIt0d4Iy9S7a+C29F+YBx1kxRRAlR3DWNez/Spm7SZI8MZsQqscIAKfNL3n3d9CZ7fpGohW5XUkZT6y19GRR+ehOLuBsjixA4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MQjxccic; 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="MQjxccic" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9837C2BD10; Fri, 17 May 2024 14:27:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715956056; bh=toG5PK96guM3MdFtpKMjjwa+0zgrJLcG69OdPemXcCk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=MQjxccic42PTqndMhwZYnoNAEo3qY//vjxFvlumVjR58Fk/o2vDgGp8SPnPJf4NHG p05GgPmkfk9SQFtpb2+ZJ8PGP+AHs1Ho+1tnZzPdWUOeXIyCFS9uPsODCORVqglW5E a2wgbkxXamP7E8F0Gwky1dpjUT8WDVNkDpbyfS0c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52693: ACPI: video: check for error while searching for backlight device parent Date: Fri, 17 May 2024 16:27:06 +0200 Message-ID: <2024051754-CVE-2023-52693-04db@gregkh> X-Mailer: git-send-email 2.45.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=3159; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=toG5PK96guM3MdFtpKMjjwa+0zgrJLcG69OdPemXcCk=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnumXqzdTWib1/c/p5z2+IW/sZ3G90+uvf2nwy9vbchf I9VwN/gjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIxz+GBQ0tEUHp3yafK9lk v/YQ42mntH5ToOiS5Wx9tzf31n66Yy6z7btNZNLbz88B 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: video: check for error while searching for backlight device parent If acpi_get_parent() called in acpi_video_dev_register_backlight() fails, for example, because acpi_ut_acquire_mutex() fails inside acpi_get_parent), this can lead to incorrect (uninitialized) acpi_parent handle being passed to acpi_get_pci_dev() for detecting the parent pci device. Check acpi_get_parent() result and set parent device only in case of success. Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2023-52693 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.39 with commit 9661e92c10a9 and fixed in 4.19.306 with commit 556f02699d33 Issue introduced in 2.6.39 with commit 9661e92c10a9 and fixed in 5.4.268 with commit 1e3a2b9b4039 Issue introduced in 2.6.39 with commit 9661e92c10a9 and fixed in 5.10.209 with commit c4e1a0ef0b47 Issue introduced in 2.6.39 with commit 9661e92c10a9 and fixed in 5.15.148 with commit 3a370502a568 Issue introduced in 2.6.39 with commit 9661e92c10a9 and fixed in 6.1.75 with commit 2124c5bc2294 Issue introduced in 2.6.39 with commit 9661e92c10a9 and fixed in 6.6.14 with commit 39af144b6d01 Issue introduced in 2.6.39 with commit 9661e92c10a9 and fixed in 6.7.2 with commit 72884ce4e104 Issue introduced in 2.6.39 with commit 9661e92c10a9 and fixed in 6.8 with commit ccd45faf4973 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-2023-52693 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/acpi_video.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/556f02699d33c1f40b1b31bd25828ce08fa165d8 https://git.kernel.org/stable/c/1e3a2b9b4039bb4d136dca59fb31e06465e056f3 https://git.kernel.org/stable/c/c4e1a0ef0b4782854c9b77a333ca912b392bed2f https://git.kernel.org/stable/c/3a370502a5681986f9828e43be75ce26c6ab24af https://git.kernel.org/stable/c/2124c5bc22948fc4d09a23db4a8acdccc7d21e95 https://git.kernel.org/stable/c/39af144b6d01d9b40f52e5d773e653957e6c379c https://git.kernel.org/stable/c/72884ce4e10417b1233b614bf134da852df0f15f https://git.kernel.org/stable/c/ccd45faf4973746c4f30ea41eec864e5cf191099