Descrizione
In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl_xcvr: Revert fix missing lock in fsl_xcvr_mode_put() This reverts commit f51424872760 ("ASoC: fsl_xcvr: fix missing lock in fsl_xcvr_mode_put()"). The original patch attempted to acquire the card->controls_rwsem lock in fsl_xcvr_mode_put(). However, this function is called from the upper ALSA core function snd_ctl_elem_write(), which already holds the write lock on controls_rwsem for the whole put operation. So there is no need to simply hold the lock for fsl_xcvr_activate_ctl() again. Acquiring the read lock while holding the write lock in the same thread results in a deadlock and a hung task, as reported by Alexander Stein.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
6.19.1precedenti alla6.19.4→ aggiornare alla6.19.4o successiva. - Linux Linux Kernel: vulnerabile la versione
5.15.201→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
6.1.164→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
6.6.127→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
6.12.74→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
6.18.13→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
6.19→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Patch: git.kernel.org/stable/c/0886dc6326c3cc596799c4340d3…
- Patch: git.kernel.org/stable/c/29b2fbe3498da3681a01b34e4a2…
- Patch: git.kernel.org/stable/c/30ffcad5edb56947dccc26f6816…
- Patch: git.kernel.org/stable/c/9a2a5da002775376498e8814df4…
- Patch: git.kernel.org/stable/c/9f16d96e1222391a6b996a1b676…
- Patch: git.kernel.org/stable/c/ae5a70e3e87c28edbaf9939cfef…
- Patch: git.kernel.org/stable/c/b0f74f5d24fe3c73ef1369a8118…
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 | ≥ 6.19.1 < 6.19.4 | 6.19.4 |
| Linux | Linux Kernel | 5.15.201 | — |
| Linux | Linux Kernel | 6.1.164 | — |
| Linux | Linux Kernel | 6.6.127 | — |
| Linux | Linux Kernel | 6.12.74 | — |
| Linux | Linux Kernel | 6.18.13 | — |
| Linux | Linux Kernel | 6.19 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/0886dc6326c3cc596799c4340d342898301cf52a
- Patchhttps://git.kernel.org/stable/c/29b2fbe3498da3681a01b34e4a2259f8a1b89448
- Patchhttps://git.kernel.org/stable/c/30ffcad5edb56947dccc26f6816ab7a55b21a711
- Patchhttps://git.kernel.org/stable/c/9a2a5da002775376498e8814df4a87cd629a3a0c
- Patchhttps://git.kernel.org/stable/c/9f16d96e1222391a6b996a1b676bec14fb91e3b2
- Patchhttps://git.kernel.org/stable/c/ae5a70e3e87c28edbaf9939cfef1bcbd9615420f
- Patchhttps://git.kernel.org/stable/c/b0f74f5d24fe3c73ef1369a811891198b54c1e8e