Skip to contentSkip to conversation

CVE-2026-68088: usb: gadget: function: rndis: add length check to response query

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 10

lore
Share & tools
lore
#0 lore raw

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

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

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

usb: gadget: function: rndis: add length check to response query

Add variable representations for BufLength and BufOffset in rndis_query_response(), and perform a length check on them.

This is identical to how rndis_set_response() handles these parameters.

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

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

	Fixed in 5.10.261 with commit efcf4e4eeea0d69d8da72a7bc5cbd49b6192260e
	Fixed in 5.15.212 with commit bb2b4402b4571b0c989b977779f7be01107ca425
	Fixed in 6.1.178 with commit 585921866d2d7d65d4b0d89927c78f784668cf5f
	Fixed in 6.6.145 with commit caea8b120604312bab2bfeb1a972f9cd17019e93
	Fixed in 6.12.96 with commit f5870777458d8be65d7cd08bc750a03f17998350
	Fixed in 6.18.39 with commit e01e7814b4223560eab0513b7c15b8c82bdc83f3
	Fixed in 7.1.4 with commit b09716040f3fa4a252eeda3ceb5295ea0e39c1fb
	Fixed in 7.2-rc3 with commit 95f90eea070837f7c72207d5520f805bdefc3bc5

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

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/usb/gadget/function/rndis.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/efcf4e4eeea0d69d8da72a7bc5cbd49b6192260e
	https://git.kernel.org/stable/c/bb2b4402b4571b0c989b977779f7be01107ca425
	https://git.kernel.org/stable/c/585921866d2d7d65d4b0d89927c78f784668cf5f
	https://git.kernel.org/stable/c/caea8b120604312bab2bfeb1a972f9cd17019e93
	https://git.kernel.org/stable/c/f5870777458d8be65d7cd08bc750a03f17998350
	https://git.kernel.org/stable/c/e01e7814b4223560eab0513b7c15b8c82bdc83f3
	https://git.kernel.org/stable/c/b09716040f3fa4a252eeda3ceb5295ea0e39c1fb
	https://git.kernel.org/stable/c/95f90eea070837f7c72207d5520f805bdefc3bc5