CVE-2023-53759
HID: hidraw: fix data race on device refcount
- Published
- Updated
- Reserved
- 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().
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.14% · top 96% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 8590222e4b021054a7167a4dd35b152a8ed7018e – < 879e79c3aead41b8aa2e91164354b30bd1c4ef3b
- affected 8590222e4b021054a7167a4dd35b152a8ed7018e – < ff348eabd97577da974d3db7038857f28c61d2bd
- affected 8590222e4b021054a7167a4dd35b152a8ed7018e – < 05b47034e2488c2924e5c032e20a1979d012b5b5
- affected 8590222e4b021054a7167a4dd35b152a8ed7018e – < 944ee77dc6ec7b0afd8ec70ffc418b238c92f12b
- affected 5.17
- unaffected < 5.17
- unaffected 6.1.37 – ≤ 6.1.*
- unaffected 6.3.11 – ≤ 6.3.*
- unaffected 6.4.1 – ≤ 6.4.*
- unaffected 6.5 – ≤ *
References (4)
- https://git.kernel.org/stable/c/879e79c3aead41b8aa2e91164354b30bd1c4ef3b (opens in a new tab)
- https://git.kernel.org/stable/c/ff348eabd97577da974d3db7038857f28c61d2bd (opens in a new tab)
- https://git.kernel.org/stable/c/05b47034e2488c2924e5c032e20a1979d012b5b5 (opens in a new tab)
- https://git.kernel.org/stable/c/944ee77dc6ec7b0afd8ec70ffc418b238c92f12b (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-53759)Record last updated .