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

Sat, 06 Dec 2025 22:00:00 +0000

Type Values Removed Values Added
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().
Title smb/server: fix possible refcount leak in smb2_sess_setup()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2025-12-06T21:51:09.590Z

Updated: 2025-12-06T21:51:09.590Z

Reserved: 2025-04-16T07:20:57.184Z

Link: CVE-2025-40285

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-12-06T22:15:56.667

Modified: 2025-12-06T22:15:56.667

Link: CVE-2025-40285

cve-icon Redhat

No data.