CVE-2023-52865·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data Add the check for the return value of mtk_alloc_clk_data() in order to avoid NULL pointer dereference.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.6.2
- Published
- 2024-05-21
Affected versions
From: 6.6
Until: 6.6.2
Fixed in: 6.6.2
How to fix this CVE
Update your Linux kernel to version 6.6.2 or later to address a null pointer dereference vulnerability in the MediaTek clock driver initialization. This vulnerability can cause system crashes under specific conditions when the kernel attempts to allocate clock data without proper validation. Apply the security patch through your distribution's package manager to restore system stability.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version by running: uname -r
- Verify if you are running kernel 6.6.0, 6.6.1, or 6.6.2 by comparing output against affected versions
- Search system logs for clk-mt6797 driver initialization errors with: grep -i 'clk.*mt6797\|mtk_alloc_clk_data' /var/log/kern.log /var/log/messages 2>/dev/null
- Confirm patch installation by running: uname -r and verifying the version is 6.6.2 or later
FAQ
What is CVE-2023-52865?
CVE-2023-52865 is a null pointer dereference vulnerability in the Linux kernel's MediaTek clock driver that occurs when memory allocation fails without proper error handling, potentially causing a kernel panic or denial of service.
Is CVE-2023-52865 being actively exploited?
No. This vulnerability is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog, and no public exploit code is available. However, it should still be patched promptly to prevent unexpected system crashes.
What versions of Kernel are affected by CVE-2023-52865?
Linux kernel versions 6.6.0 through 6.6.2 are affected. The vulnerability is resolved in version 6.6.2 and later.
How do I check if my server is vulnerable to CVE-2023-52865?
Run 'uname -r' to display your kernel version. If the output shows 6.6.0, 6.6.1, or 6.6.2, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2023-52865?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2023-52865 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/122ac6496e4975ddd7ec1edba4f6fc1e15e39478
- https://git.kernel.org/stable/c/2705c5b97f504e831ae1935c05f0e44f80dfa6b3
- https://git.kernel.org/stable/c/357df1c2f6ace96defd557fad709ed1f9f70e16c
- https://git.kernel.org/stable/c/3aefc6fcfbada57fac27f470602d5565e5b76cb4
- https://git.kernel.org/stable/c/4c79cbfb8e9e2311be77182893fda5ea4068c836
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52865. Free for 1 server.
Get started free