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 A13111A5B90 for ; Wed, 26 Feb 2025 01:57:58 +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=1740535078; cv=none; b=SCv543Q0FiwPwcNNZywzrZReLorjRerAGU54LKtW0X6ul6hR74BaImv/SaknNMZ/ixjHQpKE7OptVCWzt2XnUdKzIE6/HGwLqulkv69WI2TUe7jV6K1WhLxqJ8YYwjQRXICjDZxAd51NKvUJPKqH/34ImbQozt2HQYgrhG4LdUc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535078; c=relaxed/simple; bh=lLWO7JvawtvAKx2jZ7zglj4j3sDyU/dYIEl9rvG+cmU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cJu666ZNFh6+7TkMXSPluHz+Yog1UHVEJSBazHek12ybvmpmsyaMFOld4m/NgEFiQpbcukqlQhyXydvknEuer7f/5+cDh4Dh9az48F0bAxzpLakOSgqcQH9/BS2wCEAR0ej78O7k9uEOe5wRjF+1BLUrcTz+ExvHUNE6WhpuqFs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1cDRJ/NM; 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="1cDRJ/NM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75786C4CEDD; Wed, 26 Feb 2025 01:57:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535078; bh=lLWO7JvawtvAKx2jZ7zglj4j3sDyU/dYIEl9rvG+cmU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1cDRJ/NMNyFTMFlSYsiIyMvQqBZVrvnCV6EGThjBZP1GYHcff9AtIN/1oIfOghT25 DT5F4Wu6FRzVk15IXk40FnnCDxbQSonD9mwK2Fujyp4rxHXJN/1kDZBrMHyQYIL+J1 eszfy1jIO83pFOvaWgLfioHQh2qTc3WVzOXvQKOg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49071: drm/panel: ili9341: fix optional regulator handling Date: Wed, 26 Feb 2025 02:54:36 +0100 Message-ID: <2025022655-CVE-2022-49071-4599@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=2445; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lLWO7JvawtvAKx2jZ7zglj4j3sDyU/dYIEl9rvG+cmU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SoxNjCuZZvwqlwyWe1L7rnua5/bN6XInLq9rFpvO2 btHctGGjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI1HqGBUeFju+IruaR6Zqh tbXE4FvFkrWGjQzzPf5Nu7TIQGLq1wN9HYsvHpN/IZf+BgA= 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: drm/panel: ili9341: fix optional regulator handling If the optional regulator lookup fails, reset the pointer to NULL. Other functions such as mipi_dbi_poweron_reset_conditional() only do a NULL pointer check and will otherwise dereference the error pointer. The Linux kernel CVE team has assigned CVE-2022-49071 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 5a04227326b04c15b015181772f5c853172fdb68 and fixed in 5.15.34 with commit 28dc1503a9d36654f9c61adb2915682515a30f71 Issue introduced in 5.15 with commit 5a04227326b04c15b015181772f5c853172fdb68 and fixed in 5.16.20 with commit e3d982c111a6c033671dd6084b07f62fbf50f76f Issue introduced in 5.15 with commit 5a04227326b04c15b015181772f5c853172fdb68 and fixed in 5.17.3 with commit 4ea189854b1e625ed5ec80d30147870f984db44c Issue introduced in 5.15 with commit 5a04227326b04c15b015181772f5c853172fdb68 and fixed in 5.18 with commit d14eb80e27795b7b20060f7b151cdfe39722a813 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-2022-49071 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/gpu/drm/panel/panel-ilitek-ili9341.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/28dc1503a9d36654f9c61adb2915682515a30f71 https://git.kernel.org/stable/c/e3d982c111a6c033671dd6084b07f62fbf50f76f https://git.kernel.org/stable/c/4ea189854b1e625ed5ec80d30147870f984db44c https://git.kernel.org/stable/c/d14eb80e27795b7b20060f7b151cdfe39722a813