CVE-2025-21923

HID: hid-steam: Fix use-after-free when detaching device

State
Published
Severity
7.8 High
Published
Apr 1, 2025
Updated
Aug 5, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • e1147961b2145fa61c3078a4a797d9576cde91ab to before 026714ec7546de741826324a6a1914c91024d06cAffected
  • 3e38cbbfa0a128a9d64773240a9eb3bc7bae3b1a to before a899adf7063c6745aaff1ec869f3c7f6329ed0a1Affected
  • 053fa3888d2a957f4db26c05e503f4c6b9570a30 to before ea3f18d2f02629653b7bfe42607737ccd1343e54Affected
  • 79504249d7e27cad4a3eeb9afc6386e418728ce0 to before e53fc232a65f7488ab75d03a5b95f06aaada7262Affected
LinuxLinux
  • 6.6.79 to before 6.6.83Affected
  • 6.12.16 to before 6.12.19Affected
  • 6.13.4 to before 6.13.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.