Descrizione
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: reject BR/EDR signaling packets over MTUsig net/bluetooth/l2cap_core.c:l2cap_sig_channel() accepts BR/EDR signaling packets up to the channel MTU and dispatches each command without enforcing the signaling MTU (MTUsig). A Bluetooth BR/EDR peer within radio range can send a fixed-channel CID 0x0001 packet that is larger than MTUsig and contains many L2CAP_ECHO_REQ commands before pairing. In a real-radio stock-kernel run, one 681-byte signaling packet containing 168 zero-length ECHO_REQ commands made the target transmit 168 ECHO_RSP frames over about 220 ms. Impact: a Bluetooth BR/EDR peer within radio range, before pairing, can force 168 ECHO_RSP frames from one 681-byte fixed-channel signaling packet containing packed ECHO_REQ commands. Define Linux's BR/EDR signaling MTU as the spec minimum of 48 bytes and reject any larger signaling packet with one L2CAP_COMMAND_REJECT_RSP carrying L2CAP_REJ_MTU_EXCEEDED before any command is dispatched. The Bluetooth Core spec wording for MTUExceeded says the reject identifier shall match the first request command in the packet, and that packets containing only responses shall be silently discarded. Linux intentionally deviates from that prescription: silently discarding desynchronizes the peer because the remote stack never learns its responses were dropped, and locating the first request command requires walking command headers past MTUsig, i.e. processing bytes from a packet we have already decided is too large to process. We therefore always emit one reject and use the identifier from the first command header, a single fixed-offset byte read. The unrestricted BR/EDR signaling parser and ECHO_REQ response path both trace to the initial git import; no later introducing commit is available for a Fixes tag.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
2.6.12.1precedenti 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.94→ aggiornare alla6.12.94o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.36→ aggiornare alla6.18.36o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.0.13→ aggiornare alla7.0.13o successiva. - Linux Linux Kernel: vulnerabile la versione
2.6.12→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
2.6.12 rc2→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
2.6.12 rc3→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
2.6.12 rc4→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
2.6.12 rc5→ installare l'ultima release supportata dal vendor. - 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. - …e altre 3 configurazioni (vedi riferimenti).
Patch e advisory
- Patch: git.kernel.org/stable/c/214a2042b16b3c8d798a8b9ef9f…
- Patch: git.kernel.org/stable/c/a8335f3db15bd1e0e82e0db5d48…
- Patch: git.kernel.org/stable/c/b20e8a98dd29b121f58fcdf51e8…
- Patch: git.kernel.org/stable/c/dd214733544427587a95f66dbf3…
- Patch: git.kernel.org/stable/c/dedc92b96dc1d8919a3bdf2495e…
- Patch: git.kernel.org/stable/c/e05c4ac575b457978a7ef441053…
- Patch: git.kernel.org/stable/c/e2b8acf9405bd9b1baf1c54dc89…
- Patch: git.kernel.org/stable/c/fa5823126239b3e453fac1a2fe5…
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 | ≥ 2.6.12.1 < 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.94 | 6.12.94 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.36 | 6.18.36 |
| Linux | Linux Kernel | ≥ 6.19 < 7.0.13 | 7.0.13 |
| Linux | Linux Kernel | 2.6.12 | — |
| Linux | Linux Kernel | 2.6.12 rc2 | — |
| Linux | Linux Kernel | 2.6.12 rc3 | — |
| Linux | Linux Kernel | 2.6.12 rc4 | — |
| Linux | Linux Kernel | 2.6.12 rc5 | — |
| 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 | — |
| Linux | Linux Kernel | 7.1 rc6 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/214a2042b16b3c8d798a8b9ef9f36094f13a9859
- Patchhttps://git.kernel.org/stable/c/a8335f3db15bd1e0e82e0db5d488fabc7d10d1ab
- Patchhttps://git.kernel.org/stable/c/b20e8a98dd29b121f58fcdf51e8576119aba536a
- Patchhttps://git.kernel.org/stable/c/dd214733544427587a95f66dbf3adff072568990
- Patchhttps://git.kernel.org/stable/c/dedc92b96dc1d8919a3bdf2495ede68922ef7ebc
- Patchhttps://git.kernel.org/stable/c/e05c4ac575b457978a7ef441053394169084869c
- Patchhttps://git.kernel.org/stable/c/e2b8acf9405bd9b1baf1c54dc897b0905db689bf
- Patchhttps://git.kernel.org/stable/c/fa5823126239b3e453fac1a2fe50726c7f4a55e1
- Riferimentohttps://cert-portal.siemens.com/productcert/html/ssa-784472.html