CVE-2025-40328
HIGH
MEDIUM
Priority: 0.04
BB Relevance:
68/100
Published: 2025-12-09
Modified: 2026-10-30
First seen: 2026-10-30
Status: active
Attack Surface
Network
Low Complexity
No Auth
Conf. Impact
Integ. Impact
CVSS Vector Breakdown
AV:
Network
AC:
Low
PR:
None
UI:
Required
S:
Unchanged
C:
High
I:
High
A:
High
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 Software (6)
| Vendor | Product | Version |
|---|---|---|
| Linux | Linux | ebe98f1447bbccf8228335c62d86af02a0ed23f7 < bb3355ce9dcaba1b4a766f98b2ad373cab6cd626 |
| Linux | Linux | ebe98f1447bbccf8228335c62d86af02a0ed23f7 < cb52d9c86d70298de0ab7c7953653898cbc0efd6 |
| Linux | Linux | ebe98f1447bbccf8228335c62d86af02a0ed23f7 < 065bd62412271a2d734810dd50336cae88c54427 |
| Linux | Linux | ebe98f1447bbccf8228335c62d86af02a0ed23f7 < bdb596ceb4b7c3f28786a33840263728217fbcf5 |
| Linux | Linux | ebe98f1447bbccf8228335c62d86af02a0ed23f7 < 734e99623c5b65bf2c03e35978a0b980ebc3c2f8 |
| Linux | Linux | 6.1 |