Bug 2367567 (CVE-2025-37954) - CVE-2025-37954 kernel: smb: client: Avoid race in open_cached_dir with lease breaks
Summary: CVE-2025-37954 kernel: smb: client: Avoid race in open_cached_dir with lease ...
Keywords:
Status: NEW
Alias: CVE-2025-37954
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-20 17:01 UTC by OSIDB Bzimport
Modified: 2025-05-21 00:58 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-20 17:01:15 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.