Descrizione
In the Linux kernel, the following vulnerability has been resolved: USB: serial: keyspan_pda: fix information leak The write() callback is supposed to return the number of characters accepted or a negative errno. Since the addition of write fifo support the keyspan_pda implementation will however return the number characters submitted to the device if the write urb is not already in use. If this number is larger than the number of characters passed to write(), the line discipline continues writing data from beyond the tty write buffer. Fix the information leak by making sure that keyspan_pda_write_start() returns zero on success as intended.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
5.11precedenti alla5.15.212→ aggiornare alla5.15.212o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.16precedenti alla6.1.178→ aggiornare alla6.1.178o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.2precedenti alla6.6.145→ aggiornare alla6.6.145o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.96→ aggiornare alla6.12.96o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.39→ aggiornare alla6.18.39o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.1.4→ aggiornare alla7.1.4o successiva. - Linux Linux Kernel: vulnerabile la versione
7.2 rc1→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.2 rc2→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Patch: git.kernel.org/stable/c/2f7a6b8ab3845bd1da02604f1a8…
- Patch: git.kernel.org/stable/c/6bfc8d01ac4068eced509f8fc74…
- Patch: git.kernel.org/stable/c/b069b7029862fafaff331d4c664…
- Patch: git.kernel.org/stable/c/cf6ca0aefae03958cfb5b189b0a…
- Patch: git.kernel.org/stable/c/d4b12b6b395e43a2b1d80be3745…
- Patch: git.kernel.org/stable/c/e1494191a3aac665d3a2fce1616…
- Patch: git.kernel.org/stable/c/e52ca411f50539ff1d0c877b931…
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.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Linux | Linux Kernel | ≥ 5.11 < 5.15.212 | 5.15.212 |
| Linux | Linux Kernel | ≥ 5.16 < 6.1.178 | 6.1.178 |
| Linux | Linux Kernel | ≥ 6.2 < 6.6.145 | 6.6.145 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.96 | 6.12.96 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.39 | 6.18.39 |
| Linux | Linux Kernel | ≥ 6.19 < 7.1.4 | 7.1.4 |
| Linux | Linux Kernel | 7.2 rc1 | — |
| Linux | Linux Kernel | 7.2 rc2 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/2f7a6b8ab3845bd1da02604f1a874b52a4555a72
- Patchhttps://git.kernel.org/stable/c/6bfc8d01ac4068eced509f8fc74d0cd205e4dcec
- Patchhttps://git.kernel.org/stable/c/b069b7029862fafaff331d4c664d97d4ae828d6d
- Patchhttps://git.kernel.org/stable/c/cf6ca0aefae03958cfb5b189b0adbfb25c06bfac
- Patchhttps://git.kernel.org/stable/c/d4b12b6b395e43a2b1d80be3745631fcaa9c047b
- Patchhttps://git.kernel.org/stable/c/e1494191a3aac665d3a2fce16169a97c346253ec
- Patchhttps://git.kernel.org/stable/c/e52ca411f50539ff1d0c877b9312771ca8a858c1