smb: client: Avoid race in open_cached_dir with lease breaks (Linux Linux)

CVE-2025-37954
HIGH 7.5

En bref

Source
NVD
EPSS
EPSS 0.37 % · centile 31 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: Avoid race in open_cached_dir with lease breaks A pre-existing valid cfid returned from find_or_create_cached_dir might race with a lease break, meaning open_cached_dir doesn't consider it valid, and thinks it's newly-constructed. This leaks a dentry reference if the allocation occurs before the queued lease break work runs. Avoid the race by extending holding the cfid_list_lock across find_or_create_cached_dir and when the result is checked.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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 81ba10959970d15c388bf29866b01b62f387e6a3 < 2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9 ; affected 81ba10959970d15c388bf29866b01b62f387e6a3 < 571dcf3d27b24800c171aea7b5e04ff06d10e2e9 ; affected 81ba10959970d15c388bf29866b01b62f387e6a3 < 2407265dc32bc8cc45b62a612c2a214ba9038e8b ; affected 81ba10959970d15c388bf29866b01b62f387e6a3 < 3ca02e63edccb78ef3659bebc68579c7224a6ca2 ; affected 436be190fbf81e5d84040dabf9cb7be06a94dc5d ; affected 6.5.10 < 6.6
Linux · Linuxaffected 6.6 ; unaffected 0 < 6.6 ; unaffected 6.6.91 ≤ 6.6.* ; unaffected 6.12.29 ≤ 6.12.* ; unaffected 6.14.7 ≤ 6.14.* ; unaffected 6.15 ≤ *

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