CVE-2025-37954

MEDIUM

Linux Kernel < 6.6.91, 6.7.0-6.12.29, 6.13.0-6.14.7 - Dentry Reference Leak via SMB Client Lease Break Race

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0015
EPSS Percentile 5.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (17)
linux/Kernel 6.13.0 - 6.14.7linux
linux/Kernel 6.6.0 - 6.6.91linux
linux/Kernel 6.7.0 - 6.12.29linux
Linux/Linux < 6.6
Linux/Linux 436be190fbf81e5d84040dabf9cb7be06a94dc5d
Linux/Linux 6.12.29 - 6.12.*
Linux/Linux 6.14.7 - 6.14.*
Linux/Linux 6.15
Linux/Linux 6.5.10 - 6.6
Linux/Linux 6.6
... and 7 more
Published May 20, 2025
Tracked Since Feb 18, 2026