CVE-2025-71150
ksmbd: Fix refcount leak when invalid session is found on session lookup
- 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 5.15.203, 6.1.160, 6.6.120, 6.12.64
- 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: ksmbd: Fix refcount leak when invalid session is found on session lookup When a session is found but its state is not SMB2_SESSION_VALID, It indicates that no valid session was found, but it is missing to decrement the reference count acquired by the session lookup, which results in a reference count leak. This patch fixes the issue by explicitly calling ksmbd_user_session_put to release the reference to the session.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 5.15.176 · fixed in 5.15.203; From 6.1.121 · fixed in 6.1.160; From 6.6.67 · fixed in 6.6.120; From 6.12.6 · fixed in 6.12.64
- Linux Linux
6.13