Skip to contentSkip to conversation

CVE-2026-43136: HID: logitech-hidpp: Check maxfield in hidpp_get_report_length()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

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: Check maxfield in hidpp_get_report_length()

Do not crash when a report has no fields.

Fake USB gadgets can send their own HID report descriptors and can define report structures without valid fields. This can be used to crash the kernel over USB.

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

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

	Fixed in 5.10.252 with commit ae81fac9ce81917817d787e6b74e68482d99bdf2
	Fixed in 5.15.202 with commit 2dc023dbc11b8dfa8afa63242762acd8cddcad03
	Fixed in 6.1.165 with commit 7f59999fcd699af06ad2aef446a635ea6aa87db3
	Fixed in 6.6.128 with commit b74bf7d0d01fa9b53653f58c29aa00772121f6e9
	Fixed in 6.12.75 with commit f1ceaaf93ea32d0f2b95c95f784ee155962c52ad
	Fixed in 6.18.16 with commit 1acb28123e57b50d737377f400f57eec889fe5e4
	Fixed in 6.19.6 with commit fb1725c0804dbec9dd01c4cb5c9f1f77a69e36dc
	Fixed in 7.0 with commit 1547d41f9f19d691c2c9ce4c29f746297baef9e9

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-43136

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/ae81fac9ce81917817d787e6b74e68482d99bdf2
	https://git.kernel.org/stable/c/2dc023dbc11b8dfa8afa63242762acd8cddcad03
	https://git.kernel.org/stable/c/7f59999fcd699af06ad2aef446a635ea6aa87db3
	https://git.kernel.org/stable/c/b74bf7d0d01fa9b53653f58c29aa00772121f6e9
	https://git.kernel.org/stable/c/f1ceaaf93ea32d0f2b95c95f784ee155962c52ad
	https://git.kernel.org/stable/c/1acb28123e57b50d737377f400f57eec889fe5e4
	https://git.kernel.org/stable/c/fb1725c0804dbec9dd01c4cb5c9f1f77a69e36dc
	https://git.kernel.org/stable/c/1547d41f9f19d691c2c9ce4c29f746297baef9e9