← Vulnerability feed

Vulnerability record · CVE-2025-40285 · published 6 December 2025

CVE-2025-40285: In the Linux kernel, the following vulnerability has been resolved: smb/server: fix possible refcount leak in…

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

7.5 CVSS 3.1 High EPSS 0.41% · top 67.2% Deferred
7.5CVSS 3.1 base score
0.41%EPSS exploitation probability, 30 days
NoNot in CISA KEV
0Affected product versions listed by NVD
5References
30 Jul 2026Last modified by NVD

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

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

Track CVE-2025-40285 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Source: NIST National Vulnerability Database (record CVE-2025-40285), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.