CVE-2025-68342
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()]
Affected versions
Linux kernel versions
3.16
and later are affected. Fixed in
6.6.119,
6.12.61,
6.17.11,
6.18
and their respective stable series.
References
The following references provide additional information about CVE-2025-68342 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/395d988f93861101ec89d0dd9e3b876ae9392a5b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4ffac725154cf6a253f5e6aa0c8946232b6a0af5
-
PatchKernel patch commithttps://git.kernel.org/stable/c/ad55004a3cb5b41ef78aa6c09e7bc5a489ba652b
Frequently asked questions
-
What is CVE-2025-68342?
CVE-2025-68342 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 3.16 onward and has been patched in 6.6.119, 6.12.61, 6.17.11 and others. CVE-2025-68342 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-68342?
Yes — CVE-2025-68342 has been patched. Fixed versions include 6.6.119, 6.12.61, 6.17.11 and others. If you are running Linux kernel 3.16 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-68342 actively exploited?
No — CVE-2025-68342 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.