CVE-2023-53759
Description
A flaw was found in the Linux kernel. A local user could exploit a data race vulnerability in the hidraw_open() function when concurrently opening a hidraw device. This issue stems from a lack of dedicated synchronization for the device reference counter. Successful exploitation could lead to a high impact on the system's confidentiality, integrity, and availability.
Statement
A moderate impact flaw was found in the Linux kernel HID subsystem as shipped in Red Hat Enterprise Linux 9. The hidraw_open() function increments the hidraw device reference counter without dedicated synchronization, so a local user with a low-privileged account could trigger a data race by concurrently opening the same hidraw device, potentially corrupting the reference count and causing a kernel crash that affects system availability. The race was introduced when the mutex protecting the hidraw device table was replaced with a reader-writer semaphore that no longer serializes reference counter updates. Red Hat Product Security rates this issue as moderate severity (CVSS 4.7, impact limited to availability), which differs from the upstream NVD rating of important (7.8) because successful exploitation requires local access, low privileges, and high attack complexity, with no direct impact on confidentiality or integrity. The vulnerable code is not present in Red Hat Enterprise Linux 7, 8, or 10, or in Red Hat In-Vehicle OS 1.1, so those products are not affected. The Red Hat Enterprise Linux 9 kernel and kernel-rt update streams currently marked affected are out of support scope.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 4.7 | N/A | 7.8 |
| Attack Vector | Local | N/A | Local |
| Attack Complexity | High | N/A | Low |
| Privileges Required | Low | N/A | Low |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | None | N/A | High |
| Integrity Impact | None | N/A | High |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Understanding the Weakness (CWE)
Integrity,Confidentiality,Other
Technical Impact: Modify Application Data; Read Application Data; Alter Execution Logic
If access to a shared resource is not synchronized, then the resource may not be in a state that is expected by the product. This might lead to unexpected or insecure behaviors, especially if an attacker can influence the shared resource.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.