smb: client: avoid using uninitialized SIDs in cifs_posix_to_fattr() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.21 % · centile 12 ()
- É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: smb: client: avoid using uninitialized SIDs in cifs_posix_to_fattr() cifs_posix_to_fattr() ignores the return value of posix_info_parse(). When a malformed POSIX directory entry is encountered (e.g. invalid SID lengths from an untrusted server), posix_info_parse() returns -1 without populating the 'parsed' struct. The uninitialized stack memory in parsed.owner and parsed.group is then passed to sid_to_id(), which processes the garbage bytes and passes them to request_key() to construct a SID string, potentially leaking kernel stack contents to the userspace idmap daemon. Fix this by checking the return value and skipping the SID-to-id mapping when parsing fails. The remaining fattr fields (timestamps, mode, etc.) are populated directly from the 'info' pointer so they are unaffected.
Références
- https://git.kernel.org/stable/c/1915b69e36906968e2b698699d0f219875ae846e
- https://git.kernel.org/stable/c/604feb3e8141bf11f5afd48d36d401fee5af9536
- https://git.kernel.org/stable/c/33106019c3be57b5fc6411cfaad6d98214a51265
- https://git.kernel.org/stable/c/2be31f252ade791b84f7164991f14436aed1d4b9
- https://git.kernel.org/stable/c/c9a8b60ce140a68d172452f418137fc7ddbae7db
- https://git.kernel.org/stable/c/da6e25842431982d5a53cf00d925b98c690f4467
Références européennes
- ENISA EUVD · EUVD-2026-86862
- GCVE · GCVE-0-2026-97554
Avis du CERT-FR
- CERTFR-2026-AVI-1432 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 9934430e2178d5164eb1ac91a9b092f9e7e64745 < 1915b69e36906968e2b698699d0f219875ae846e ; affected 9934430e2178d5164eb1ac91a9b092f9e7e64745 < 604feb3e8141bf11f5afd48d36d401fee5af9536 ; affected 9934430e2178d5164eb1ac91a9b092f9e7e64745 < 33106019c3be57b5fc6411cfaad6d98214a51265 ; affected 9934430e2178d5164eb1ac91a9b092f9e7e64745 < 2be31f252ade791b84f7164991f14436aed1d4b9 ; affected 9934430e2178d5164eb1ac91a9b092f9e7e64745 < c9a8b60ce140a68d172452f418137fc7ddbae7db ; affected 9934430e2178d5164eb1ac91a9b092f9e7e64745 < da6e25842431982d5a53cf00d925b98c690f4467 |
| Linux · Linux | affected 5.10 ; unaffected 0 < 5.10 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.114 ≤ 6.12.* ; unaffected 6.18.57 ≤ 6.18.* |
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 |