CVE-2025-21923: HID: hid-steam: Fix use-after-free when detaching device
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.
Security readout for executives and security teams
Plain-English summary
A Linux kernel flaw in the Steam HID driver can access freed memory when a device is detached. A local low-privileged user may trigger the condition without user interaction, potentially causing a crash or broader system compromise. Exposure depends on whether affected systems use the hid-steam driver and related devices.
Executive priority
Prioritize affected multi-user endpoints and systems where untrusted users can access Steam-compatible HID hardware. Treat remediation as high priority, but scope first because exploitation is local and depends on the relevant driver and device workflow.
Technical view
Cleanup ordering allowed deferred input-device reattachment work to be rescheduled after cancellation while client_hdev was being destroyed, producing a use-after-free. The fix cleans up client_hdev before ensuring deferred work is canceled. CVSS 3.1 is 7.8 with local, low-complexity, low-privilege access and high confidentiality, integrity, and availability impacts.
Likely exposure
Most relevant to Linux endpoints or specialized systems using the hid-steam driver where a related HID device can be detached. The supplied data does not clearly define complete vulnerable version ranges, so exposure cannot be determined from version numbers alone.
Exploitation context
The supplied CVSS indicates exploitation requires local access and low privileges, with no user interaction. The CVE is not listed as KEV, and the sources provide no evidence of active exploitation or a public exploit.
Researcher notes
CWE-416 applies. The source bundle lists versions and commit identifiers but does not provide an unambiguous vulnerable-version range. Analysis should focus on backport presence, driver use, device-detachment reachability, and deferred-work lifecycle behavior. No exploitation evidence is supplied.
Mitigation direction
Update to a vendor-supported kernel release containing the applicable stable fix.
Compare vendor kernel patches against the four referenced upstream stable commits.
If immediate updating is impossible, restrict local access and unnecessary use of affected Steam HID devices.
Monitor Linux distribution advisories for precise vulnerable and corrected package versions.
Validation and detection
Inventory systems loading or using the hid-steam driver.
Record kernel and distribution package versions on potentially exposed systems.
Confirm the installed kernel contains the applicable stable fix through vendor documentation or patch history.
Test device detachment safely after updating and monitor for kernel memory or crash reports.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-416: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
1ADP providers
5Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-416 · source CWE mapping
Use After Free
Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.