ceph: properly decrypt filenames in vmalloc() buffers (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.52 % · centile 45 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: ceph: properly decrypt filenames in vmalloc() buffers The fscrypt subsystem uses the scatterlist crypto API, inheriting its requirement that any buffers are in the linear mapping region. However, the messenger client uses kvmalloc() to create buffers for messages, which will occasionally place those buffers in the vmalloc() region when physical memory fragmentation doesn't permit a large enough kmalloc(). The various callers of ceph_fname_to_usr() directly pass (slices of) raw messages from the MDS without considering that the messages may be in vmalloc() buffers, resulting in oopses especially on non-x86 platforms (see 'Closes:' for more details and a reproducer). Make ceph_fname_to_usr() explicitly tolerant of vmalloc()-allocated fname->ctext, fname->name, and/or oname->name buffers, using `tname` (which, when non-null, must be a linear address; when null, is briefly allocated as necessary) as a bounce buffer to avoid passing any inappropriate addresses to fscrypt_fname_disk_to_usr(). Additionally change parse_reply_info_readdir() -- the only function to supply its own `tname` -- to follow the new "tname must never come from vmalloc()" rule by passing NULL when the message is not in the linear region. Though this causes a per-dentry kmalloc()+kfree(), this overhead exists only when processing the minority of messages that spill into vmalloc(). My (crude) testing puts this at only about 1 in 8,000 readdir messages. Still, if the overhead proves unreasonable in the future, it is easy enough to mitigate: a future change could allocate a bounce buffer in parse_reply_info_readdir() and use that as `tname` instead.
Références
- https://git.kernel.org/stable/c/23c5cc9652c6ee85617002cb66e1068395045de6
- https://git.kernel.org/stable/c/93729594af506557a86f8b603be7ac5f3370eeca
- https://git.kernel.org/stable/c/110747ff535e3d98ac17d68dbd056bb6ef000e23
- https://git.kernel.org/stable/c/3b467c68803d7c7e82678289e598afd44faa6101
- https://git.kernel.org/stable/c/e939fc6a7bd969a58a150b7f188c1047138403e3
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/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-80650
- GCVE · GCVE-0-2026-90042
Avis du CERT-FR
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1593 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1535 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1470 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 457117f077c6749d1e28469eae91fb69c9806768 < 23c5cc9652c6ee85617002cb66e1068395045de6 affectée : ≥ 457117f077c6749d1e28469eae91fb69c9806768 < 93729594af506557a86f8b603be7ac5f3370eeca affectée : ≥ 457117f077c6749d1e28469eae91fb69c9806768 < 110747ff535e3d98ac17d68dbd056bb6ef000e23 affectée : ≥ 457117f077c6749d1e28469eae91fb69c9806768 < 3b467c68803d7c7e82678289e598afd44faa6101 affectée : ≥ 457117f077c6749d1e28469eae91fb69c9806768 < e939fc6a7bd969a58a150b7f188c1047138403e3 Autres versions : non affectée |
| Linux · Linux | affectée : 6.6 non affectée : ≥ 0 < 6.6 non affectée : ≥ 6.6.160 ≤ 6.6.* non affectée : ≥ 6.12.111 ≤ 6.12.* non affectée : ≥ 6.18.51 ≤ 6.18.* non affectée : ≥ 7.2.5 ≤ 7.2.* non affectée : ≥ 7.3 ≤ * Autres versions : affectée |
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 |