keys: fix out-of-bounds read in keyring_get_key_chunk() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.12 % · centile 2 ()
- É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: keys: fix out-of-bounds read in keyring_get_key_chunk() For description-level chunks keyring_get_key_chunk() advances the read pointer by level * sizeof(long) past the inline prefix but only bounds-checks the prefix, so a long enough key description is read past its kmemdup(desc, desc_len + 1) allocation. Compute the full byte offset and bounds-check the description against it before reading. The walk only reaches a description-level chunk when two keys collide through the hash, x, type and domain_tag chunks, so this is reached from an unprivileged add_key(2) with a crafted pair of same-type keys whose index hashes collide; KASAN reports a slab-out-of-bounds read.
Références
- https://git.kernel.org/stable/c/4c0c26f751e50d3027eacc4d7d0fabc31f1d7e6b
- https://git.kernel.org/stable/c/79916f40d4ab1b4ae694d8c024fd179454bfe46e
- https://git.kernel.org/stable/c/e5b01998cef8d7f613200230ccaadebe5de9135c
- https://git.kernel.org/stable/c/d1933e03e8c74a018550c31a393b79c4d95bff40
- https://git.kernel.org/stable/c/3a744838453fb9309ce5a5526d3252e211d60152
- https://git.kernel.org/stable/c/e9417d21a22ad2ec398e78fcf084b717ce92cf2f
- https://git.kernel.org/stable/c/8dba33c1e779d0fb9a2acb31e354cf0fc0229111
- https://git.kernel.org/stable/c/63918731f9ae25b5deb022f118e941e6dddfcef4
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | Linux |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-59632
- GCVE · GCVE-0-2026-74567
Avis du CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · 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
- CERTFR-2026-AVI-1255 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1232 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1202 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1164 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1163 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1090 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected f771fde82051976a6fc0fd570f8b86de4a92124b < 4c0c26f751e50d3027eacc4d7d0fabc31f1d7e6b ; affected f771fde82051976a6fc0fd570f8b86de4a92124b < 79916f40d4ab1b4ae694d8c024fd179454bfe46e ; affected f771fde82051976a6fc0fd570f8b86de4a92124b < e5b01998cef8d7f613200230ccaadebe5de9135c ; affected f771fde82051976a6fc0fd570f8b86de4a92124b < d1933e03e8c74a018550c31a393b79c4d95bff40 ; affected f771fde82051976a6fc0fd570f8b86de4a92124b < 3a744838453fb9309ce5a5526d3252e211d60152 ; affected f771fde82051976a6fc0fd570f8b86de4a92124b < e9417d21a22ad2ec398e78fcf084b717ce92cf2f |
| Linux · Linux | affected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.151 ≤ 6.6.* |
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 |