๐Ÿ” CVE Alert

CVE-2025-40328

UNKNOWN 0.0

smb: client: fix potential UAF in smb2_close_cached_fid()

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published Dec 9, 2025
Last Updated May 11, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new unknown vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Linux / Linux
ebe98f1447bbccf8228335c62d86af02a0ed23f7 < cb52d9c86d70298de0ab7c7953653898cbc0efd6 ebe98f1447bbccf8228335c62d86af02a0ed23f7 < 065bd62412271a2d734810dd50336cae88c54427 ebe98f1447bbccf8228335c62d86af02a0ed23f7 < bdb596ceb4b7c3f28786a33840263728217fbcf5 ebe98f1447bbccf8228335c62d86af02a0ed23f7 < 734e99623c5b65bf2c03e35978a0b980ebc3c2f8
Linux / Linux
6.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/cb52d9c86d70298de0ab7c7953653898cbc0efd6 git.kernel.org: https://git.kernel.org/stable/c/065bd62412271a2d734810dd50336cae88c54427 git.kernel.org: https://git.kernel.org/stable/c/bdb596ceb4b7c3f28786a33840263728217fbcf5 git.kernel.org: https://git.kernel.org/stable/c/734e99623c5b65bf2c03e35978a0b980ebc3c2f8