Skip to contentSkip to conversation

CVE-2022-49071: drm/panel: ili9341: fix optional regulator handling

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Feb 26, 2025

lore
Share & tools
lore
#0 lore raw

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