CVE-2023-52853·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: hid: cp2112: Fix duplicate workqueue initialization Previously the cp2112 driver called INIT_DELAYED_WORK within cp2112_gpio_irq_startup, resulting in duplicate initilizations of the workqueue on subsequent IRQ startups following an initial request. This resulted in a warning in set_work_data in workqueue.c, as well as a rare NULL dereference within process_one_work in workqueue.c. Initialize the workqueue within _probe instead.
- 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 resolve a workqueue initialization defect in the cp2112 HID driver. This vulnerability can cause kernel warnings and rare NULL pointer dereferences when GPIO IRQ operations are triggered multiple times. Apply the kernel update through your distribution's package manager and reboot your system to activate the patched kernel.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check current kernel version: uname -r (should be 6.6.2 or later if patched)
- Verify cp2112 driver is loaded: lsmod | grep cp2112 (if output exists, the vulnerable component is present)
- Search kernel logs for workqueue warnings: sudo dmesg | grep -i 'workqueue\|set_work_data' or journalctl -u kernel | grep -i workqueue
- Confirm patch application by checking kernel build date: uname -v and cross-reference with official kernel release notes for version 6.6.2+
FAQ
What is CVE-2023-52853?
This vulnerability is a logic error in the Linux kernel's cp2112 HID driver where a workqueue is repeatedly initialized on each GPIO IRQ startup, causing kernel warnings and potential NULL pointer crashes. The fix relocates workqueue initialization to the driver probe function to occur only once.
Is CVE-2023-52853 being actively exploited?
No, CVE-2023-52853 is not listed in CISA's Known Exploited Vulnerabilities catalog and has no public exploits available. Exploitation requires local access and specific GPIO IRQ configuration.
What versions of Kernel are affected by CVE-2023-52853?
Linux kernel versions 6.6.0 through 6.6.2 are affected. The vulnerability was introduced in kernel 6.6 and patched in 6.6.3.
How do I check if my server is vulnerable to CVE-2023-52853?
Run uname -r to check your kernel version. If output shows 6.6.0, 6.6.1, or 6.6.2, your system is vulnerable. Additionally, confirm cp2112 driver presence with: lsmod | grep cp2112
Does Defensia detect CVE-2023-52853?
Yes — Defensia's CVE advisory scanner compares installed kernel versions against the NVD database. If your kernel falls within the affected range (6.6.0–6.6.2), CVE-2023-52853 will appear in your dashboard with automated remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/012d0c66f9392a99232ac28217229f32dd3a70cf
- https://git.kernel.org/stable/c/3d959406c8fff2334d83d0c352d54fd6f5b2e7cd
- https://git.kernel.org/stable/c/727203e6e7e7020e1246fc1628cbdb8d90177819
- https://git.kernel.org/stable/c/bafb12b629b7c3ad59812dd1ac1b0618062e0e38
- https://git.kernel.org/stable/c/df0daac2709473531d6a3472997cc65301ac06d6
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52853. Free for 1 server.
Get started free