
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-52866 affects the Linux kernel's HID (Human Interface Device) driver, specifically in the uclogic driver component. The vulnerability was discovered in the uclogic_params_ugee_v2_init_event_hooks() function, where a user-memory-access bug occurs when certain configuration options (CONFIG_HID_UCLOGIC=y and CONFIG_KUNIT_ALL_TESTS=y) are enabled (Kernel Git).
The vulnerability occurs in the hid_test_uclogic_params_cleanup_event_hooks() function when it calls uclogic_params_ugee_v2_init_event_hooks() with a NULL first argument. This causes hid_get_drvdata() to attempt accessing hdev->dev with hdev=NULL, resulting in a user-memory-access bug. The issue was introduced by commit a251d6576d2a ("HID: uclogic: Handle wireless device reconnection") (Kernel Git).
When triggered, the vulnerability causes a general protection fault and kernel panic, leading to system instability and potential denial of service (Kernel Git).
The vulnerability is only exploitable when specific kernel configuration options are enabled (CONFIG_HID_UCLOGIC=y and CONFIG_KUNIT_ALL_TESTS=y) and requires access to the kernel's test infrastructure (Kernel Git).
The issue has been fixed by adding a fake_device with quirks member and calling hid_set_drvdata() to assign hdev->dev->driver_data, which prevents the null pointer dereference bug in uclogic_params_ugee_v2_has_battery(). The fix has been merged into the Linux kernel (Kernel Git).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."