smb: client: validate the data area in SMB2_read() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.23 % · centile 15 ()
- É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: validate the data area in SMB2_read() SMB2_read() copies le32_to_cpu(rsp->DataLength) bytes from (char *)rsp + rsp->DataOffset without checking that the range lies within the response actually received. A READ response with DataOffset == 0 makes smb2_get_data_area_len() zero the data length, so smb2_check_message() accepts a frame as short as the fixed response, while SMB2_read() still uses the server-supplied DataLength, capped only by CIFS_MAX_MSGSIZE and the caller's length. A malicious server can answer the synchronous read used by the mfsymlinks (or SFU) symlink parser with an 81-byte READ response carrying DataOffset 0 and DataLength 1067, making the client copy 1067 bytes from a 448-byte receive object (KASAN slab-out-of-bounds; up to 16 KiB in the general case). Clamp a zero (or header-overlapping) DataOffset to read_rsp_size, as handle_read_data() does for the asynchronous path, and reject the response unless DataOffset + DataLength fits within rsp_iov.iov_len. The SMB1 helper was fixed the same way in 5be5bdda5863.
Références
- https://git.kernel.org/stable/c/986d13d390167b8dc7139c8725cdbf94ba1f4941
- https://git.kernel.org/stable/c/28419979a1cde58a00cb67620fab6df708b70e47
- https://git.kernel.org/stable/c/a1e3edee5ec0f261b048a82bfda071195a78dc0b
- https://git.kernel.org/stable/c/ba80cf4a8baa546c709fb0581c04d9b3d9f17c24
- https://git.kernel.org/stable/c/b949f6a0c08a57439334f39754ee7bd3c315d4a3
- https://git.kernel.org/stable/c/082ae8a34170b7388106aa0897f47405f0824946
- https://git.kernel.org/stable/c/1ba1937de005e261a8858f45bfef5da7458df94c
- https://git.kernel.org/stable/c/2ec9cdf469dd32bcf33073aeb30c08e9356e0ca1
- https://github.com/suruurism/cve-writeups-and-pocs/blob/main/CVE-2026-99272/CVE-2026-99272.md
Références européennes
- ENISA EUVD · EUVD-2026-119290
- GCVE · GCVE-0-2026-99272
Avis du CERT-FR
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1638 — 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 : ≥ d8e050398d23ef7c019c96200b80d73f4e5cec0c < 986d13d390167b8dc7139c8725cdbf94ba1f4941 affectée : ≥ d8e050398d23ef7c019c96200b80d73f4e5cec0c < 28419979a1cde58a00cb67620fab6df708b70e47 affectée : ≥ d8e050398d23ef7c019c96200b80d73f4e5cec0c < a1e3edee5ec0f261b048a82bfda071195a78dc0b affectée : ≥ d8e050398d23ef7c019c96200b80d73f4e5cec0c < ba80cf4a8baa546c709fb0581c04d9b3d9f17c24 affectée : ≥ d8e050398d23ef7c019c96200b80d73f4e5cec0c < b949f6a0c08a57439334f39754ee7bd3c315d4a3 affectée : ≥ d8e050398d23ef7c019c96200b80d73f4e5cec0c < 082ae8a34170b7388106aa0897f47405f0824946 affectée : ≥ d8e050398d23ef7c019c96200b80d73f4e5cec0c < 1ba1937de005e261a8858f45bfef5da7458df94c affectée : ≥ d8e050398d23ef7c019c96200b80d73f4e5cec0c < 2ec9cdf469dd32bcf33073aeb30c08e9356e0ca1 Autres versions : non affectée |
| Linux · Linux | affectée : 3.7 non affectée : ≥ 0 < 3.7 non affectée : ≥ 5.10.275 ≤ 5.10.* non affectée : ≥ 5.15.226 ≤ 5.15.* non affectée : ≥ 6.1.193 ≤ 6.1.* non affectée : ≥ 6.6.163 ≤ 6.6.* non affectée : ≥ 6.12.118 ≤ 6.12.* non affectée : ≥ 6.18.64 ≤ 6.18.* non affectée : ≥ 7.3.2 ≤ 7.3.* non affectée : ≥ 7.4-rc1 ≤ * 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 |