HID: playstation: Add missing check for input_ff_create_memless
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 51151098d7ab832f2a8b8f5c51fe224a9c98fdd5 · < 45b01d85265bc1ccdd69e0a7887db4b905a778f4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
HID: playstation: Add missing check for input_ff_create_memless
The ps_gamepad_create() function calls input_ff_create_memless() without verifying its return value, which can lead to incorrect behavior or potential crashes when FF effects are triggered.
Add a check for the return value of input_ff_create_memless().
From the CVE record · Linux
The Linux kernel’s PlayStation HID driver does not check whether input_ff_create_memless() succeeds. This can cause incorrect behavior or potential crashes when force-feedback effects are triggered. The input does not specify an attacker scenario, access requirements, or whether user interaction is needed.
Engineers running the Linux kernel with the PlayStation HID driver should check their versions; affected versions are not specified.