CVE-2023-52614·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: PM / devfreq: Fix buffer overflow in trans_stat_show Fix buffer overflow in trans_stat_show(). Convert simple snprintf to the more secure scnprintf with size of PAGE_SIZE. Add condition checking if we are exceeding PAGE_SIZE and exit early from loop. Also add at the end a warning that we exceeded PAGE_SIZE and that stats is disabled. Return -EFBIG in the case where we don't have enough space to write the full transition table. Also document in the ABI that this function can return -EFBIG error.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.7.3
- Published
- 2024-03-18
Affected versions
From: 6.7
Until: 6.7.3
Fixed in: 6.7.3
How to fix this CVE
Update your Linux kernel to version 6.7.3 or later to resolve a buffer overflow vulnerability in the devfreq transition statistics display function. This vulnerability could allow a local privileged user to trigger memory corruption when accessing the trans_stat_show interface. Apply the patch immediately to all systems running affected kernel versions 6.7.0 through 6.7.2.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — verify if version is between 6.7.0 and 6.7.2
- Confirm devfreq module is loaded: lsmod | grep devfreq — if empty, vulnerability vector is not active
- Check for devfreq sysfs access: cat /sys/class/devfreq/*/trans_stat — this command may trigger the buffer overflow if the transition table is large
- Verify patched kernel is running after update: uname -r — confirm version is 6.7.3 or higher
FAQ
What is CVE-2023-52614?
CVE-2023-52614 is a buffer overflow in the Linux kernel's devfreq subsystem that occurs when reading the trans_stat_show sysfs interface. A local user with appropriate privileges can trigger memory corruption by reading transition statistics when the table exceeds available buffer space.
Is CVE-2023-52614 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2023-52614?
Linux kernel versions 6.7.0, 6.7.1, and 6.7.2 are vulnerable. Kernel 6.7.3 and later contain the fix.
How do I check if my server is vulnerable to CVE-2023-52614?
Run `uname -r` to check your kernel version — if it shows 6.7.0 through 6.7.2, you are vulnerable. Additionally, verify devfreq is active with `lsmod | grep devfreq`.
Does Defensia detect CVE-2023-52614?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server running versions 6.7.0-6.7.2, CVE-2023-52614 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/087de000e4f8c878c81d9dd3725f00a1d292980c
- https://git.kernel.org/stable/c/08e23d05fa6dc4fc13da0ccf09defdd4bbc92ff4
- https://git.kernel.org/stable/c/796d3fad8c35ee9df9027899fb90ceaeb41b958f
- https://git.kernel.org/stable/c/8a7729cda2dd276d7a3994638038fb89035b6f2c
- https://git.kernel.org/stable/c/a979f56aa4b93579cf0e4265ae04d7e9300fd3e8
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52614. Free for 1 server.
Get started free