CVE-2025-40285 — smb/server: fix possible refcount leak in smb2_sess_setup()
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…
Published: 2025-12-06 · CVSS: 7.5 · CVSS 3.1
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: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7