Skip to contentSkip to conversation

CVE-2024-56537: drm: xlnx: zynqmp_disp: layer may be null while releasing

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Dec 27, 2024

lore
Share & tools
lore
#0 lore raw

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

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

drm: xlnx: zynqmp_disp: layer may be null while releasing

layer->info can be null if we have an error on the first layer in zynqmp_disp_create_layers

The Linux kernel CVE team has assigned CVE-2024-56537 to this issue.

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

	Issue introduced in 6.10 with commit 1836fd5ed98db85f249bf755978c964c2607a25d and fixed in 6.11.11 with commit ce7e62bbd55d20cf250396eb4e8f65b3b5a5e685
	Issue introduced in 6.10 with commit 1836fd5ed98db85f249bf755978c964c2607a25d and fixed in 6.12.2 with commit 9218be402aeb1999cc119fc616e21c3cc7cdeec0
	Issue introduced in 6.10 with commit 1836fd5ed98db85f249bf755978c964c2607a25d and fixed in 6.13-rc1 with commit 223842c7702b52846b1c5aef8aca7474ec1fd29b

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

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/xlnx/zynqmp_disp.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/ce7e62bbd55d20cf250396eb4e8f65b3b5a5e685
	https://git.kernel.org/stable/c/9218be402aeb1999cc119fc616e21c3cc7cdeec0
	https://git.kernel.org/stable/c/223842c7702b52846b1c5aef8aca7474ec1fd29b