Vulnerability

CVE-2025-40285

highCVSS 3.1 7.5Published 6 Dec 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning