Skip to contentSkip to conversation

CVE-2026-80570: Input: synaptics-rmi4 - zero report size on F54 work error

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: synaptics-rmi4 - zero report size on F54 work error

In rmi_f54_work(), if an error occurs during report request or command verification, the code jumped directly to the 'error' label, bypassing the 'abort' label where f54->report_size was normally zeroed out.

This left f54->report_size containing its previous successful payload size. If a user then altered the V4L2 format to a smaller size, and a subsequent run failed, rmi_f54_buffer_queue() would copy the stale, larger payload size into the shrunken V4L2 buffer, causing a heap buffer overflow.

Fix this by merging the 'abort' and 'error' labels into a single 'out' exit path, and ensuring that f54->report_size is always set to 0 on failure by checking for error and zeroing the local report_size first.

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

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

	Issue introduced in 4.9 with commit 3a762dbd5347514c3cb2ac756a92a3d1c7646a2d and fixed in 5.10.266 with commit 62079c17ec07d64362bec367ee7a525b0dbf6bf9
	Issue introduced in 4.9 with commit 3a762dbd5347514c3cb2ac756a92a3d1c7646a2d and fixed in 5.15.217 with commit 79521ed3cc9ea48476666ccacf45ecd6954b29a4
	Issue introduced in 4.9 with commit 3a762dbd5347514c3cb2ac756a92a3d1c7646a2d and fixed in 6.1.184 with commit c669c64ab71afa7b467c4d7e18f6a05e96b97a1f
	Issue introduced in 4.9 with commit 3a762dbd5347514c3cb2ac756a92a3d1c7646a2d and fixed in 6.6.153 with commit 77749685e55da19b187df215b5da4080842ca5c7
	Issue introduced in 4.9 with commit 3a762dbd5347514c3cb2ac756a92a3d1c7646a2d and fixed in 6.12.105 with commit c6cfda79f26c69e97db9805808c3b44d02227b4b
	Issue introduced in 4.9 with commit 3a762dbd5347514c3cb2ac756a92a3d1c7646a2d and fixed in 6.18.46 with commit b28593a05afdd812b590e1045b5bd862a5869225
	Issue introduced in 4.9 with commit 3a762dbd5347514c3cb2ac756a92a3d1c7646a2d and fixed in 7.1.10 with commit 88c8174d72900d77fbdf2f527d54b6ff2da876a8
	Issue introduced in 4.9 with commit 3a762dbd5347514c3cb2ac756a92a3d1c7646a2d and fixed in 7.2 with commit dc76c3c8e8ad09362b8c1561f3928288c15cba2e

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

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/rmi4/rmi_f54.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/62079c17ec07d64362bec367ee7a525b0dbf6bf9
	https://git.kernel.org/stable/c/79521ed3cc9ea48476666ccacf45ecd6954b29a4
	https://git.kernel.org/stable/c/c669c64ab71afa7b467c4d7e18f6a05e96b97a1f
	https://git.kernel.org/stable/c/77749685e55da19b187df215b5da4080842ca5c7
	https://git.kernel.org/stable/c/c6cfda79f26c69e97db9805808c3b44d02227b4b
	https://git.kernel.org/stable/c/b28593a05afdd812b590e1045b5bd862a5869225
	https://git.kernel.org/stable/c/88c8174d72900d77fbdf2f527d54b6ff2da876a8
	https://git.kernel.org/stable/c/dc76c3c8e8ad09362b8c1561f3928288c15cba2e