CVE-2025-68342 Details
Description
In the Linux kernel, the following vulnerability has been resolved: can: gs_usb: gs_usb_receive_bulk_callback(): check actual_length before accessing data The URB received in gs_usb_receive_bulk_callback() contains a struct gs_host_frame. The length of the data after the header depends on the gs_host_frame hf::flags and the active device features (e.g. time stamping). Introduce a new function gs_usb_get_minimum_length() and check that we have at least received the required amount of data before accessing it. Only copy the data to that skb that has actually been received. [mkl: rename gs_usb_get_minimum_length() -> +gs_usb_get_minimum_rx_length()]
A vulnerability in the Linux kernel's gs_usb driver can lead to improper handling of data in the gs_usb_receive_bulk_callback function. This issue arises because the length of the data following the header in the received URB (USB Request Block) depends on the flags in the gs_host_frame structure and the active features of the device, such as timestamping. The vulnerability has been addressed by introducing a new function, gs_usb_get_minimum_length, to ensure that the required amount of data is received before it is accessed. The fix involves only copying the data that has been successfully received to the socket buffer (skb).
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version can be found on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/395d988f93861101ec89d0dd9e3b876ae9392a5b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/4ffac725154cf6a253f5e6aa0c8946232b6a0af5 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/8376208db9283fbdfaa06c8d80735ac9954fa64a | kernel.org | |
| https://git.kernel.org/stable/c/ad55004a3cb5b41ef78aa6c09e7bc5a489ba652b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/fb0c7c77a7ae3a2c3404b7d0173b8739a754b513 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 30, 2026 | CVE Modified | kernel.org |
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 23, 2025 | New CVE Received | kernel.org |
Volerion