ksmbd: fix unexpectedly changed path in ksmbd_vfs_kern_path_locked (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.20 % · percentile 10 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix unexpectedly changed path in ksmbd_vfs_kern_path_locked When `ksmbd_vfs_kern_path_locked` met an error and it is not the last entry, it will exit without restoring changed path buffer. But later this buffer may be used as the filename for creation.
References
- https://git.kernel.org/stable/c/13e41c58c74baa71f34c0830eaa3c29d53a6e964
- https://git.kernel.org/stable/c/65b31b9d992c0fb0685c51a0cf09993832734fc4
- https://git.kernel.org/stable/c/51669f4af5f7959565b48e55691ba92fabf5c587
- https://git.kernel.org/stable/c/2ac538e40278a2c0c051cca81bcaafc547d61372
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2025-2609
- GCVE · GCVE-0-2025-21660
CERT-FR advisories
- CERTFR-2025-AVI-0254 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0184 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0134 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.1.113 < 6.1.125cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.6.54 < 6.6.72cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.10.13 < 6.11cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.11.2 < 6.12.10cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected d1b2d2a9c912fc7b788985fbaf944e80f4b3f2af < 13e41c58c74baa71f34c0830eaa3c29d53a6e964 ; affected 6ab95e27b77730de3fa2d601db3764490c5eede2 < 65b31b9d992c0fb0685c51a0cf09993832734fc4 ; affected c5a709f08d40b1a082e44ffcde1aea4d2822ddd5 < 51669f4af5f7959565b48e55691ba92fabf5c587 ; affected c5a709f08d40b1a082e44ffcde1aea4d2822ddd5 < 2ac538e40278a2c0c051cca81bcaafc547d61372 ; affected d205cb1a13b37b2660df70a972dedc8c4ba1c2e8 ; affected c1e27b70e79050530c671b9dab688386c86f039a |
| Linux · Linux | affected 6.12 ; unaffected 0 < 6.12 ; unaffected 6.1.125 ≤ 6.1.* ; unaffected 6.6.72 ≤ 6.6.* ; unaffected 6.12.10 ≤ 6.12.* ; unaffected 6.13 ≤ * |
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 |