Descrizione
In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix call removal to use RCU safe deletion Fix rxrpc call removal from the rxnet->calls list to use list_del_rcu() rather than list_del_init() to prevent stuffing up reading /proc/net/rxrpc/calls from potentially getting into an infinite loop. This, however, means that list_empty() no longer works on an entry that's been deleted from the list, making it harder to detect prior deletion. Fix this by: Firstly, make rxrpc_destroy_all_calls() only dump the first ten calls that are unexpectedly still on the list. Limiting the number of steps means there's no need to call cond_resched() or to remove calls from the list here, thereby eliminating the need for rxrpc_put_call() to check for that. rxrpc_put_call() can then be fixed to unconditionally delete the call from the list as it is the only place that the deletion occurs.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
4.13.1precedenti alla6.6.135→ aggiornare alla6.6.135o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.82→ aggiornare alla6.12.82o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.23→ aggiornare alla6.18.23o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla6.19.13→ aggiornare alla6.19.13o successiva. - Linux Linux Kernel: vulnerabile la versione
4.13→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.0 rc1→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.0 rc2→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.0 rc3→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.0 rc4→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.0 rc5→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.0 rc6→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.0 rc7→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Patch: git.kernel.org/stable/c/146d4ab94cf129ee06cd467cb5c…
- Patch: git.kernel.org/stable/c/3be718f659683ad89fad6f1eb66…
- Patch: git.kernel.org/stable/c/93fc15be44a35b8e3c58d0238ac…
- Patch: git.kernel.org/stable/c/ac5f54691be06a32246179d41be…
- Patch: git.kernel.org/stable/c/c63abf25203b50243fe22809052…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Applicare rate limiting e limiti sulle risorse a monte del servizio e monitorarne la disponibilità.
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.13.1 < 6.6.135 | 6.6.135 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.82 | 6.12.82 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.23 | 6.18.23 |
| Linux | Linux Kernel | ≥ 6.19 < 6.19.13 | 6.19.13 |
| Linux | Linux Kernel | 4.13 | — |
| Linux | Linux Kernel | 7.0 rc1 | — |
| Linux | Linux Kernel | 7.0 rc2 | — |
| Linux | Linux Kernel | 7.0 rc3 | — |
| Linux | Linux Kernel | 7.0 rc4 | — |
| Linux | Linux Kernel | 7.0 rc5 | — |
| Linux | Linux Kernel | 7.0 rc6 | — |
| Linux | Linux Kernel | 7.0 rc7 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/146d4ab94cf129ee06cd467cb5c71368a6b5bad6
- Patchhttps://git.kernel.org/stable/c/3be718f659683ad89fad6f1eb66bee99727cae64
- Patchhttps://git.kernel.org/stable/c/93fc15be44a35b8e3c58d0238ac0d9b7c53465ff
- Patchhttps://git.kernel.org/stable/c/ac5f54691be06a32246179d41be2d73598036deb
- Patchhttps://git.kernel.org/stable/c/c63abf25203b50243fe228090526f9dbf37727bd
- Riferimentohttps://git.kernel.org/stable/c/280efb85e9759881a9d31d0874baa04583cb6c09
- Riferimentohttps://git.kernel.org/stable/c/3e47a38e584b905359fe0ce5be5165d1e8592a90
- Riferimentohttps://git.kernel.org/stable/c/b15b1ce96777b88989a6a4de8d01efbcd81ad2d7
- Riferimentohttps://cert-portal.siemens.com/productcert/html/ssa-784472.html