CVE-2025-68342
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
23/12/2025
Last modified:
23/12/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
can: gs_usb: gs_usb_receive_bulk_callback(): check actual_length before accessing data<br />
<br />
The URB received in gs_usb_receive_bulk_callback() contains a struct<br />
gs_host_frame. The length of the data after the header depends on the<br />
gs_host_frame hf::flags and the active device features (e.g. time<br />
stamping).<br />
<br />
Introduce a new function gs_usb_get_minimum_length() and check that we have<br />
at least received the required amount of data before accessing it. Only<br />
copy the data to that skb that has actually been received.<br />
<br />
[mkl: rename gs_usb_get_minimum_length() -> +gs_usb_get_minimum_rx_length()]



