NULL pointer dereference in Linux
CVE-2024-53056
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.
EPSS: 0.002 (10.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linux — versions 6.11.7, 5.15.54, 7627122fd1c06800a1fe624e9fb3c269796115e8
- Linux Linux_kernel — versions 6.12
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-53056?
- CVE-2024-53056 is a medium-severity vulnerability in Linux, classified under NULL Pointer Dereference. CVSS score: 5.5/10. Published 2024-11-19.
- How severe is CVE-2024-53056?
- Medium severity. CVSS v3 base score is 5.5 out of 10.