Skip to content
CVE Ledger
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API docsPage
  • MCP serverPage
  • AboutPage
  • Data sourcesPage
  • Data statusPage
  • ChangelogPage
  • How it's builtPage
  • Support the projectPage

14 results

Back

CVE-2025-40328

smb: client: fix potential UAF in smb2_close_cached_fid()

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.

Timeline

  1. ID reserved

    By Linux

  2. · 8 months later

    Published

  3. · 11 months later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

Scores

CVSS scores of CVE-2025-40328, by who scored it
Scored byCVSSScoreVector
LinuxCNA (assigner)3.1High8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVDNVD · Deferred3.1High8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS (exploitation in 30 days)
0.49% · top 57% of all CVEs (12 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: total
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.

Affected products

  • Linux · Linux

    • affected ebe98f1447bbccf8228335c62d86af02a0ed23f7 – < bb3355ce9dcaba1b4a766f98b2ad373cab6cd626
    • affected ebe98f1447bbccf8228335c62d86af02a0ed23f7 – < cb52d9c86d70298de0ab7c7953653898cbc0efd6
    • affected ebe98f1447bbccf8228335c62d86af02a0ed23f7 – < 065bd62412271a2d734810dd50336cae88c54427
    • affected ebe98f1447bbccf8228335c62d86af02a0ed23f7 – < bdb596ceb4b7c3f28786a33840263728217fbcf5
    • affected ebe98f1447bbccf8228335c62d86af02a0ed23f7 – < 734e99623c5b65bf2c03e35978a0b980ebc3c2f8
  • Linux · Linux

    • affected 6.1
    • unaffected < 6.1
    • unaffected 6.1.191 – ≤ 6.1.*
    • unaffected 6.6.117 – ≤ 6.6.*
    • unaffected 6.12.58 – ≤ 6.12.*
    • unaffected 6.17.8 – ≤ 6.17.*
    • unaffected 6.18 – ≤ *

References

References5

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2025-40328 badge
[![CVE-2025-40328](https://cveledger.app/badge/CVE-2025-40328.svg)](https://cveledger.app/cve/CVE-2025-40328)

Record last updated .