CVE-2025-68342

Not scored yetLast modified Oct 30, 2026

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

Metrics

No CVSS score has been published yet.

Affected software

VendorProductVersions
LinuxLinux>= d08e973a77d128b25e01a08c34d89593fdf222da, < 8376208db9283fbdfaa06c8d80735ac9954fa64a; >= d08e973a77d128b25e01a08c34d89593fdf222da, < 4ffac725154cf6a253f5e6aa0c8946232b6a0af5; >= d08e973a77d128b25e01a08c34d89593fdf222da, < ad55004a3cb5b41ef78aa6c09e7bc5a489ba652b; >= d08e973a77d128b25e01a08c34d89593fdf222da, < fb0c7c77a7ae3a2c3404b7d0173b8739a754b513; >= d08e973a77d128b25e01a08c34d89593fdf222da, < 395d988f93861101ec89d0dd9e3b876ae9392a5b
LinuxLinux3.16

References

Timeline

Published
Dec 23, 2025
Last modified
Oct 30, 2026
NVD status
Deferred

Related CVEs from 2025

CVE-2025-68343In the Linux kernel, the following vulnerability has been resolved: can: gs_usb: gs_usb_receive_bulk_callback(): check actual_length beforeCVE-2025-68344In the Linux kernel, the following vulnerability has been resolved: ALSA: wavefront: Fix integer overflow in sample size validation The waCVE-2025-68345In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41_hda_read_acCVE-2025-68346In the Linux kernel, the following vulnerability has been resolved: ALSA: dice: fix buffer overflow in detect_stream_formats() The functioCVE-2025-683477.8In the Linux kernel, the following vulnerability has been resolved: ALSA: firewire-motu: fix buffer overflow in hwdep read for DSP events CVE-2025-68348In the Linux kernel, the following vulnerability has been resolved: block: fix memory leak in __blkdev_issue_zero_pages Move the fatal sigCVE-2025-683497.5In the Linux kernel, the following vulnerability has been resolved: NFSv4/pNFS: Clear NFS_INO_LAYOUTCOMMIT in pnfs_mark_layout_stateid_invaCVE-2025-68359.8A vulnerability was found in code-projects Library System 1.0. It has been rated as critical. This issue affects some unknown processing of CVE-2025-68350In the Linux kernel, the following vulnerability has been resolved: exfat: fix divide-by-zero in exfat_allocate_bitmap The variable max_raCVE-2025-683515.5In the Linux kernel, the following vulnerability has been resolved: exfat: fix refcount leak in exfat_find Fix refcount leaks in `exfat_fiCVE-2025-683527.8In the Linux kernel, the following vulnerability has been resolved: spi: ch341: fix out-of-bounds memory access in ch341_transfer_one DiscCVE-2025-68353In the Linux kernel, the following vulnerability has been resolved: net: vxlan: prevent NULL deref in vxlan_xmit_one Neither sock4 nor soc