CVE-2025-37954

Source
https://cve.org/CVERecord?id=CVE-2025-37954
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37954.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-37954
Downstream
BELL (1)
DEBIAN (1)
ECHO (1)
MGASA (2)
MINI (1)
OESA (3)
ROOT (4)
SUSE (11)
UBUNTU (1)
Related
Published
2025-05-20T16:01:48Z
Modified
2026-10-20T10:30:58Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
smb: client: Avoid race in open_cached_dir with lease breaks
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37954.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
81ba10959970d15c388bf29866b01b62f387e6a3
Fixed
2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9
Fixed
571dcf3d27b24800c171aea7b5e04ff06d10e2e9
Fixed
2407265dc32bc8cc45b62a612c2a214ba9038e8b
Fixed
3ca02e63edccb78ef3659bebc68579c7224a6ca2
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6.5.10
Fixed
6.6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
436be190fbf81e5d84040dabf9cb7be06a94dc5d

Affected versions

v6.*
v6.5.10
v6.5.11
v6.5.12
v6.5.13

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37954.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.0
Fixed
6.6.91
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.29
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.14.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37954.json"