{"id":"CVE-2025-68343","published":"2025-12-23T13:58:28Z","modified":"2026-05-11T21:51:21Z","title":"can: gs_usb: gs_usb_receive_bulk_callback(): check actual_length before accessing header","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: gs_usb: gs_usb_receive_bulk_callback(): check actual_length before accessing header\n\nThe driver expects to receive a struct gs_host_frame in\ngs_usb_receive_bulk_callback().\n\nUse struct_group to describe the header of the struct gs_host_frame and\ncheck that we have at least received the header before accessing any\nmembers of it.\n\nTo resubmit the URB, do not dereference the pointer chain\n\"dev->parent->hf_size_rx\" but use \"parent->hf_size_rx\" instead. Since\n\"urb->context\" contains \"parent\", it is always defined, while \"dev\" is not\ndefined if the URB it too short.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00199,"percentile":0.09664,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/18cbce43363c9f84b90a92d57df341155eee0697","tags":[]},{"url":"https://git.kernel.org/stable/c/3433680b759646efcacc64fe36aa2e51ae34b8f0","tags":[]},{"url":"https://git.kernel.org/stable/c/616eee3e895b8ca0028163fcb1dce5e3e9dea322","tags":[]},{"url":"https://git.kernel.org/stable/c/f31693dc3a584c0ad3937e857b59dbc1a7ed2b87","tags":[]},{"url":"https://git.kernel.org/stable/c/6fe9f3279f7d2518439a7962c5870c6e9ecbadcf","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.93}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d08e973a77d128b25e01a08c34d89593fdf222da, < 18cbce43363c9f84b90a92d57df341155eee0697",">= d08e973a77d128b25e01a08c34d89593fdf222da, < 3433680b759646efcacc64fe36aa2e51ae34b8f0",">= d08e973a77d128b25e01a08c34d89593fdf222da, < 616eee3e895b8ca0028163fcb1dce5e3e9dea322",">= d08e973a77d128b25e01a08c34d89593fdf222da, < f31693dc3a584c0ad3937e857b59dbc1a7ed2b87",">= d08e973a77d128b25e01a08c34d89593fdf222da, < 6fe9f3279f7d2518439a7962c5870c6e9ecbadcf"]},{"vendor":"Linux","product":"Linux","versions":["3.16"]}],"euvd":{"id":"EUVD-2025-204798","exploited":false,"provenance":"source"}}