Descrizione
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: l2cap: clear chan->ident on ECRED reconfiguration success l2cap_ecred_reconf_rsp() returns early on success without clearing chan->ident. Every other L2CAP response handler (l2cap_ecred_conn_rsp, l2cap_le_connect_rsp, l2cap_config_rsp) clears chan->ident after a successful transaction to prevent the channel from matching subsequent responses with the recycled ident value. A remote attacker that completed a reconfiguration as the peer can replay a failure response with the stale ident, causing the kernel to match and destroy the already-established channel via l2cap_chan_del(chan, ECONNRESET). Clear chan->ident for all matching channels on success, and harden the failure path by using l2cap_chan_hold_unless_zero() consistent with other L2CAP handlers (l2cap_le_command_rej, __l2cap_get_chan_by_ident).
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.8.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
5.7precedenti alla5.10.259→ aggiornare alla5.10.259o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.11precedenti alla5.15.210→ aggiornare alla5.15.210o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.16precedenti alla6.1.176→ aggiornare alla6.1.176o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.2precedenti alla6.6.143→ aggiornare alla6.6.143o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.93→ aggiornare alla6.12.93o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.35→ aggiornare alla6.18.35o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.0.12→ aggiornare alla7.0.12o successiva. - Linux Linux Kernel: vulnerabile la versione
7.1 rc1→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc2→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc3→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc4→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc5→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Patch: git.kernel.org/stable/c/00e1950716c6ed67d74777b2db2…
- Patch: git.kernel.org/stable/c/3b5b5f423b4fd23404a393bda8a…
- Patch: git.kernel.org/stable/c/59f5ecf6ad5c4db6ae81965a961…
- Patch: git.kernel.org/stable/c/8e7977afaef37c6bd2b2654f1bc…
- Patch: git.kernel.org/stable/c/ae0152d77d101c920769934fb10…
- Patch: git.kernel.org/stable/c/c2afd2613fda90107c5e2fe8e85…
- Patch: git.kernel.org/stable/c/cc2b4f749de09975bfa06e58bbb…
- Patch: git.kernel.org/stable/c/f39049304ba655ffcbb92edbdf8…
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.7 < 5.10.259 | 5.10.259 |
| Linux | Linux Kernel | ≥ 5.11 < 5.15.210 | 5.15.210 |
| Linux | Linux Kernel | ≥ 5.16 < 6.1.176 | 6.1.176 |
| Linux | Linux Kernel | ≥ 6.2 < 6.6.143 | 6.6.143 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.93 | 6.12.93 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.35 | 6.18.35 |
| Linux | Linux Kernel | ≥ 6.19 < 7.0.12 | 7.0.12 |
| Linux | Linux Kernel | 7.1 rc1 | — |
| Linux | Linux Kernel | 7.1 rc2 | — |
| Linux | Linux Kernel | 7.1 rc3 | — |
| Linux | Linux Kernel | 7.1 rc4 | — |
| Linux | Linux Kernel | 7.1 rc5 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/00e1950716c6ed67d74777b2db286b0fa23b4be9
- Patchhttps://git.kernel.org/stable/c/3b5b5f423b4fd23404a393bda8adba3cd6f74ef1
- Patchhttps://git.kernel.org/stable/c/59f5ecf6ad5c4db6ae81965a96156954a3b0d89a
- Patchhttps://git.kernel.org/stable/c/8e7977afaef37c6bd2b2654f1bce6ab40d471147
- Patchhttps://git.kernel.org/stable/c/ae0152d77d101c920769934fb102b18de0c6f526
- Patchhttps://git.kernel.org/stable/c/c2afd2613fda90107c5e2fe8e855627451749c78
- Patchhttps://git.kernel.org/stable/c/cc2b4f749de09975bfa06e58bbbad2f6acd4c79c
- Patchhttps://git.kernel.org/stable/c/f39049304ba655ffcbb92edbdf8c51a1f1210bed