CVE-2026-72492: ksmbd: fix use-after-free in same_client_has_lease()

Published Aug 15, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix use-after-free in sameclienthaslease()

sameclienthaslease() returns an opinfo pointer from ci->moplist after dropping ci->mlock without taking a reference.

smbgrantoplock() then dereferences that pointer in copylease() and when checking breakingcnt. A concurrent close can remove the old lease from ci->moplist and drop the last reference before the caller uses the returned pointer, leading to a use-after-free.

Take a reference when sameclienthaslease() selects an existing lease, drop any previous match while scanning, and release the returned reference in smbgrantoplock() after copying the lease state.

Event History

Aug 15, 2026
CVE Published
via MITRE·05:57 AM
Data Sourced
via MITRE·05:57 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203