Description
In the Linux kernel, the following vulnerability has been resolved: HID: logitech-hidpp: Fix FF device cleanup on init failure hidpp_ff_init() creates the input force-feedback device with input_ff_create(), then allocates the HID++ FF private data, effect ID array, and workqueue. If any of those allocations fail after input_ff_create() succeeds, the function returns an error without destroying the FF device. Add an unwind path that frees the private allocations made by hidpp_ff_init() and calls input_ff_destroy() for failures after input_ff_create() succeeds.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ff21a635dd1a9c6ca378847160897649cdbbfae4 to < a265fee3d24bd611783fd929582b7b6d62000a65affectedff21a635dd1a9c6ca378847160897649cdbbfae4 to < 360a49fc53acdfe2dbb80c23cfa606ed7e13a85daffectedff21a635dd1a9c6ca378847160897649cdbbfae4 to < 6bb216586a3cb4ce327511a7c0445fa88e85b3cbaffectedff21a635dd1a9c6ca378847160897649cdbbfae4 to < 2fd9c8112907c14efefe6a90d20b774737052db3affectedff21a635dd1a9c6ca378847160897649cdbbfae4 to < 13378c9ac0a1bcdf49ba158e4199594aafb589cdaffectedff21a635dd1a9c6ca378847160897649cdbbfae4 to < dd5be4d9ce2dfc4d4a4527ef7d31d21a78e3cdacaffected
Linux Linux
Default version status: affected
4.6affected0 to < 4.6unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.114 to ≤ 6.12.*unaffected6.18.57 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/a265fee3d24bd611783fd929582b7b6d62000a65 ↗
- https://git.kernel.org/stable/c/360a49fc53acdfe2dbb80c23cfa606ed7e13a85d ↗
- https://git.kernel.org/stable/c/6bb216586a3cb4ce327511a7c0445fa88e85b3cb ↗
- https://git.kernel.org/stable/c/2fd9c8112907c14efefe6a90d20b774737052db3 ↗
- https://git.kernel.org/stable/c/13378c9ac0a1bcdf49ba158e4199594aafb589cd ↗
- https://git.kernel.org/stable/c/dd5be4d9ce2dfc4d4a4527ef7d31d21a78e3cdac ↗