Skip to contentSkip to conversation

CVE-2023-53325: drm/mediatek: dp: Change logging to dev for mtk_dp_aux_transfer()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 16, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

drm/mediatek: dp: Change logging to dev for mtk_dp_aux_transfer()

Change logging from drm_{err,info}() to dev_{err,info}() in functions mtk_dp_aux_transfer() and mtk_dp_aux_do_transfer(): this will be essential to avoid getting NULL pointer kernel panics if any kind of error happens during AUX transfers happening before the bridge is attached.

This may potentially start happening in a later commit implementing aux-bus support, as AUX transfers will be triggered from the panel driver (for EDID) before the mtk-dp bridge gets attached, and it's done in preparation for the same.

The Linux kernel CVE team has assigned CVE-2023-53325 to this issue.

Affected and fixed versions
===========================

	Fixed in 6.1.55 with commit 4c743c1dd2ee2a72951660b6798d4d7f7674f87b
	Fixed in 6.5.5 with commit 7839f62294039959076dd06232e07aec7f7d5b2b
	Fixed in 6.6 with commit fd70e2019bfbcb0ed90c5e23839bf510ce6acf8f

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-53325

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/mediatek/mtk_dp.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/4c743c1dd2ee2a72951660b6798d4d7f7674f87b
	https://git.kernel.org/stable/c/7839f62294039959076dd06232e07aec7f7d5b2b
	https://git.kernel.org/stable/c/fd70e2019bfbcb0ed90c5e23839bf510ce6acf8f