{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-68342","id":"CVE-2025-68342","title":"can: gs_usb: gs_usb_receive_bulk_callback(): check actual_length before accessing data","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: gs_usb: gs_usb_receive_bulk_callback(): check actual_length before accessing data\n\nThe URB received in gs_usb_receive_bulk_callback() contains a struct\ngs_host_frame. The length of the data after the header depends on the\ngs_host_frame hf::flags and the active device features (e.g. time\nstamping).\n\nIntroduce a new function g","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: gs_usb: gs_usb_receive_bulk_callback(): check actual_length before accessing data\n\nThe URB received in gs_usb_receive_bulk_callback() contains a struct\ngs_host_frame. The length of the data after the header depends on the\ngs_host_frame hf::flags and the active device features (e.g. time\nstamping).\n\nIntroduce a new function gs_usb_get_minimum_length() and check that we have\nat least received the required amount of data before accessing it. Only\ncopy the data to that skb that has actually been received.\n\n[mkl: rename gs_usb_get_minimum_length() -> +gs_usb_get_minimum_rx_length()]","published":"2025-12-23T13:58:27.579Z","updated":"2026-11-01T02:30:50.312968990Z","reserved":"2025-12-16T14:48:05.298Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d08e973a77d128b25e01a08c34d89593fdf222da","lessThan":"8376208db9283fbdfaa06c8d80735ac9954fa64a","status":"affected","versionType":"git"},{"version":"d08e973a77d128b25e01a08c34d89593fdf222da","lessThan":"4ffac725154cf6a253f5e6aa0c8946232b6a0af5","status":"affected","versionType":"git"},{"version":"d08e973a77d128b25e01a08c34d89593fdf222da","lessThan":"ad55004a3cb5b41ef78aa6c09e7bc5a489ba652b","status":"affected","versionType":"git"},{"version":"d08e973a77d128b25e01a08c34d89593fdf222da","lessThan":"fb0c7c77a7ae3a2c3404b7d0173b8739a754b513","status":"affected","versionType":"git"},{"version":"d08e973a77d128b25e01a08c34d89593fdf222da","lessThan":"395d988f93861101ec89d0dd9e3b876ae9392a5b","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.16","status":"affected"},{"version":"0","lessThan":"3.16","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.119","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.61","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.11","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8376208db9283fbdfaa06c8d80735ac9954fa64a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4ffac725154cf6a253f5e6aa0c8946232b6a0af5","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ad55004a3cb5b41ef78aa6c09e7bc5a489ba652b","tags":["web"]},{"url":"https://git.kernel.org/stable/c/fb0c7c77a7ae3a2c3404b7d0173b8739a754b513","tags":["web"]},{"url":"https://git.kernel.org/stable/c/395d988f93861101ec89d0dd9e3b876ae9392a5b","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68342.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68342","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00193,"epssPercentile":0.09007,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-68342","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68342","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-68342","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-68342","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}