BreachSpiderVerified, not vibes

CVE-2025-40285 in Count products

High 7.5

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().

Affects 0 products from 3 vendors. Facts below cite their sources.

CVSS 3.17.5
EPSS0.8%
EPSS percentile55th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Count — —
Kernel — —
Linux — —
Linux Linux Firmware 6.13 ≥ 5.15.176, < 5.16 ≥ 6.1.121, < 6.1.159 ≥ 6.6.67, < 6.6.117 ≥ 6.12.6, < 6.12.59

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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().

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-40285
BreachSpider IDBS-2025-GLOBAL-259062-I
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2025-12-06
Last modified2026-10-15
SourceNVD

Analysis AI-written, not human-reviewed

A potential reference count leak vulnerability exists in the SMB2 session setup functionality of the Linux kernel, specifically in the ksmbd_session handling. This could lead to resource exhaustion if an attacker can force frequent reconnections.

An attacker could exploit this vulnerability by repeatedly attempting to establish and terminate SMB2 sessions, potentially leading to a denial of service condition due to resource exhaustion.

Questions

What is CVE-2025-40285?

A potential reference count leak vulnerability exists in the SMB2 session setup functionality of the Linux kernel, specifically in the ksmbd_session handling. This could lead to resource exhaustion if an attacker can force frequent reconnections.

What is the CVSS score for CVE-2025-40285?

CVE-2025-40285 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.8%.

Is CVE-2025-40285 actively exploited?

No confirmed active exploitation of CVE-2025-40285 as of 2026-10-17.

How do I remediate CVE-2025-40285?

Priority: MEDIUM.

What systems are affected by CVE-2025-40285?

CVE-2025-40285 affects Count; Kernel; Linux.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Count","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-15.