{"id":"CVE-2025-68343","summary":"can: gs_usb: gs_usb_receive_bulk_callback(): check actual_length before accessing header","details":"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-\u003eparent-\u003ehf_size_rx\" but use \"parent-\u003ehf_size_rx\" instead. Since\n\"urb-\u003econtext\" contains \"parent\", it is always defined, while \"dev\" is not\ndefined if the URB it too short.","modified":"2026-04-16T04:33:18.093759822Z","published":"2025-12-23T13:58:28.411Z","related":["SUSE-SU-2026:20207-1","SUSE-SU-2026:20220-1","SUSE-SU-2026:20228-1","openSUSE-SU-2026:20145-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68343.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/18cbce43363c9f84b90a92d57df341155eee0697"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3433680b759646efcacc64fe36aa2e51ae34b8f0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/616eee3e895b8ca0028163fcb1dce5e3e9dea322"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6fe9f3279f7d2518439a7962c5870c6e9ecbadcf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f31693dc3a584c0ad3937e857b59dbc1a7ed2b87"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68343.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68343"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d08e973a77d128b25e01a08c34d89593fdf222da"},{"fixed":"18cbce43363c9f84b90a92d57df341155eee0697"},{"fixed":"3433680b759646efcacc64fe36aa2e51ae34b8f0"},{"fixed":"616eee3e895b8ca0028163fcb1dce5e3e9dea322"},{"fixed":"f31693dc3a584c0ad3937e857b59dbc1a7ed2b87"},{"fixed":"6fe9f3279f7d2518439a7962c5870c6e9ecbadcf"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68343.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.16.0"},{"fixed":"6.1.159"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68343.json"}}],"schema_version":"1.7.5"}