Skip to contentSkip to conversation

CVE-2026-80573: Input: iforce - validate input packet lengths

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 26

lore
Share & tools
lore
#0 lore raw

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

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

Input: iforce - validate input packet lengths

iforce_process_packet() reads fixed fields from joystick, wheel and status packets without first checking their lengths. In particular, the shared hats-and-buttons helper unconditionally reads data[6]. The status tail is a sequence of 16-bit effect addresses, but an incomplete final address is also consumed. A successful zero-length USB URB additionally reads the packet ID before the common parser is called.

Reject the zero-length USB transfer, require the seven-byte joystick and wheel prefixes and the two-byte status prefix, and consume only complete status-tail addresses.

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

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

	Fixed in 5.10.266 with commit 0ec411167655ef3ff3e84f6af685e962aff9a75b
	Fixed in 5.15.217 with commit 609be40988898a4d75225ade0ea5c1734757dd33
	Fixed in 6.1.184 with commit e73d7a7d913d89141321f5f3f16343ecc200d152
	Fixed in 6.6.153 with commit 5232529eaf57f08fe37484e301579a1915b93d14
	Fixed in 6.12.105 with commit 2c083ab16e33fbff3ab8c752fbf8118ed3dd31ce
	Fixed in 6.18.46 with commit a64a8b6b31cd669f0449138e53cc2592d454ccf1
	Fixed in 7.1.10 with commit 84e5cb517f445dadbd5f8bf4ec513540e51f9c36
	Fixed in 7.2 with commit 5751c781d3c97ab6ce0e2a966156ed882152c415

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

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/input/joystick/iforce/iforce-packets.c drivers/input/joystick/iforce/iforce-usb.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/0ec411167655ef3ff3e84f6af685e962aff9a75b
	https://git.kernel.org/stable/c/609be40988898a4d75225ade0ea5c1734757dd33
	https://git.kernel.org/stable/c/e73d7a7d913d89141321f5f3f16343ecc200d152
	https://git.kernel.org/stable/c/5232529eaf57f08fe37484e301579a1915b93d14
	https://git.kernel.org/stable/c/2c083ab16e33fbff3ab8c752fbf8118ed3dd31ce
	https://git.kernel.org/stable/c/a64a8b6b31cd669f0449138e53cc2592d454ccf1
	https://git.kernel.org/stable/c/84e5cb517f445dadbd5f8bf4ec513540e51f9c36
	https://git.kernel.org/stable/c/5751c781d3c97ab6ce0e2a966156ed882152c415