CVE-2025-40328 — Linux vulnerability
34 documents8 sources
Severity
3.2LOWOSV
No vectorEPSS
0.0%
top 90.16%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 9
Latest updateApr 9
Description
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix potential UAF in smb2_close_cached_fid()
find_or_create_cached_dir() could grab a new reference after kref_put()
had seen the refcount drop to zero but before cfid_list_lock is acquired
in smb2_close_cached_fid(), leading to use-after-free.
Switch to kref_put_lock() so cfid_release() is called with
cfid_list_lock held, closing that gap.
Affected Packages6 packages
▶CVEListV5linux/linuxebe98f1447bbccf8228335c62d86af02a0ed23f7 — cb52d9c86d70298de0ab7c7953653898cbc0efd6+4