Description
In the Linux kernel, the following vulnerability has been resolved: HID: playstation: Clamp num_touch_reports A device would never lie about the number of touch reports would it? If it does the loop in dualshock4_parse_report will read off the end of the touch_reports array, up to about 2 KiB for the maximum number of 256 loop iteraions. The data that is read is emitted via evdev if the DS4_TOUCH_POINT_INACTIVE bit happens to be set. Protect against this by clamping the num_touch_reports value provided by the device to the maximum size of the touch_reports array.
Affected products
linux: linux kernel
References5
- git.kernel.org/stable/c/0bc4cf1a6ba00fb8c074531b179bc7b97502fbc4 Patch
- git.kernel.org/stable/c/208f6d5b1dfd6399bc6af9e11f27f1f496243ed0 Patch
- git.kernel.org/stable/c/7812694752a5f295eaa05a093b90a2c332666051 Patch
- git.kernel.org/stable/c/9c031b24aed6733b6dcc5d98527875b8654a04e9 Patch
- git.kernel.org/stable/c/cac61b58a3b6340c52afa06bb15eac033158db2f Patch
Metrics
- CVSS 3.1
-
8.1
HIGH
Score source: CNA
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - EPSS — exploit probability
- 0% percentile: 18 · as of 15 November 2026
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.