ksmbd: bound smb_check_perm_dacl() ACE walks by DACL size (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.49 % · centile 44 ()
- É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: ksmbd: bound smb_check_perm_dacl() ACE walks by DACL size smb_check_perm_dacl() validates that the DACL fits inside the NT security descriptor, but then bounds its two ACE walks by the remaining NTSD length (acl_size) rather than the DACL's declared size (pdacl_size). When pdacl->size is smaller than the trailing NTSD buffer, bytes after the declared DACL boundary - still inside the stored security descriptor - are parsed as ACEs during access checks. A crafted DACL can place an access-granting ACE beyond pdacl->size, and the current code accepts it during SMB2_CREATE access validation, while parse_dacl() and smb_inherit_dacl() stop at pdacl_size. Bound both ACE walks by pdacl_size to match the DACL boundary semantics used elsewhere in the server. Validation: - semantic KUnit harness shows the post-boundary ACE is selected before the fix and rejected (EACCES) after it - linux master (7.2-rc6), x86_64
Références
- https://git.kernel.org/stable/c/930dcdd888eabf166589e020dcbf6d15b5e13305
- https://git.kernel.org/stable/c/a2051ffe452afad52f580b85a3fd8851933b1e7c
- https://git.kernel.org/stable/c/a29f57a14c939586d84d7fd6a029bd1fd170098f
- https://git.kernel.org/stable/c/a4a307d149327dad5fb25187e1b03cebd1b04de6
- https://git.kernel.org/stable/c/8e4f75e979c1d9a51b0a48ac33d0cfd5f039ec67
- https://git.kernel.org/stable/c/79decd88dd3f0d42e7fb0689b1a7853bfa302459
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | Linux |
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-81746
- GCVE · GCVE-0-2026-90153
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-1595 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · 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-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · 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 : ≥ 8f0541186e9ad1b62accc9519cc2b7a7240272a7 < 930dcdd888eabf166589e020dcbf6d15b5e13305 affectée : ≥ 8f0541186e9ad1b62accc9519cc2b7a7240272a7 < a2051ffe452afad52f580b85a3fd8851933b1e7c affectée : ≥ 8f0541186e9ad1b62accc9519cc2b7a7240272a7 < a29f57a14c939586d84d7fd6a029bd1fd170098f affectée : ≥ 8f0541186e9ad1b62accc9519cc2b7a7240272a7 < a4a307d149327dad5fb25187e1b03cebd1b04de6 affectée : ≥ 8f0541186e9ad1b62accc9519cc2b7a7240272a7 < 8e4f75e979c1d9a51b0a48ac33d0cfd5f039ec67 affectée : ≥ 8f0541186e9ad1b62accc9519cc2b7a7240272a7 < 79decd88dd3f0d42e7fb0689b1a7853bfa302459 affectée : cb69d4d6f709f87c94afa28ae64c501576692171 affectée : 6e8f4abf584253cbaa596ea4ad13110cf61cd4c9 affectée : 8e33102309bd6839b2e2e158f93a7b378cb4655d affectée : ≥ 5.15.62 < 5.16 affectée : ≥ 5.18.18 < 5.19 affectée : ≥ 5.19.2 < 5.20 Autres versions : non affectée |
| Linux · Linux | affectée : 6.0 non affectée : ≥ 0 < 6.0 non affectée : ≥ 6.1.191 ≤ 6.1.* non affectée : ≥ 6.6.157 ≤ 6.6.* non affectée : ≥ 6.12.110 ≤ 6.12.* non affectée : ≥ 6.18.52 ≤ 6.18.* non affectée : ≥ 7.2.6 ≤ 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 |