{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-37954","id":"CVE-2025-37954","title":"smb: client: Avoid race in open_cached_dir with lease breaks","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: Avoid race in open_cached_dir with lease breaks\n\nA pre-existing valid cfid returned from find_or_create_cached_dir might\nrace with a lease break, meaning open_cached_dir doesn't consider it\nvalid, and thinks it's newly-constructed. This leaks a dentry reference\nif the allocation occurs before the queued lease break w","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: Avoid race in open_cached_dir with lease breaks\n\nA pre-existing valid cfid returned from find_or_create_cached_dir might\nrace with a lease break, meaning open_cached_dir doesn't consider it\nvalid, and thinks it's newly-constructed. This leaks a dentry reference\nif the allocation occurs before the queued lease break work runs.\n\nAvoid the race by extending holding the cfid_list_lock across\nfind_or_create_cached_dir and when the result is checked.","published":"2025-05-20T16:01:48.561Z","updated":"2026-11-17T07:02:40.903686616Z","reserved":"2025-04-16T04:51:23.973Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"81ba10959970d15c388bf29866b01b62f387e6a3","lessThan":"2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9","status":"affected","versionType":"git"},{"version":"81ba10959970d15c388bf29866b01b62f387e6a3","lessThan":"571dcf3d27b24800c171aea7b5e04ff06d10e2e9","status":"affected","versionType":"git"},{"version":"81ba10959970d15c388bf29866b01b62f387e6a3","lessThan":"2407265dc32bc8cc45b62a612c2a214ba9038e8b","status":"affected","versionType":"git"},{"version":"81ba10959970d15c388bf29866b01b62f387e6a3","lessThan":"3ca02e63edccb78ef3659bebc68579c7224a6ca2","status":"affected","versionType":"git"},{"version":"436be190fbf81e5d84040dabf9cb7be06a94dc5d","status":"affected","versionType":"git"},{"version":"6.5.10","lessThan":"6.6","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","status":"unaffected","versionType":"semver"},{"version":"6.6.91","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.29","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.14.7","lessThanOrEqual":"6.14.*","status":"unaffected","versionType":"semver"},{"version":"6.15","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/571dcf3d27b24800c171aea7b5e04ff06d10e2e9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2407265dc32bc8cc45b62a612c2a214ba9038e8b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3ca02e63edccb78ef3659bebc68579c7224a6ca2","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37954.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37954","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00365,"epssPercentile":0.31015,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-37954","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37954","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-37954","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-37954","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}