HID: logitech-hidpp: Prevent use-after-free on force feedback initialisation failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.12.81, Kernel 6.18.22, Kernel 6.19.12 and 9 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.4.1 <6.12.81, >=6.13 <6.18.22, >=6.19 <6.19.12, =5.3.9, =5.4, =7.0, >=abdd3d0b344fdf72a4904d09b97bc964d74c4419 <222bcf7b02899250b20a7a02d29b4e89fe537322, >=abdd3d0b344fdf72a4904d09b97bc964d74c4419 <772f99cc8d6e5d95613bce93c9624e154c1abe88, >=abdd3d0b344fdf72a4904d09b97bc964d74c4419 <9a793ac19eb84f44ed759c0fce80cf29bc2a2453, >=abdd3d0b344fdf72a4904d09b97bc964d74c4419 <b846fb0a73e99174f08238e083e284c0463a2102, >=abdd3d0b344fdf72a4904d09b97bc964d74c4419 <df966f0def87550bd81d0892cdff992202de2712, >=abdd3d0b344fdf72a4904d09b97bc964d74c4419 <f7a4c78bfeb320299c1b641500fe7761eadbd101, =5f7fd3576cf30d502a8b2aec4e7a49c4f894e253, >=5.3.9 <5.4 | 6.12.81, 6.18.22, 6.19.12, 222bcf7b02899250b20a7a02d29b4e89fe537322, 772f99cc8d6e5d95613bce93c9624e154c1abe88, 9a793ac19eb84f44ed759c0fce80cf29bc2a2453, b846fb0a73e99174f08238e083e284c0463a2102, df966f0def87550bd81d0892cdff992202de2712, f7a4c78bfeb320299c1b641500fe7761eadbd101, 5.4 |
| linux-kernel: Kernel | >=5.3.9 <5.4, >=5.4.0 <6.1.191, >=6.13.0 <6.18.22, >=6.19.0 <6.19.12, >=6.2.0 <6.6.160, >=6.7.0 <6.12.81 | 5.4, 6.1.191, 6.18.22, 6.19.12, 6.6.160, 6.12.81 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket