HID: hidraw: fix data race on device refcount
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().
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.37, 6.3.11, 6.4.1
- CVEs
- CVE-2023-53759
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 13:24 UTC · Revision 1
Source evidence
HID: hidraw: fix data race on device refcount
core-osv · Original sourcePublished 8 Dec 2025, 01:19 UTC
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().
osv:CVE-2023-53759
Kernel
Fixed versions: 6.1.37, 6.3.11, 6.4.1
Complete source record
{
"id": "e3e75518ce9bd72cd5acb6a045f526e5227483c057e071910da198ea6c820014",
"url": "https://osv.dev/vulnerability/CVE-2023-53759",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "HID: hidraw: fix data race on device refcount",
"summary": "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().",
"evidence": "osv:CVE-2023-53759",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.37",
"evidence": "/affected/1/ranges"
},
{
"value": "6.3.11",
"evidence": "/affected/1/ranges"
},
{
"value": "6.4.1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2023-53759",
"aliases": [
"CVE-2023-53759"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "8590222e4b021054a7167a4dd35b152a8ed7018e"
},
{
"fixed": "879e79c3aead41b8aa2e91164354b30bd1c4ef3b"
},
{
"fixed": "ff348eabd97577da974d3db7038857f28c61d2bd"
},
{
"fixed": "05b47034e2488c2924e5c032e20a1979d012b5b5"
},
{
"fixed": "944ee77dc6ec7b0afd8ec70ffc418b238c92f12b"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53759.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.17.0"
},
{
"fixed": "6.1.37"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.3.11"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.4.0"
},
{
"fixed": "6.4.1"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53759.json"
}
}
],
"modified": "2026-10-28T02:30:35.729262833Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/05b47034e2488c2924e5c032e20a1979d012b5b5",
"https://git.kernel.org/stable/c/879e79c3aead41b8aa2e91164354b30bd1c4ef3b",
"https://git.kernel.org/stable/c/944ee77dc6ec7b0afd8ec70ffc418b238c92f12b",
"https://git.kernel.org/stable/c/ff348eabd97577da974d3db7038857f28c61d2bd",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53759.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-53759",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53759.json"
}
},
"related_cves": [
{
"value": "CVE-2023-53759",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 503073,
"published_at": "2025-12-08T01:19:20.432+00:00"
}