# CVE-2025-21923: HID: hid-steam: Fix use-after-free when detaching device

- 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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-04-01T15:40:56.229Z
- Modified: 2026-08-05T11:55:21.882Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- 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
- 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

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/026714ec7546de741826324a6a1914c91024d06c> (patch)
- <https://git.kernel.org/stable/c/a899adf7063c6745aaff1ec869f3c7f6329ed0a1> (patch)
- <https://git.kernel.org/stable/c/ea3f18d2f02629653b7bfe42607737ccd1343e54> (patch)
- <https://git.kernel.org/stable/c/e53fc232a65f7488ab75d03a5b95f06aaada7262> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2025-21923 · Whole record: https://cve.day/CVE-2025-21923.json · Rebuilt by cve.day 2026-11-25T22:58:55.888Z
