7.8high
HID: hid-steam: Fix use-after-free when detaching device
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: HID: hid-steam: Fix use-after-free when detaching device When a hid-steam device is removed it must clean up the client_hdev used for intercepting hidraw access. This can lead to scheduling deferred work to reattach the input device. Though the cleanup cancels the deferred work, this was done before the client_hdev itself is cleaned up, so it gets rescheduled. This patch fixes the ordering to make sure the deferred work is properly canceled.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e1147961b2145fa61c3078a4a797d9576cde91ab before 026714ec7546de741826324a6a1914c91024d06c, from 3e38cbbfa0a128a9d64773240a9eb3bc7bae3b1a before a899adf7063c6745aaff1ec869f3c7f6329ed0a1, from 053fa3888d2a957f4db26c05e503f4c6b9570a30 before ea3f18d2f02629653b7bfe42607737ccd1343e54, from 79504249d7e27cad4a3eeb9afc6386e418728ce0 before e53fc232a65f7488ab75d03a5b95f06aaada7262, from 6.6.79 before 6.6.83, from 6.12.16 before 6.12.19, from 6.13.4 before 6.13.7 | CVE List |
| linux linux_kernel | from 6.6.79 before 6.6.83, from 6.12.16 before 6.12.19, from 6.13.4 before 6.13.7 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: HID: hid-steam: Fix use-after-free when detaching device When a hid-steam device is removed it must clean up the client_hdev used for intercepting hidraw access. This can lead to scheduling deferred work to reattach the input device. Though the cleanup cancels the deferred work, this was done before the client_hdev itself is cleaned up, so it gets rescheduled. This patch fixes the ordering to make sure the deferred work is properly canceled.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: HID: hid-steam: Se corrige el error "use-after-free" al desconectar el dispositivo. Al desconectar un dispositivo hid-steam, este debe limpiar el archivo client_hdev utilizado para interceptar el acceso a hidraw. Esto puede provocar la programación de un trabajo diferido para volver a conectar el dispositivo de entrada. Aunque la limpieza cancela el trabajo diferido, esto se realizó antes de que se limpiara el archivo client_hdev, por lo que se reprograma. Este parche corrige el orden para garantizar que el trabajo diferido se cancele correctamente.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-21923 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-21923 changed 2026-06-17 | Public domain |