CVE-2025-21923 Details
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.
A use-after-free vulnerability has been identified in the Linux kernel's HID Steam component. When a HID Steam device is removed, it must properly clean up the client_hdev used for intercepting hidraw access. Failure to do so can result in scheduling deferred work to reattach the input device. Although the cleanup process cancels the deferred work, it occurs before the client_hdev is fully cleaned up, leading to improper rescheduling. This vulnerability has been addressed by correcting the order of operations to ensure the deferred work is appropriately canceled before the client_hdev is released.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/026714ec7546de741826324a6a1914c91024d06c | kernel.org | Patch |
| https://git.kernel.org/stable/c/a899adf7063c6745aaff1ec869f3c7f6329ed0a1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e53fc232a65f7488ab75d03a5b95f06aaada7262 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ea3f18d2f02629653b7bfe42607737ccd1343e54 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.6.79, < 6.6.83 >= 6.12.16, < 6.12.19 >= 6.13.4, < 6.13.7 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 16, 2025 | CVE Modified | CISA-ADP |
| Apr 11, 2025 | Initial Analysis | [email protected] |
| Apr 1, 2025 | New CVE Received | kernel.org |