Descrizione
In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Add sanity check for OOB writes at silencing At silencing the playback URB packets in the implicit fb mode before the actual playback, we blindly assume that the received packets fit with the buffer size. But when the setup in the capture stream differs from the playback stream (e.g. due to the USB core limitation of max packet size), such an inconsistency may lead to OOB writes to the buffer, resulting in a crash. For addressing it, add a sanity check of the transfer buffer size at prepare_silent_urb(), and stop the data copy if the received data overflows. Also, report back the transfer error properly from there, too. Note that this doesn't fix the root cause of the playback error itself, but this merely covers the kernel Oops.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.8.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
3.5precedenti alla5.15.202→ aggiornare alla5.15.202o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.16precedenti alla6.1.165→ aggiornare alla6.1.165o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.2precedenti alla6.6.128→ aggiornare alla6.6.128o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.75→ aggiornare alla6.12.75o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.16→ aggiornare alla6.18.16o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla6.19.6→ aggiornare alla6.19.6o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/6af16f1b8649df4c00d6ced924b…
- Patch: git.kernel.org/stable/c/780dc57794a217b49994fa1d0b4…
- Patch: git.kernel.org/stable/c/8995fc0e00b3fee9bf7ecb3d836…
- Patch: git.kernel.org/stable/c/ccaf9296763be4f76b59e2cac37…
- Patch: git.kernel.org/stable/c/fa01973bb79d70c4736b6a4b2de…
- Patch: git.kernel.org/stable/c/fba2105a157fffcf19825e4eea4…
- Patch: git.kernel.org/stable/c/fc9e5af60dc199051dc202ae78e…
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 | ≥ 3.5 < 5.15.202 | 5.15.202 |
| Linux | Linux Kernel | ≥ 5.16 < 6.1.165 | 6.1.165 |
| Linux | Linux Kernel | ≥ 6.2 < 6.6.128 | 6.6.128 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.75 | 6.12.75 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.16 | 6.18.16 |
| Linux | Linux Kernel | ≥ 6.19 < 6.19.6 | 6.19.6 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/6af16f1b8649df4c00d6ced924bdd8b72c885b6a
- Patchhttps://git.kernel.org/stable/c/780dc57794a217b49994fa1d0b42465fb10a00aa
- Patchhttps://git.kernel.org/stable/c/8995fc0e00b3fee9bf7ecb3d836b635b730c1049
- Patchhttps://git.kernel.org/stable/c/ccaf9296763be4f76b59e2cac377006016c34435
- Patchhttps://git.kernel.org/stable/c/fa01973bb79d70c4736b6a4b2de99fbb2cbc8d1f
- Patchhttps://git.kernel.org/stable/c/fba2105a157fffcf19825e4eea498346738c9948
- Patchhttps://git.kernel.org/stable/c/fc9e5af60dc199051dc202ae78e1fe76a9977a5e