Linux kernel use-after-free in Steam HID teardown
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
HID: steam: Rearrange teardown sequence
This fixes a narrow window during the teardown sequence where callbacks could still be scheduled during cleanup that would then have a dangling pointer to the now-freed steam struct.
This also puts work canceling for rumble and mode switch in steam_unregister, as that shouldn't persist while the client hdev is open.
From the CVE record · Linux
The Linux kernel’s HID steam driver has a teardown window in which callbacks can be scheduled after the steam structure is freed, leaving a dangling pointer. The input does not specify what an attacker could achieve or whether exploitation requires local access, authentication, or user interaction.
Engineers running the Linux kernel should check whether their kernel includes the affected HID steam code; affected versions are not specified.