CVE-2026-45969: HID: playstation: Add missing check for input_ff_create_memless
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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().
The Linux kernel CVE team has assigned CVE-2026-45969 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.12 with commit 51151098d7ab832f2a8b8f5c51fe224a9c98fdd5 and fixed in 5.15.202 with commit 496a345cc047a2c2d9d5a76956e1182525578bd5 Issue introduced in 5.12 with commit 51151098d7ab832f2a8b8f5c51fe224a9c98fdd5 and fixed in 6.1.165 with commit 987dee1486e975e2baa6a5d062cfdf18bbe901c8 Issue introduced in 5.12 with commit 51151098d7ab832f2a8b8f5c51fe224a9c98fdd5 and fixed in 6.6.128 with commit 33acf9a4d6eb1f6d01691faca96ad6b2ab0fcfc0 Issue introduced in 5.12 with commit 51151098d7ab832f2a8b8f5c51fe224a9c98fdd5 and fixed in 6.12.75 with commit d955aeb26e1210a018492b3b32cbdfaf017aaa25 Issue introduced in 5.12 with commit 51151098d7ab832f2a8b8f5c51fe224a9c98fdd5 and fixed in 6.18.14 with commit 35301ca2a83d17aac2f3e8e35c696f0da2a13111 Issue introduced in 5.12 with commit 51151098d7ab832f2a8b8f5c51fe224a9c98fdd5 and fixed in 6.19.4 with commit 45b01d85265bc1ccdd69e0a7887db4b905a778f4 Issue introduced in 5.12 with commit 51151098d7ab832f2a8b8f5c51fe224a9c98fdd5 and fixed in 7.0 with commit e6807641ac94e832988655a1c0e60ccc806b76dc
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-45969
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/hid/hid-playstation.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/496a345cc047a2c2d9d5a76956e1182525578bd5 https://git.kernel.org/stable/c/987dee1486e975e2baa6a5d062cfdf18bbe901c8 https://git.kernel.org/stable/c/33acf9a4d6eb1f6d01691faca96ad6b2ab0fcfc0 https://git.kernel.org/stable/c/d955aeb26e1210a018492b3b32cbdfaf017aaa25 https://git.kernel.org/stable/c/35301ca2a83d17aac2f3e8e35c696f0da2a13111 https://git.kernel.org/stable/c/45b01d85265bc1ccdd69e0a7887db4b905a778f4 https://git.kernel.org/stable/c/e6807641ac94e832988655a1c0e60ccc806b76dc