Descrizione
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: renesas_usb3: validate endpoint index in standard request handlers The GET_STATUS and SET/CLEAR_FEATURE handlers extract the endpoint number from the host-supplied wIndex without any sort of validation. Fix this up by validating the number of endpoints actually match up with the number the device has before attempting to dereference a pointer based on this math. This is just like what was done in commit ee0d382feb44 ("usb: gadget: aspeed_udc: validate endpoint index for ast udc") for the aspeed driver.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
4.5precedenti alla6.6.136→ aggiornare alla6.6.136o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.12precedenti alla6.12.83→ aggiornare alla6.12.83o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.24→ aggiornare alla6.18.24o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla6.19.14→ aggiornare alla6.19.14o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
7.0precedenti alla7.0.1→ aggiornare alla7.0.1o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/1b2bfedccc4fb8c9572e1ea464f…
- Patch: git.kernel.org/stable/c/37f430b2240655e6b0199a92aa1…
- Patch: git.kernel.org/stable/c/44216e3dd4455b798899b50eedb…
- Patch: git.kernel.org/stable/c/adb8014599fdf0818d3d93f1f74…
- Patch: git.kernel.org/stable/c/e3d42598f2995cdc07b7779874e…
- Patch: git.kernel.org/stable/c/f880aac8a57ebd92abfa685d454…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre la superficie esposta (disattivare servizi e funzionalità inutilizzati), mantenere attive le protezioni del sistema operativo (ASLR, DEP/NX) e segmentare la rete.
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.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Linux | Linux Kernel | ≥ 4.5 < 6.6.136 | 6.6.136 |
| Linux | Linux Kernel | ≥ 6.12 < 6.12.83 | 6.12.83 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.24 | 6.18.24 |
| Linux | Linux Kernel | ≥ 6.19 < 6.19.14 | 6.19.14 |
| Linux | Linux Kernel | ≥ 7.0 < 7.0.1 | 7.0.1 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/1b2bfedccc4fb8c9572e1ea464f905424c91de2a
- Patchhttps://git.kernel.org/stable/c/37f430b2240655e6b0199a92aa1057e4d621be51
- Patchhttps://git.kernel.org/stable/c/44216e3dd4455b798899b50eedb0ec3831dff8e0
- Patchhttps://git.kernel.org/stable/c/adb8014599fdf0818d3d93f1f74e06cd0bdec08d
- Patchhttps://git.kernel.org/stable/c/e3d42598f2995cdc07b7779874e7c5f8a1b773db
- Patchhttps://git.kernel.org/stable/c/f880aac8a57ebd92abfa685d45424b2998ac1059
- Riferimentohttps://git.kernel.org/stable/c/360aa6e71870a175a6d86af905be2ca171639eb3
- Riferimentohttps://git.kernel.org/stable/c/7caaf76207f50c77abfd788380e19b2c23a94415
- Riferimentohttps://git.kernel.org/stable/c/c4e5ae6db2328d2d9ed55d3005a36c13faab0752