smb: client: Fix next buffer leak in receive_encrypted_standard() (Linux Linux)

CVE-2026-64381
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: Fix next buffer leak in receive_encrypted_standard() receive_encrypted_standard() allocates next_buffer before checking whether the number of compound PDUs already reached MAX_COMPOUND. If the limit check fails, the function returns immediately and the newly allocated next_buffer is not assigned to server->smallbuf/server->bigbuf, making it leaked. Move the MAX_COMPOUND check before allocating next_buffer.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected b24df3e30cbf48255db866720fb71f14bf9d2f39 < 94e4f672db029414b9888b5137a7559f1febf2d8 ; affected b24df3e30cbf48255db866720fb71f14bf9d2f39 < 68fc0b6cc03ca58060c0f36454e169f5fe258974 ; affected b24df3e30cbf48255db866720fb71f14bf9d2f39 < 07e0ab81df1790afa35732a4e8e07ff831b29008 ; affected b24df3e30cbf48255db866720fb71f14bf9d2f39 < 9136a08dc29328edd9867f2545e73906ac9df93b ; affected b24df3e30cbf48255db866720fb71f14bf9d2f39 < 67097772df7791c53d608f04bd31c676ccf79b83 ; affected b24df3e30cbf48255db866720fb71f14bf9d2f39 < 297243e365fc9fe2f8e9b7dd535a65d922cd108b
Linux · Linuxaffected 4.19 ; unaffected 0 < 4.19 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.*

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