# CVE-2023-53759: HID: hidraw: fix data race on device refcount

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-02)
- Published: 2025-12-08T01:19:20.432Z
- Modified: 2026-08-05T09:15:51.129Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

HID: hidraw: fix data race on device refcount

The hidraw_open() function increments the hidraw device reference
counter. The counter has no dedicated synchronization mechanism,
resulting in a potential data race when concurrently opening a device.

The race is a regression introduced by commit 8590222e4b02 ("HID:
hidraw: Replace hidraw device table mutex with a rwsem"). While
minors_rwsem is intended to protect the hidraw_table itself, by instead
acquiring the lock for writing, the reference counter is also protected.
This is symmetrical to hidraw_release().

(As written by CVE List.)

## Affected

- Linux Linux: from 8590222e4b021054a7167a4dd35b152a8ed7018e before 879e79c3aead41b8aa2e91164354b30bd1c4ef3b; from 8590222e4b021054a7167a4dd35b152a8ed7018e before ff348eabd97577da974d3db7038857f28c61d2bd; from 8590222e4b021054a7167a4dd35b152a8ed7018e before 05b47034e2488c2924e5c032e20a1979d012b5b5; from 8590222e4b021054a7167a4dd35b152a8ed7018e before 944ee77dc6ec7b0afd8ec70ffc418b238c92f12b; 5.17 (not affected: before 5.17; from 6.1.37 up to 6.1.*; from 6.3.11 up to 6.3.*; from 6.4.1 up to 6.4.*; from 6.5 up to *)

## References

- <https://git.kernel.org/stable/c/879e79c3aead41b8aa2e91164354b30bd1c4ef3b>
- <https://git.kernel.org/stable/c/ff348eabd97577da974d3db7038857f28c61d2bd>
- <https://git.kernel.org/stable/c/05b47034e2488c2924e5c032e20a1979d012b5b5>
- <https://git.kernel.org/stable/c/944ee77dc6ec7b0afd8ec70ffc418b238c92f12b>

## Sources

- CVE List: [CVE-2023-53759](https://www.cve.org/CVERecord?id=CVE-2023-53759), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-53759](https://nvd.nist.gov/vuln/detail/CVE-2023-53759), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-53759 · Whole record: https://cve.day/CVE-2023-53759.json · Rebuilt by cve.day 2026-11-25T22:58:35.045Z
