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-40285smb/server: fix possible refcount leak in smb2_sess_setup()

Description

In the Linux kernel, the following vulnerability has been resolved: smb/server: fix possible refcount leak in smb2_sess_setup() Reference count of ksmbd_session will leak when session need reconnect. Fix this by adding the missing ksmbd_user_session_put().

Timeline

  1. ID reserved

    By Linux

  2. · 8 months later

    Published

  3. · 8 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-40285, by who scored it
Scored byCVSSScoreVector
LinuxCNA (assigner)3.1High7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVDNVD · Deferred3.1High7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS (exploitation in 30 days)
0.44% · top 61% of all CVEs (14 Nov 2026)
Loading the EPSS history…

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

Affected products

  • Linux · Linux

    • affected 37a0e2b362b3150317fb6e2139de67b1e29ae5ff – < 6fc935f798d44a8eb8a5e6659198399fbf57b981
    • affected 450a844c045ff0895d41b05a1cbe8febd1acfcfd – < e671f9bb97805771380c98de944e2ceab6949188
    • affected a39e31e22a535d47b14656a7d6a893c7f6cf758c – < dcc51dfe6ff26b52cac106865a172ac982d78401
    • affected b95629435b84b9ecc0c765995204a4d8a913ed52 – < d37b2c81c83d6c0d5ca582f4fe73c672983f9e0d
    • affected b95629435b84b9ecc0c765995204a4d8a913ed52 – < 379510a815cb2e64eb0a379cb62295d6ade65df0
    • affected 2107ab40629aeabbec369cf34b8cf0f288c3eb1b
    • affected 6.1.121 – < 6.1.159
    • affected 6.6.67 – < 6.6.117
    • affected 6.12.6 – < 6.12.59
    • affected 5.15.176 – < 5.16
  • Linux · Linux

    • affected 6.13
    • unaffected < 6.13
    • unaffected 6.1.159 – ≤ 6.1.*
    • unaffected 6.6.117 – ≤ 6.6.*
    • unaffected 6.12.59 – ≤ 6.12.*
    • unaffected 6.17.9 – ≤ 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-40285 badge
[![CVE-2025-40285](https://cveledger.app/badge/CVE-2025-40285.svg)](https://cveledger.app/cve/CVE-2025-40285)

Record last updated .