Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-68342

UNSCOREDEPSS 13%

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

Mitigation

  • Upgrade Linux to 395d988f93861101ec89d0dd9e3b876ae9392a5b or later.

Who should check

  • Anyone running Linux >= d08e973a77d128b25e01a08c34d89593fdf222da, < 8376208db9283fbdfaa06c8d80735ac9954fa64a; >= d08e973a77d128b25e01a08c34d89593fdf222da, < 4ffac725154cf6a253f5e6aa0c8946232b6a0af5; >= d08e973a77d128b25e01a08c34d89593fdf222da, < ad55004a3cb5b41ef78aa6c09e7bc5a489ba652b; >= d08e973a77d128b25e01a08c34d89593fdf222da, < fb0c7c77a7ae3a2c3404b7d0173b8739a754b513; >= d08e973a77d128b25e01a08c34d89593fdf222da, < 395d988f93861101ec89d0dd9e3b876ae9392a5b
  • Anyone running Linux 3.16

Vulnerability facts

Affected
Linux >= d08e973a77d128b25e01a08c34d89593fdf222da, < 8376208db9283fbdfaa06c8d80735ac9954fa64a; >= d08e973a77d128b25e01a08c34d89593fdf222da, < 4ffac725154cf6a253f5e6aa0c8946232b6a0af5; >= d08e973a77d128b25e01a08c34d89593fdf222da, < ad55004a3cb5b41ef78aa6c09e7bc5a489ba652b; >= d08e973a77d128b25e01a08c34d89593fdf222da, < fb0c7c77a7ae3a2c3404b7d0173b8739a754b513; >= d08e973a77d128b25e01a08c34d89593fdf222da, < 395d988f93861101ec89d0dd9e3b876ae9392a5b; Linux 3.16
Fixed in
Linux 8376208db9283fbdfaa06c8d80735ac9954fa64a, Linux 4ffac725154cf6a253f5e6aa0c8946232b6a0af5, Linux 395d988f93861101ec89d0dd9e3b876ae9392a5b
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= d08e973a77d128b25e01a08c34d89593fdf222da, < 8376208db9283fbdfaa06c8d80735ac9954fa64a; >= d08e973a77d128b25e01a08c34d89593fdf222da, < 4ffac725154cf6a253f5e6aa0c8946232b6a0af5; >= d08e973a77d128b25e01a08c34d89593fdf222da, < ad55004a3cb5b41ef78aa6c09e7bc5a489ba652b; >= d08e973a77d128b25e01a08c34d89593fdf222da, < fb0c7c77a7ae3a2c3404b7d0173b8739a754b513; >= d08e973a77d128b25e01a08c34d89593fdf222da, < 395d988f93861101ec89d0dd9e3b876ae9392a5b—cvelist
Linux3.16—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-68342. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68342.md
Affected: Linux >= d08e973a77d128b25e01a08c34d89593fdf222da, < 8376208db9283fbdfaa06c8d80735ac9954fa64a; >= d08e973a77d128b25e01a08c34d89593fdf222da, < 4ffac725154cf6a253f5e6aa0c8946232b6a0af5; >= d08e973a77d128b25e01a08c34d89593fdf222da, < ad55004a3cb5b41ef78aa6c09e7bc5a489ba652b; >= d08e973a77d128b25e01a08…
Fixed in: Linux 8376208db9283fbdfaa06c8d80735ac9954fa64a, Linux 4ffac725154cf6a253f5e6aa0c8946232b6a0af5, Linux 395d988f93861101ec89d0dd9e3b876ae9392a5b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-68342 being exploited?

There is no confirmed exploitation: CVE-2025-68342 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-68342?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2025-68342?

Linux >= d08e973a77d128b25e01a08c34d89593fdf222da, < 8376208db9283fbdfaa06c8d80735ac9954fa64a; >= d08e973a77d128b25e01a08c34d89593fdf222da, < 4ffac725154cf6a253f5e6aa0c8946232b6a0af5; >= d08e973a77d128b25e01a08c34d89593fdf222da, < ad55004a3cb5b41ef78aa6c09e7bc5a489ba652b; >= d08e973a77d128b25e01a08c34d89593fdf222da, < fb0c7c77a7ae3a2c3404b7d0173b8739a754b513; >= d08e973a77d128b25e01a08c34d89593fdf222da, < 395d988f93861101ec89d0dd9e3b876ae9392a5b; Linux 3.16.

Is there a fix for CVE-2025-68342?

Yes. Fixed in Linux 8376208db9283fbdfaa06c8d80735ac9954fa64a, Linux 4ffac725154cf6a253f5e6aa0c8946232b6a0af5, Linux 395d988f93861101ec89d0dd9e3b876ae9392a5b. Upgrade Linux to 395d988f93861101ec89d0dd9e3b876ae9392a5b or later.

How do I check if I'm affected by CVE-2025-68342?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors