CVE-2026-23312: net: usb: kaweth: validate USB endpoints
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: usb: kaweth: validate USB endpoints
The kaweth 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-23312 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.167 with commit 7c7ebf5e45d2504d92ea294ac3828d58586491df Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.130 with commit 72f90f481c6a059680b9b976695d4cfb04fba1f3 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.77 with commit f33e80d195a003b384620ee240f69092b519146b Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.17 with commit 2795fc06e7652c0ba299d936c584d5e08b6b57a1 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.19.7 with commit 0aae18e4638a7c1c579df92bc6edc36cedfaaa8c Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.0-rc2 with commit 4b063c002ca759d1b299988ee23f564c9609c875
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-23312
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/kaweth.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/7c7ebf5e45d2504d92ea294ac3828d58586491df https://git.kernel.org/stable/c/72f90f481c6a059680b9b976695d4cfb04fba1f3 https://git.kernel.org/stable/c/f33e80d195a003b384620ee240f69092b519146b https://git.kernel.org/stable/c/2795fc06e7652c0ba299d936c584d5e08b6b57a1 https://git.kernel.org/stable/c/0aae18e4638a7c1c579df92bc6edc36cedfaaa8c https://git.kernel.org/stable/c/4b063c002ca759d1b299988ee23f564c9609c875