smb: server: size directory name conversion buffer correctly (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.60 % · centile 50 ()
- É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: smb: server: size directory name conversion buffer correctly A 2048-byte ASCII directory name needs 4098 bytes when converted to UTF-16, including the terminator. ksmbd_convert_dir_info_name() caps its allocation at PATH_MAX and writes past the end of that buffer. Allocate space for one UTF-16 code unit per input byte plus the terminator. Use kmalloc_array() to check the size calculation.
Références
- https://git.kernel.org/stable/c/534f1360fa87a1a72a5f25541103c66b8d42f73c
- https://git.kernel.org/stable/c/9b9d681fd3a78932331ab1246503f102d489cd63
- https://git.kernel.org/stable/c/84e2e9e1167ea4a6ea68b90eb190bd0350e7be74
- https://git.kernel.org/stable/c/e736ee3660eac5922729a9b3c55cecd74611663c
- https://git.kernel.org/stable/c/93d1fbe38f0c1f230fdd24410353b1fd9e5883d3
- https://git.kernel.org/stable/c/c8a4c381fd68895bbb077df9b5322c8987b31cf5
- https://git.kernel.org/stable/c/f1f37834eaba5904103af1f18afe3510c7e9dc71
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/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-130047
- GCVE · GCVE-0-2026-99389
Avis du CERT-FR
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 534f1360fa87a1a72a5f25541103c66b8d42f73c affectée : ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 9b9d681fd3a78932331ab1246503f102d489cd63 affectée : ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 84e2e9e1167ea4a6ea68b90eb190bd0350e7be74 affectée : ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < e736ee3660eac5922729a9b3c55cecd74611663c affectée : ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 93d1fbe38f0c1f230fdd24410353b1fd9e5883d3 affectée : ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < c8a4c381fd68895bbb077df9b5322c8987b31cf5 affectée : ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < f1f37834eaba5904103af1f18afe3510c7e9dc71 Autres versions : non affectée |
| Linux · Linux | affectée : 5.15 non affectée : ≥ 0 < 5.15 non affectée : ≥ 5.15.226 ≤ 5.15.* non affectée : ≥ 6.1.193 ≤ 6.1.* non affectée : ≥ 6.6.163 ≤ 6.6.* non affectée : ≥ 6.12.117 ≤ 6.12.* non affectée : ≥ 6.18.61 ≤ 6.18.* non affectée : ≥ 7.3.2 ≤ 7.3.* non affectée : ≥ 7.4-rc1 ≤ * 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 |