- Accueil
- Vulnérabilités
- CVE-2026-31393
CVE-2026-31393
Bluetooth: L2CAP: Validate L2CAP_INFO_RSP payload length before access
Résumé
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Validate L2CAP_INFO_RSP payload length before access l2cap_information_rsp() checks that cmd_len covers the fixed l2cap_info_rsp header (type + result, 4 bytes) but then reads rsp->data without verifying that the payload is present: - L2CAP_IT_FEAT_MASK calls get_unaligned_le32(rsp->data), which reads 4 bytes past the header (needs cmd_len >= 8). - L2CAP_IT_FIXED_CHAN reads rsp->data[0], 1 byte past the header (needs cmd_len >= 5). A truncated L2CAP_INFO_RSP with result == L2CAP_IR_SUCCESS triggers an out-of-bounds read of adjacent skb data. Guard each data access with the required payload length check. If the payload is too short, skip the read and let the state machine complete with safe defaults (feat_mask and remote_fixed_chan remain zero from kzalloc), so the info timer cleanup and l2cap_conn_start() still run and the connection is not stalled.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (9 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | 2.6.24 |
— | CNA (éditeur ou attributeur) |
| Linux kernel | de 2.6.24 (inclus) à 5.10.253 (exclu) |
— | NVD |
| Linux kernel | de 5.11 (inclus) à 5.15.203 (exclu) |
— | NVD |
| Linux kernel | de 5.16 (inclus) à 6.1.167 (exclu) |
— | NVD |
| Linux kernel | de 6.2 (inclus) à 6.6.130 (exclu) |
— | NVD |
| Linux kernel | de 6.7 (inclus) à 6.12.78 (exclu) |
— | NVD |
| Linux kernel | de 6.13 (inclus) à 6.18.20 (exclu) |
— | NVD |
| Linux kernel | de 6.19 (inclus) à 6.19.10 (exclu) |
— | NVD |
| Linux kernel | 7.0 |
— | NVD |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://git.kernel.org/stable/c/187e6fe939295be36063a1d91f8bebee04399a8cPatch
- https://git.kernel.org/stable/c/3b646516cba2ebc4b51a72954903326e7c1e443fPatch
- https://git.kernel.org/stable/c/5229e7d15771eac2b5886bfb1f976aea0c1eec14Patch
- https://git.kernel.org/stable/c/807bd1258453c4c83f6ae9dbc1e7b44860ff40d0Patch
- https://git.kernel.org/stable/c/9aeacde4da0f02d42fd968fd32f245828b230171Patch
- https://git.kernel.org/stable/c/db2872d054e467810078e2b9f440a5b326a601b2Patch
- https://git.kernel.org/stable/c/dd815e6e3918dc75a49aaabac36e4f024d675101Patch
- https://git.kernel.org/stable/c/e7ff754e339e3d5ce29aa9f95352d0186df8fbd9Patch
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H(CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)- Faiblesse
- CWE-125 · Corruption mémoire