CVE-2025-68343
can: gs_usb: gs_usb_receive_bulk_callback(): check actual_length before accessing header
Check your servers for CVE-2025-68343
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68343 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
can: gs_usb: gs_usb_receive_bulk_callback(): check actual_length before accessing header
The driver expects to receive a struct gs_host_frame in gs_usb_receive_bulk_callback().
Use struct_group to describe the header of the struct gs_host_frame and check that we have at least received the header before accessing any members of it.
To resubmit the URB, do not dereference the pointer chain "dev->parent->hf_size_rx" but use "parent->hf_size_rx" instead. Since "urb->context" contains "parent", it is always defined, while "dev" is not defined if the URB it too short.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d08e973a77d128b25e01a08c34d89593fdf222da, before 18cbce43363c9f84b90a92d57df341155eee0697 affected from d08e973a77d128b25e01a08c34d89593fdf222da, before 3433680b759646efcacc64fe36aa2e51ae34b8f0 affected from d08e973a77d128b25e01a08c34d89593fdf222da, before 616eee3e895b8ca0028163fcb1dce5e3e9dea322 affected from d08e973a77d128b25e01a08c34d89593fdf222da, before f31693dc3a584c0ad3937e857b59dbc1a7ed2b87 affected from d08e973a77d128b25e01a08c34d89593fdf222da, before 6fe9f3279f7d2518439a7962c5870c6e9ecbadcf
Other versions: unaffected
|
| Linux |
affected 3.16 unaffected before 3.16 unaffected from 6.1.159 up to and including 6.1.* unaffected from 6.6.119 up to and including 6.6.* unaffected from 6.12.61 up to and including 6.12.* unaffected from 6.17.11 up to and including 6.17.* unaffected 6.18 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68343 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68343
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-68343
trivy image --scanners vuln IMAGE | grep CVE-2025-68343
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/18cbce43363c9f84b90a92d57df341155eee0697 git.kernel.org
- https://git.kernel.org/stable/c/3433680b759646efcacc64fe36aa2e51ae34b8f0 git.kernel.org
- https://git.kernel.org/stable/c/616eee3e895b8ca0028163fcb1dce5e3e9dea322 git.kernel.org
- https://git.kernel.org/stable/c/f31693dc3a584c0ad3937e857b59dbc1a7ed2b87 git.kernel.org
- https://git.kernel.org/stable/c/6fe9f3279f7d2518439a7962c5870c6e9ecbadcf git.kernel.org
Source: the record CVE-2025-68343 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse