ksmbd: reserve space for the UTF-16 terminator in stream info (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.32 % · percentile 27 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: reserve space for the UTF-16 terminator in stream info smb_strtoUTF16() always writes a terminating zero UTF-16 unit after the converted characters, but get_file_stream_info() budgets only sizeof(struct smb2_file_stream_info) + streamlen * 2 for a stream entry and sizeof(struct smb2_file_stream_info) + 7 * 2 for the trailing "::$DATA" entry. When an entry exactly fills the 448-byte small response buffer, the terminator is written two bytes past the allocation. Reserve one extra UTF-16 unit in both budget checks. The terminator is not part of the wire format, so the reported lengths are unchanged.
References
- https://git.kernel.org/stable/c/9703d2f43587570456712333fe04c2bdbc24cef3
- https://git.kernel.org/stable/c/a45a8d283bc5225a9b364c4f262a3cab9ced1018
- https://git.kernel.org/stable/c/d6642b5b031fb988e65b8e8bfe7ad130f728e955
- https://git.kernel.org/stable/c/583ede545a14f275a959772b5e1e50fe3e14b861
- https://git.kernel.org/stable/c/06a751809ebd33e95b05bf733697318a17a4872b
- https://git.kernel.org/stable/c/0e64f89563164719ceb1aa33f2a8bfd6391fa340
- https://git.kernel.org/stable/c/a025c4991a7d83edc4dd339e3ea86d8ff6226eca
- https://github.com/suruurism/cve-writeups-and-pocs/blob/main/CVE-2026-99273/CVE-2026-99273.md
European references
- ENISA EUVD · EUVD-2026-119289
- GCVE · GCVE-0-2026-99273
CERT-FR advisories
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1594 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 9703d2f43587570456712333fe04c2bdbc24cef3 affected : ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < a45a8d283bc5225a9b364c4f262a3cab9ced1018 affected : ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < d6642b5b031fb988e65b8e8bfe7ad130f728e955 affected : ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 583ede545a14f275a959772b5e1e50fe3e14b861 affected : ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 06a751809ebd33e95b05bf733697318a17a4872b affected : ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 0e64f89563164719ceb1aa33f2a8bfd6391fa340 affected : ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < a025c4991a7d83edc4dd339e3ea86d8ff6226eca Other versions : unaffected |
| Linux · Linux | affected : 5.15 unaffected : ≥ 0 < 5.15 unaffected : ≥ 5.15.226 ≤ 5.15.* unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.117 ≤ 6.12.* unaffected : ≥ 6.18.61 ≤ 6.18.* unaffected : ≥ 7.3.2 ≤ 7.3.* unaffected : ≥ 7.4-rc1 ≤ * Other versions : affected |
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 |