smb: client: reject short SESSION_SETUP responses (Linux Linux)

CVE-2026-99275
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 12 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: reject short SESSION_SETUP responses smb2_check_message() accepts frames shorter than struct smb2_pdu when the SMB2 status is non-zero, before the minimum-PDU check added by b4694f269e66d. A 64-byte STATUS_MORE_PROCESSING_REQUIRED SESSION_SETUP response is therefore accepted even though it cannot contain the SecurityBufferOffset and SecurityBufferLength fields. The parser then reads those fields from stale bytes left in the reused receive buffer by an earlier frame. With a long stale SecurityBufferLength, decode_ntlmssp_challenge() copies up to about 64 KB from beyond the receive object and sends the data back to the server in the NTLMv2 AUTHENTICATE target info. Reject short MPR SESSION_SETUP responses before the short-error path, and validate SecurityBufferOffset + SecurityBufferLength against the received response length before decoding the challenge. The ordering bypass is not new: the short-error early return predates b4694f269e66d, and the unvalidated SecurityBufferLength read predates the 2016 raw NTLMSSP split in 166cea4dc3a4, so all supported stable trees are affected. Reproduced on 6.6.87.2; the path is unchanged on mainline.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 5478f9ba9a34d660eb3227dcd16314689c51f946 < 136128f84f13849b732ffabf24c5ee891a2033d4
affectée : ≥ 5478f9ba9a34d660eb3227dcd16314689c51f946 < 9a0b6567936c3f8fef34c4f4a995f0a1473af7d0
affectée : ≥ 5478f9ba9a34d660eb3227dcd16314689c51f946 < df63e01933886153e40706483b9635b2456ad91f
affectée : ≥ 5478f9ba9a34d660eb3227dcd16314689c51f946 < 4d8930afa3446041358a7db33e7b23a0bb9459b5
Autres versions : non affectée
Linux · Linux
affectée : 3.6
non affectée : ≥ 0 < 3.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

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD