Home

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

PUBLISHED Reserved 2025-12-16 | Published 2025-12-23 | Updated 2025-12-23 | Assigner Linux

Product status

Default status
unaffected

d08e973a77d128b25e01a08c34d89593fdf222da (git) before 4ffac725154cf6a253f5e6aa0c8946232b6a0af5
affected

d08e973a77d128b25e01a08c34d89593fdf222da (git) before ad55004a3cb5b41ef78aa6c09e7bc5a489ba652b
affected

d08e973a77d128b25e01a08c34d89593fdf222da (git) before fb0c7c77a7ae3a2c3404b7d0173b8739a754b513
affected

d08e973a77d128b25e01a08c34d89593fdf222da (git) before 395d988f93861101ec89d0dd9e3b876ae9392a5b
affected

Default status
affected

3.16
affected

Any version before 3.16
unaffected

6.6.119 (semver)
unaffected

6.12.61 (semver)
unaffected

6.17.11 (semver)
unaffected

6.18 (original_commit_for_fix)
unaffected

References

git.kernel.org/...c/4ffac725154cf6a253f5e6aa0c8946232b6a0af5

git.kernel.org/...c/ad55004a3cb5b41ef78aa6c09e7bc5a489ba652b

git.kernel.org/...c/fb0c7c77a7ae3a2c3404b7d0173b8739a754b513

git.kernel.org/...c/395d988f93861101ec89d0dd9e3b876ae9392a5b

cve.org (CVE-2025-68342)

nvd.nist.gov (CVE-2025-68342)

Download JSON

Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.