CVE-2026-45923: net: usb: catc: enable basic endpoint checking
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: usb: catc: enable basic endpoint checking
catc_probe() fills three URBs with hardcoded endpoint pipes without verifying the endpoint descriptors:
- usb_sndbulkpipe(usbdev, 1) and usb_rcvbulkpipe(usbdev, 1) for TX/RX
- usb_rcvintpipe(usbdev, 2) for interrupt status
A malformed USB device can present these endpoints with transfer types that differ from what the driver assumes.
Add a catc_usb_ep enum for endpoint numbers, replacing magic constants throughout. Add usb_check_bulk_endpoints() and usb_check_int_endpoints() calls after usb_set_interface() to verify endpoint types before use, rejecting devices with mismatched descriptors at probe time.
Similar to
- commit 90b7f2961798 ("net: usb: rtl8150: enable basic endpoint checking") which fixed the issue in rtl8150.
The Linux kernel CVE team has assigned CVE-2026-45923 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.252 with commit eade522d3e6ac3f3bfb51bfa5b5b4b32bd0b846f Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.165 with commit ac7739b78ded519e1d9919a814da3b34120bec8c Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.128 with commit 163d04897e57633c5d2e69734e4e4b22bb63f50d Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.75 with commit a488001a8197da4f9c413eec8f6acbff71c60145 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.14 with commit 36c28b028efba0f42218d41fed12c47ce217c1f1 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.19.4 with commit 1a42cfced8900d33d032c7ec338484855b61b8cc Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.0 with commit 9e7021d2aeae57c323a6f722ed7915686cdcc123
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-45923
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/catc.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/eade522d3e6ac3f3bfb51bfa5b5b4b32bd0b846f https://git.kernel.org/stable/c/ac7739b78ded519e1d9919a814da3b34120bec8c https://git.kernel.org/stable/c/163d04897e57633c5d2e69734e4e4b22bb63f50d https://git.kernel.org/stable/c/a488001a8197da4f9c413eec8f6acbff71c60145 https://git.kernel.org/stable/c/36c28b028efba0f42218d41fed12c47ce217c1f1 https://git.kernel.org/stable/c/1a42cfced8900d33d032c7ec338484855b61b8cc https://git.kernel.org/stable/c/9e7021d2aeae57c323a6f722ed7915686cdcc123