CVE-2023-52704·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: freezer,umh: Fix call_usermode_helper_exec() vs SIGKILL Tetsuo-San noted that commit f5d39b020809 ("freezer,sched: Rewrite core freezer logic") broke call_usermodehelper_exec() for the KILLABLE case. Specifically it was missed that the second, unconditional, wait_for_completion() was not optional and ensures the on-stack completion is unused before going out-of-scope.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.1.13
- Published
- 2024-05-21
Affected versions
From: 6.1
Until: 6.1.13
Fixed in: 6.1.13
How to fix this CVE
Update your Linux kernel to version 6.1.13 or later to resolve a race condition in the usermode helper subsystem that could cause kernel panics. Systems running kernel versions 6.1 through 6.1.12 should prioritize this patch, as it corrects improper handling of completion signals during process termination. Apply the update using your distribution's package manager and reboot to activate the fixed kernel.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check the currently running kernel version and confirm if it falls within 6.1.0 to 6.1.12
- Check /proc/version to verify the exact kernel build date and version string
- Review dmesg logs for recent kernel panic messages or call stack traces mentioning 'call_usermodehelper' or 'freezer' subsystem
- After patching, run 'uname -r' again and verify the kernel version is 6.1.13 or higher, then confirm no new panic messages appear in dmesg over 24 hours of operation
FAQ
What is CVE-2023-52704?
This vulnerability is a synchronization bug in the Linux kernel's usermode helper mechanism that improperly manages process completion signals, potentially causing kernel availability issues when helper processes receive termination signals.
Is CVE-2023-52704 being actively exploited?
No, this CVE is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits have been released. It is a logic error that requires local access to trigger.
What versions of Kernel are affected by CVE-2023-52704?
Linux kernel versions 6.1.0 through 6.1.12 are vulnerable. The fix was released in kernel 6.1.13.
How do I check if my server is vulnerable to CVE-2023-52704?
Run 'uname -r' and check if the output shows kernel version 6.1.0 to 6.1.12. If it does, your system is affected and requires an update to 6.1.13 or later.
Does Defensia detect CVE-2023-52704?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2023-52704 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52704. Free for 1 server.
Get started free