HID: bpf: Fix hid_bpf_get_data() range check (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.18 % · centile 7 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: HID: bpf: Fix hid_bpf_get_data() range check hid_bpf_get_data() returns a pointer into the HID-BPF context data when the caller-provided offset and size fit inside ctx->allocated_size. The current check adds rdwr_buf_size and offset before comparing the result against ctx->allocated_size. Since both values are unsigned, a very large size can wrap the sum below ctx->allocated_size and make the helper return a pointer even though the requested range is not contained in the backing buffer. Use check_add_overflow() to reject wrapped range ends before comparing the requested range end against ctx->allocated_size.
Références
- https://git.kernel.org/stable/c/f72176bde0cc0e709e41ab170c71e8f229232af6
- https://git.kernel.org/stable/c/ca373549140dfb386aa2de38364b58441b1f4885
- https://git.kernel.org/stable/c/61a959b82f1aecd6d2d35c208013dd077cac9d10
- https://git.kernel.org/stable/c/f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f
- https://git.kernel.org/stable/c/2d044049421dd48212b28646a850749d4a2d57fa
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-59251
- GCVE · GCVE-0-2026-72352
Avis du CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1372 — Multiples vulnérabilités dans les produits SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1335 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 658ee5a64fcfbbf758447fa3af425729eaabb0dc < f72176bde0cc0e709e41ab170c71e8f229232af6 ; affected 658ee5a64fcfbbf758447fa3af425729eaabb0dc < ca373549140dfb386aa2de38364b58441b1f4885 ; affected 658ee5a64fcfbbf758447fa3af425729eaabb0dc < 61a959b82f1aecd6d2d35c208013dd077cac9d10 ; affected 658ee5a64fcfbbf758447fa3af425729eaabb0dc < f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f ; affected 658ee5a64fcfbbf758447fa3af425729eaabb0dc < 2d044049421dd48212b28646a850749d4a2d57fa |
| Linux · Linux | affected 6.3 ; unaffected 0 < 6.3 ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.97 ≤ 6.12.* ; unaffected 6.18.40 ≤ 6.18.* ; unaffected 7.1.5 ≤ 7.1.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |