Linux
HID: logitech-hidpp: Prevent use-after-free on force feedback initialisation failure
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= abdd3d0b344fdf72a4904d09b97bc964d74c4419, < 222bcf7b02899250b20a7a02d29b4e89fe537322
- >= abdd3d0b344fdf72a4904d09b97bc964d74c4419, < df966f0def87550bd81d0892cdff992202de2712
- >= abdd3d0b344fdf72a4904d09b97bc964d74c4419, < 772f99cc8d6e5d95613bce93c9624e154c1abe88
- >= abdd3d0b344fdf72a4904d09b97bc964d74c4419, < b846fb0a73e99174f08238e083e284c0463a2102
- >= abdd3d0b344fdf72a4904d09b97bc964d74c4419, < 9a793ac19eb84f44ed759c0fce80cf29bc2a2453
- >= abdd3d0b344fdf72a4904d09b97bc964d74c4419, < f7a4c78bfeb320299c1b641500fe7761eadbd101
- 5f7fd3576cf30d502a8b2aec4e7a49c4f894e253
- >= 5.3.9, < 5.4
Fixed in 222bcf7b02899250b20a7a02d29b4e89fe537322, df966f0def87550bd81d0892cdff992202de2712, 772f99cc8d6e5d95613bce93c9624e154c1abe88, b846fb0a73e99174f08238e083e284c0463a2102, 9a793ac19eb84f44ed759c0fce80cf29bc2a2453, f7a4c78bfeb320299c1b641500fe7761eadbd101, 5.4
- 5.4
Fixed in 0, 6.1.191, 6.6.160, 6.12.81, 6.18.22, 6.19.12, 7.0
Mitigation
Upgrade Linux to 222bcf7b02899250b20a7a02d29b4e89fe537322 or df966f0def87550bd81d0892cdff992202de2712 or 772f99cc8d6e5d95613bce93c9624e154c1abe88 or b846fb0a73e99174f08238e083e284c0463a2102 or 9a793ac19eb84f44ed759c0fce80cf29bc2a2453 or f7a4c78bfeb320299c1b641500fe7761eadbd101 or 5.4 or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.81 or 6.18.22 or 6.19.12 or 7.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.