[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025010812-CVE-2024-56778-45a9@gregkh>
Date: Wed, 8 Jan 2025 18:49:16 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-56778: drm/sti: avoid potential dereference of error pointers in sti_hqvdp_atomic_check
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/sti: avoid potential dereference of error pointers in sti_hqvdp_atomic_check
The return value of drm_atomic_get_crtc_state() needs to be
checked. To avoid use of error pointer 'crtc_state' in case
of the failure.
The Linux kernel CVE team has assigned CVE-2024-56778 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.6 with commit dd86dc2f9ae1102f46115be1f1422265c15540f1 and fixed in 5.15.174 with commit 31c857e7496d34e5a32a6f75bc024d0b06fd646a
Issue introduced in 4.6 with commit dd86dc2f9ae1102f46115be1f1422265c15540f1 and fixed in 6.1.120 with commit 6b0d0d6e9d3c26697230bf7dc9e6b52bdb24086f
Issue introduced in 4.6 with commit dd86dc2f9ae1102f46115be1f1422265c15540f1 and fixed in 6.6.64 with commit 82a5312f874fb18f045d9658e9bd290e3b0621c0
Issue introduced in 4.6 with commit dd86dc2f9ae1102f46115be1f1422265c15540f1 and fixed in 6.12.4 with commit 837eb99ad3340c7a9febf454f41c8e3edb68ac1e
Issue introduced in 4.6 with commit dd86dc2f9ae1102f46115be1f1422265c15540f1 and fixed in 6.13-rc1 with commit c1ab40a1fdfee732c7e6ff2fb8253760293e47e8
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-56778
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/sti/sti_hqvdp.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/31c857e7496d34e5a32a6f75bc024d0b06fd646a
https://git.kernel.org/stable/c/6b0d0d6e9d3c26697230bf7dc9e6b52bdb24086f
https://git.kernel.org/stable/c/82a5312f874fb18f045d9658e9bd290e3b0621c0
https://git.kernel.org/stable/c/837eb99ad3340c7a9febf454f41c8e3edb68ac1e
https://git.kernel.org/stable/c/c1ab40a1fdfee732c7e6ff2fb8253760293e47e8
Powered by blists - more mailing lists