HID: alps: unregister DualPoint Stick input device on remove
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2562756dde550901c224e3805102bdfc17e7d13a · < aa4845a710ae9fee6a3831f5c338904cea77c3aa| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
HID: alps: unregister DualPoint Stick input device on remove
alps_input_configured() allocates a second input device ("DualPoint Stick") with input_allocate_device() and registers it, but the alps_driver struct has no .remove handler and input2 is not tracked in hdev->inputs. The default remove path (hid_hw_stop -> hidinput_disconnect) only iterates hdev->inputs, so input2 is never unregistered and leaks on every device removal.
Add a .remove handler that stops the device first (preventing URB callbacks from touching input2 during teardown) and then unregisters input2.
From the CVE record · Linux
The Linux kernel HID alps driver fails to unregister its DualPoint Stick input device when the device is removed, leaking it on every removal. The input does not describe an attacker path or specify authentication or user-interaction requirements.
Engineers running Linux kernels with the HID alps driver should check their installations; affected versions are not specified.