CVE-2024-53056CWE-476

CVE-2024-53056

Medium · published November 19, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
13.9
In the wild
Unconfirmed
What it is

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

drm/mediatek: Fix potential NULL dereference in mtk_crtc_destroy()

In mtk_crtc_create(), if the call to mbox_request_channel() fails then we

set the "mtk_crtc->cmdq_client.chan" pointer to NULL. In that situation,

we do not call cmdq_pkt_create().

During the cleanup, we need to check if the "mtk_crtc->cmdq_client.chan"

is NULL first before calling cmdq_pkt_destroy(). Calling

cmdq_pkt_destroy() is unnecessary if we didn't call cmdq_pkt_create() and

it will result in a NULL pointer dereference.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00237 · 13.9th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2024-11-19T23:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 5.17, < 6.11.76.11.7
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 19 NOV 17:19Z
    drm/mediatek: Fix potential NULL dereference in mtk_crtc_destroy()
    cvelistv5