Description
In the Linux kernel, the following vulnerability has been resolved: HID: logitech-hidpp: Prevent use-after-free on force feedback initialisation failure Presently, if the force feedback initialisation fails when probing the Logitech G920 Driving Force Racing Wheel for Xbox One, an error number will be returned and propagated before the userspace infrastructure (sysfs and /dev/input) has been torn down. If userspace ignores the errors and continues to use its references to these dangling entities, a UAF will promptly follow. We have 2 options; continue to return the error, but ensure that all of the infrastructure is torn down accordingly or continue to treat this condition as a warning by emitting the message but returning success. It is thought that the original author's intention was to emit the warning but keep the device functional, less the force feedback feature, so let's go with that.
Product status
abdd3d0b344fdf72a4904d09b97bc964d74c4419 (git) before 772f99cc8d6e5d95613bce93c9624e154c1abe88
abdd3d0b344fdf72a4904d09b97bc964d74c4419 (git) before b846fb0a73e99174f08238e083e284c0463a2102
abdd3d0b344fdf72a4904d09b97bc964d74c4419 (git) before 9a793ac19eb84f44ed759c0fce80cf29bc2a2453
abdd3d0b344fdf72a4904d09b97bc964d74c4419 (git) before f7a4c78bfeb320299c1b641500fe7761eadbd101
5f7fd3576cf30d502a8b2aec4e7a49c4f894e253 (git)
5.4
Any version before 5.4
6.12.81 (semver)
6.18.22 (semver)
6.19.12 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/772f99cc8d6e5d95613bce93c9624e154c1abe88
git.kernel.org/...c/b846fb0a73e99174f08238e083e284c0463a2102
git.kernel.org/...c/9a793ac19eb84f44ed759c0fce80cf29bc2a2453
git.kernel.org/...c/f7a4c78bfeb320299c1b641500fe7761eadbd101