CVE-2025-21923

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

High · published April 1, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
10.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00205 · 10.0th percentile
Published
2025-04-01T15:40Z
EPSS history
Timeline
  • 01 APR 15:40Z
    HID: hid-steam: Fix use-after-free when detaching device
    cvelistv5