In the Linux kernel, the following vulnerability has been resolved: HID: pidff: Make sure to fetch pool before checking SIMULTANEOUS_MAX As noted by Anssi some 20 years ago, pool report is sometimes messed up. This worked fine on many devices but casued oops on VRS DirectForce PRO. Here, we're making sure pool report is refetched before trying to access any of it's fields. While loop was replaced with a for loop + exit conditions were moved aroud to decrease the possibility of creating an infinite loop scenario.
https://git.kernel.org/stable/c/a6f5d30a5c7713238c5c65c98ad95dacb73688d5
https://git.kernel.org/stable/c/344d903be8b5c0733ed0f4bc5be34b4a26d905c8
https://git.kernel.org/stable/c/211861869766a7bb7c72158aee0140ec67e182a7
https://git.kernel.org/stable/c/1f650dcec32d22deb1d6db12300a2b98483099a9