can: gs_usb: gs_usb_receive_bulk_callback(): check actual_length before accessing data (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.19 % · percentile 8 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Deferred
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()]
References
- https://git.kernel.org/stable/c/8376208db9283fbdfaa06c8d80735ac9954fa64a
- https://git.kernel.org/stable/c/4ffac725154cf6a253f5e6aa0c8946232b6a0af5
- https://git.kernel.org/stable/c/ad55004a3cb5b41ef78aa6c09e7bc5a489ba652b
- https://git.kernel.org/stable/c/fb0c7c77a7ae3a2c3404b7d0173b8739a754b513
- https://git.kernel.org/stable/c/395d988f93861101ec89d0dd9e3b876ae9392a5b
European references
- ENISA EUVD · EUVD-2025-204804
- GCVE · GCVE-0-2025-68342
CERT-FR advisories
- CERTFR-2026-AVI-0602 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0421 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0397 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0371 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0331 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0326 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0316 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0128 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected d08e973a77d128b25e01a08c34d89593fdf222da < 8376208db9283fbdfaa06c8d80735ac9954fa64a ; affected d08e973a77d128b25e01a08c34d89593fdf222da < 4ffac725154cf6a253f5e6aa0c8946232b6a0af5 ; affected d08e973a77d128b25e01a08c34d89593fdf222da < ad55004a3cb5b41ef78aa6c09e7bc5a489ba652b ; affected d08e973a77d128b25e01a08c34d89593fdf222da < fb0c7c77a7ae3a2c3404b7d0173b8739a754b513 ; affected d08e973a77d128b25e01a08c34d89593fdf222da < 395d988f93861101ec89d0dd9e3b876ae9392a5b |
| Linux · Linux | affected 3.16 ; unaffected 0 < 3.16 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.119 ≤ 6.6.* ; unaffected 6.12.61 ≤ 6.12.* ; unaffected 6.17.11 ≤ 6.17.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |