Skip to content

CVE-2025-37954 smb: client: Avoid race in open_cached_dir with lease breaks

MediumCVSS 5.5 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Linux KernelUbuntuDebianCloud Platforms

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.

Upgrade path

7 packages: 6 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
azure linux kernel(Azure Linux 3.0) All versions No fix listed No fix yet
debian/linux(Debian 13) < 6.12.29-1 6.12.29-1 Fixed
debian/linux(Debian 14) < 6.12.29-1 6.12.29-1 Fixed
Linux kernel < 6.6.91; < 6.12.29; < 6.14.7; < 6.15 +14 more 2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9, 3ca02e63edccb78ef3659bebc68579c7224a6ca2, 6.6, 6.6.91, 6.12.29, 6.14.7, 6.15, 571dcf3d27b24800c171aea7b5e04ff06d10e2e9, 2407265dc32bc8cc45b62a612c2a214ba9038e8b Fixed
Microsoft azure linux < 6.6.92.2-1 6.6.92.2-1 Fixed
ubuntu/linux(Ubuntu 24.04) < 6.8.0-100.100 6.8.0-100.100 Fixed
ubuntu/linux-raspi(Ubuntu 24.04) < 6.8.0-1047.51 6.8.0-1047.51 Fixed

Affected products

ProductAffected versionsFixed in
azure linux kernel(Azure Linux:3.0) All versions No fix listed
Microsoft azure linux < 6.6.92.2-1 6.6.92.2-1
debian/linux(Debian:13) < 6.12.29-1 6.12.29-1
debian/linux(Debian:14) < 6.12.29-1 6.12.29-1
Linux kernel >= 81ba10959970d15c388bf29866b01b62f387e6a3, < 2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9 2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9
Linux kernel >= 81ba10959970d15c388bf29866b01b62f387e6a3, < 571dcf3d27b24800c171aea7b5e04ff06d10e2e9 571dcf3d27b24800c171aea7b5e04ff06d10e2e9
Linux kernel >= 81ba10959970d15c388bf29866b01b62f387e6a3, < 2407265dc32bc8cc45b62a612c2a214ba9038e8b 2407265dc32bc8cc45b62a612c2a214ba9038e8b
Linux kernel >= 81ba10959970d15c388bf29866b01b62f387e6a3, < 3ca02e63edccb78ef3659bebc68579c7224a6ca2 3ca02e63edccb78ef3659bebc68579c7224a6ca2
Linux kernel = 436be190fbf81e5d84040dabf9cb7be06a94dc5d No fix listed
Linux kernel >= 6.5.10, < 6.6 6.6
Linux kernel = 6.6 No fix listed
Linux kernel < 6.6.91 6.6.91
Linux kernel < 6.12.29 6.12.29
Linux kernel < 6.14.7 6.14.7
Linux kernel < 6.15 6.15
ubuntu/linux(Ubuntu:24.04) < 6.8.0-100.100 6.8.0-100.100
ubuntu/linux-raspi(Ubuntu:24.04) < 6.8.0-1047.51 6.8.0-1047.51
Linux kernel >= 6.7, < 6.12.29 6.12.29
Linux kernel >= 6.13, < 6.14.7 6.14.7
Linux kernel = 6.15-rc1 No fix listed
Linux kernel = 6.15-rc2 No fix listed
Linux kernel = 6.15-rc3 No fix listed
Linux kernel = 6.15-rc4 No fix listed
Linux kernel = 6.15-rc5 No fix listed

References