USN-9283-1: OpenRazer vulnerabilities
It was discovered that the OpenRazer kernel driver did not properly validate the size of certain data returned by devices. An attacker with a specially crafted USB device could possibly use this issue to obtain sensitive information, such as kernel stack addresses. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-23467) It was discovered that the OpenRazer keyboard, mouse, and accessory kernel drivers did not properly validate the length of custom lighting frame data, which could lead to a buffer overflow. A local attacker could possibly use these issues to cause a denial of service or escalate privileges. These issues only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-29021, CVE-2022-29022, CVE-2022-29023) It was discovered that the OpenRazer kernel drivers did not properly validate the size of custom lighting frame data, which could lead to an out-of-bounds read of kernel memory that was then sent to the device. A local attacker could possibly use this issue to cause a denial of service or obtain sensitive information. (CVE-2025-32776)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/openrazer-driver-dkmsto a version that resolves this vulnerability.Fixed in Ubuntu Pro
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which systems are explicitly identified as affected by the earlier issues?
CVE-2022-23467 and CVE-2022-29021 through CVE-2022-29023 are stated to affect Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. The provided information does not specify affected releases for CVE-2025-32776.
What access or equipment would an attacker need?
For CVE-2022-23467, an attacker needs a specially crafted USB device. For the custom-lighting issues, the attacker is described as local; the information provided does not state whether this requires a particular OpenRazer-compatible device to be connected.
What could exploitation achieve?
The crafted USB-device issue may disclose sensitive information such as kernel stack addresses. The lighting-frame buffer overflows may cause denial of service or local privilege escalation, while the out-of-bounds read may cause denial of service or disclose kernel memory to the device.