CVE-2025-40285
smb/server: fix possible refcount leak in smb2_sess_setup()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.159, 6.6.117, 6.12.59, 5.16
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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().
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 6.1.121 · fixed in 6.1.159; From 6.6.67 · fixed in 6.6.117; From 6.12.6 · fixed in 6.12.59; From 5.15.176 · fixed in 5.16
- Linux Linux
6.13