Skip to contentSkip to conversation

CVE-2026-23365: net: usb: kalmia: validate USB endpoints

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 25

lore
Share & tools
lore
#0 lore raw

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

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

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

net: usb: kalmia: validate USB endpoints

The kalmia driver should validate that the device it is probing has the proper number and types of USB endpoints it is expecting before it binds to it. If a malicious device were to not have the same urbs the driver will crash later on when it blindly accesses these endpoints.

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

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

	Issue introduced in 3.0 with commit d40261236e8e278cb1936cb5e934262971692b10 and fixed in 6.1.167 with commit 28a380bfa5bc7f6a9380b85e8eab919ee6ac1701
	Issue introduced in 3.0 with commit d40261236e8e278cb1936cb5e934262971692b10 and fixed in 6.6.130 with commit 12c0243de0aee0ab27cc00932fd5edae65c1e3a2
	Issue introduced in 3.0 with commit d40261236e8e278cb1936cb5e934262971692b10 and fixed in 6.12.77 with commit 51c20ea5f1555a984c041b0dbf56f00d41b9e652
	Issue introduced in 3.0 with commit d40261236e8e278cb1936cb5e934262971692b10 and fixed in 6.18.17 with commit 011684cd18349aa4c52167c8ac37a0524169f48c
	Issue introduced in 3.0 with commit d40261236e8e278cb1936cb5e934262971692b10 and fixed in 6.19.7 with commit 7bfda1a0be4caec3263753d567678451cef73a85
	Issue introduced in 3.0 with commit d40261236e8e278cb1936cb5e934262971692b10 and fixed in 7.0-rc2 with commit c58b6c29a4c9b8125e8ad3bca0637e00b71e2693

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

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/net/usb/kalmia.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/28a380bfa5bc7f6a9380b85e8eab919ee6ac1701
	https://git.kernel.org/stable/c/12c0243de0aee0ab27cc00932fd5edae65c1e3a2
	https://git.kernel.org/stable/c/51c20ea5f1555a984c041b0dbf56f00d41b9e652
	https://git.kernel.org/stable/c/011684cd18349aa4c52167c8ac37a0524169f48c
	https://git.kernel.org/stable/c/7bfda1a0be4caec3263753d567678451cef73a85
	https://git.kernel.org/stable/c/c58b6c29a4c9b8125e8ad3bca0637e00b71e2693