VDB

CVE-2025-68342

CVE-2025-68342 PUBLISHED

can: gs_usb: gs_usb_receive_bulk_callback(): check actual_length before accessing data

Reported by linux · Published December 23, 2025

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

EPSS 0.19% · 8.9th percentile

Risk scores

EPSS Score
0.19%
8.9th percentile

Affected products

VendorProductVersions
LinuxLinuxd08e973a77d128b25e01a08c34d89593fdf222da, d08e973a77d128b25e01a08c34d89593fdf222da, d08e973a77d128b25e01a08c34d89593fdf222da
LinuxLinux3.16, 0, 6.1.191
linuxlinux_kernel3.16, 3.16, 3.16
LinuxLinux*, *, *

Timeline

  • Dec 23, 2025 CVE Published
  • Dec 24, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (55 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (58 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-68342
vulnetix vdb fixes CVE-2025-68342

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-68342/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›