Skip to main content
VulnerabilityPublished Updated

CVE-2025-40328: Linux kernel · smb: client: fix potential UAF in smb2_close_cached_fid()

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.8 High · fixed in cb52d9c86d70298de0ab7c7953653898cbc0efd6 : patch Linux kernel soon.

Data as of 30 Oct 2026, 12:49 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (Linux)CVSS 3.18.8
CISA SSVC
Exploitation
No evidence of active exploitation and no public proof of concept
Automatable
Attackers cannot reliably automate steps 1–4 of the kill chain
Technical impact
Total control over the software or total information disclosure

CISA SSVC assessment, 2026-10-15.

Patch
Available – fixed in cb52d9c86d70298de0ab7c7953653898cbc0efd6, bdb596ceb4b7c3f28786a33840263728217fbcf5, bb3355ce9dcaba1b4a766f98b2ad373cab6cd626 +2
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ ebe98f1447bbccf8228335c62d86af02a0ed23f7, < cb52d9c86d70298de0ab7c7953653898cbc0efd6
Fixed in
  • cb52d9c86d70298de0ab7c7953653898cbc0efd6
LinuxLinuxAffected
  • ≥ ebe98f1447bbccf8228335c62d86af02a0ed23f7, < bdb596ceb4b7c3f28786a33840263728217fbcf5
Fixed in
  • bdb596ceb4b7c3f28786a33840263728217fbcf5
LinuxLinuxAffected
  • ≥ ebe98f1447bbccf8228335c62d86af02a0ed23f7, < bb3355ce9dcaba1b4a766f98b2ad373cab6cd626
Fixed in
  • bb3355ce9dcaba1b4a766f98b2ad373cab6cd626
LinuxLinuxAffected
  • ≥ ebe98f1447bbccf8228335c62d86af02a0ed23f7, < 734e99623c5b65bf2c03e35978a0b980ebc3c2f8
Fixed in
  • 734e99623c5b65bf2c03e35978a0b980ebc3c2f8
LinuxLinuxAffected
  • ≥ ebe98f1447bbccf8228335c62d86af02a0ed23f7, < 065bd62412271a2d734810dd50336cae88c54427
Fixed in
  • 065bd62412271a2d734810dd50336cae88c54427
LinuxLinuxAffected
  • =6.1
Fixed in–

AI-suggested

A fix is available in the Linux kernel as indicated by the fixed commit versions. Users and administrators should update their Linux kernel to a version that includes the fix identified by the provided commit hashes. No additional mitigation steps are specified by the vendor advisory.

Description

CVE-2025-40328 is a high-severity use-after-free vulnerability in the Linux kernel's SMB client implementation. The flaw occurs in the smb2_close_cached_fid() function, where a reference count handling race condition can lead to use-after-free. This issue has been fixed by changing the reference count release mechanism to ensure proper locking. The vulnerability affects Linux kernel version 6.1.

References

Community reviews

Loading reviews…