Skip to contentSkip to conversation

CVE-2026-90330: HID: logitech-hidpp: Fix FF device cleanup on init failure

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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.

The Linux kernel CVE team has assigned CVE-2026-90330 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.6 with commit ff21a635dd1a9c6ca378847160897649cdbbfae4 and fixed in 7.2.6 with commit 13378c9ac0a1bcdf49ba158e4199594aafb589cd
	Issue introduced in 4.6 with commit ff21a635dd1a9c6ca378847160897649cdbbfae4 and fixed in 7.3-rc1 with commit dd5be4d9ce2dfc4d4a4527ef7d31d21a78e3cdac

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-90330

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/hid/hid-logitech-hidpp.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/13378c9ac0a1bcdf49ba158e4199594aafb589cd
	https://git.kernel.org/stable/c/dd5be4d9ce2dfc4d4a4527ef7d31d21a78e3cdac