Descrizione
In the Linux kernel, the following vulnerability has been resolved: can: kvaser_usb_leaf: kvaser_usb_leaf_wait_cmd(): validate received command extents The wait and bulk receive paths walk variable-length commands from a USB buffer. A nonzero command shorter than CMD_HEADER_LEN can still be dispatched, and the wait path copies a matching command into a fixed caller-owned struct kvaser_cmd using the device-provided length. Reject nonzero commands that do not contain the fixed header or that extend beyond the current USB buffer item. In the wait path, also reject a matching command that exceeds the destination before copying it.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria.
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Riferimenti
- Riferimentohttps://git.kernel.org/stable/c/0293dd153f9dbc1ddf5dacdccc76b363bce4a8ee
- Riferimentohttps://git.kernel.org/stable/c/185cb1fa38142a3cbf223dd8b3abb24217f330d3
- Riferimentohttps://git.kernel.org/stable/c/21f0465fd86d77794aaed8e05f833634f68d178d
- Riferimentohttps://git.kernel.org/stable/c/3d0897ec623e422695d70d80ae456f89476c5328
- Riferimentohttps://git.kernel.org/stable/c/695aea154bb2d453e6daada1510972fafd075285
- Riferimentohttps://git.kernel.org/stable/c/72f96c2942f11a0ae8663adcb3d9ee986e07d4fa
- Riferimentohttps://git.kernel.org/stable/c/c00ec53d7dec08134e97071850cc00ef000c5b77
- Riferimentohttps://git.kernel.org/stable/c/d9e91672526ffa279709b15490118aea1bdee714