smb: client: fix heap overflow in cifs_do_set_acl() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.17 % · centile 6 ()
- É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: client: fix heap overflow in cifs_do_set_acl() cifs_set_acl() validates ACL size using posix_acl_xattr_size(): 4 + (count * 8) // 4-byte header + 8 bytes per ACE cifs_do_set_acl() then calls posix_acl_to_cifs() to write the CIFS wire format into the same buffer: 6 + (count * 10) // 6-byte header + 10 bytes per ACE An ACL that passes the xattr-based check in cifs_set_acl() can overflow the heap when posix_acl_to_cifs() writes the larger CIFS format. Validate the CIFS format size against the remaining buffer space and USHRT_MAX before converting--data_count is __u16, so sizes above USHRT_MAX truncate the on-wire packet length, causing the server to apply a partial ACL. Replace MaxDataCount = 1000 with min(CIFSMaxBufSize, USHRT_MAX).
Références
- https://git.kernel.org/stable/c/68652afb9b9adf70125971abee9b95341e042249
- https://git.kernel.org/stable/c/9312a00215602ba028495ef3fa00fb84af0478e0
- https://git.kernel.org/stable/c/d96f3365ce61c5f39602955af43c8174548dee98
- https://git.kernel.org/stable/c/596b4062e6c75bdd85a7f2b7f2087a872dc420ac
- https://git.kernel.org/stable/c/1dac61e2c29d1a71784604b48cf3b1234a65ec29
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/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-112010
- GCVE · GCVE-0-2026-99110
Avis du CERT-FR
- CERTFR-2026-AVI-1676 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — 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 : ≥ dc1af4c4b4721abfa07b351063825acc7e69cc66 < 68652afb9b9adf70125971abee9b95341e042249 affectée : ≥ dc1af4c4b4721abfa07b351063825acc7e69cc66 < 9312a00215602ba028495ef3fa00fb84af0478e0 affectée : ≥ dc1af4c4b4721abfa07b351063825acc7e69cc66 < d96f3365ce61c5f39602955af43c8174548dee98 affectée : ≥ dc1af4c4b4721abfa07b351063825acc7e69cc66 < 596b4062e6c75bdd85a7f2b7f2087a872dc420ac affectée : ≥ dc1af4c4b4721abfa07b351063825acc7e69cc66 < 1dac61e2c29d1a71784604b48cf3b1234a65ec29 Autres versions : non affectée |
| Linux · Linux | affectée : 6.2 non affectée : ≥ 0 < 6.2 non affectée : ≥ 6.6.161 ≤ 6.6.* non affectée : ≥ 6.12.115 ≤ 6.12.* non affectée : ≥ 6.18.59 ≤ 6.18.* non affectée : ≥ 7.2.13 ≤ 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 |