smb: client: fix race with concurrent opens in rename(2) (Linux Linux)

CVE-2025-39825
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
É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: fix race with concurrent opens in rename(2) Besides sending the rename request to the server, the rename process also involves closing any deferred close, waiting for outstanding I/O to complete as well as marking all existing open handles as deleted to prevent them from deferring closes, which increases the race window for potential concurrent opens on the target file. Fix this by unhashing the dentry in advance to prevent any concurrent opens on the target.

Faiblesses (CWE)

  • CWE-362 — Situation de compétition

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:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/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 78c09634f7dc061a3bd09704cdbebb3762a45cdf < c9e7de284da0be5b44dbe79d71573f9f7f9b144c ; affected 78c09634f7dc061a3bd09704cdbebb3762a45cdf < 24b9ed739c8c5b464d983e12cf308982f3ae93c2 ; affected 78c09634f7dc061a3bd09704cdbebb3762a45cdf < c9991af5e09924f6f3b3e6996a5e09f9504b4358 ; affected 78c09634f7dc061a3bd09704cdbebb3762a45cdf < 289f945acb20b9b54fe4d13895e44aa58965ddb2 ; affected 78c09634f7dc061a3bd09704cdbebb3762a45cdf < d84291fc7453df7881a970716f8256273aca5747
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; unaffected 6.1.150 ≤ 6.1.* ; unaffected 6.6.104 ≤ 6.6.* ; unaffected 6.12.45 ≤ 6.12.* ; unaffected 6.16.5 ≤ 6.16.*

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