Linux
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= e1147961b2145fa61c3078a4a797d9576cde91ab, < 026714ec7546de741826324a6a1914c91024d06c
- >= 3e38cbbfa0a128a9d64773240a9eb3bc7bae3b1a, < a899adf7063c6745aaff1ec869f3c7f6329ed0a1
- >= 053fa3888d2a957f4db26c05e503f4c6b9570a30, < ea3f18d2f02629653b7bfe42607737ccd1343e54
- >= 79504249d7e27cad4a3eeb9afc6386e418728ce0, < e53fc232a65f7488ab75d03a5b95f06aaada7262
Fixed in 026714ec7546de741826324a6a1914c91024d06c, a899adf7063c6745aaff1ec869f3c7f6329ed0a1, ea3f18d2f02629653b7bfe42607737ccd1343e54, e53fc232a65f7488ab75d03a5b95f06aaada7262
- >= 6.6.79, < 6.6.83
- >= 6.12.16, < 6.12.19
- >= 6.13.4, < 6.13.7
Fixed in 6.6.83, 6.12.19, 6.13.7
Mitigation
Upgrade Linux to 026714ec7546de741826324a6a1914c91024d06c or a899adf7063c6745aaff1ec869f3c7f6329ed0a1 or ea3f18d2f02629653b7bfe42607737ccd1343e54 or e53fc232a65f7488ab75d03a5b95f06aaada7262 or later.
Upgrade Linux to 6.6.83 or 6.12.19 or 6.13.7 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.