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

High 7.8 Published Updated

A data race in the Linux kernel's hidraw driver can cause a denial of service when multiple processes concurrently open a device.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-53759?

CVE-2023-53759 is a high-severity vulnerability in Linux, published on 8 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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().

Which versions are affected by CVE-2023-53759?

How do I fix CVE-2023-53759?

Apply the vendor's patch.

Is CVE-2023-53759 being exploited?

There is no known exploitation of CVE-2023-53759 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2023-53759, DEBIAN-CVE-2023-53759, GHSA-hgww-pjhr-mwxr, UBUNTU-CVE-2023-53759.

Is CVE-2023-53759 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free