CVE-2025-40285 - CVE House
Back to Database
Status published Unknown CVE-2025-40285

smb/server: fix possible refcount leak in smb2_sess_setup()

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-40285

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
37a0e2b362b3150317fb6e2139de67b1e29ae5ff, 450a844c045ff0895d41b05a1cbe8febd1acfcfd, a39e31e22a535d47b14656a7d6a893c7f6cf758c, b95629435b84b9ecc0c765995204a4d8a913ed52, 2107ab40629aeabbec369cf34b8cf0f288c3eb1b, 6.1.121, 6.6.67, 6.12.6, 5.15.176, 6.13, 0, 6.1.159, 6.6.117, 6.12.59, 6.17.9, 6.18

Timeline

Official Publish: December 6th, 2025
Last Modified: May 23rd, 2026
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.