CVE-2026-52996: ksmbd: fix durable fd leak on ClientGUID mismatch in durable v2 open

Published Jun 24, 2026
·
Updated

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

ksmbd: fix durable fd leak on ClientGUID mismatch in durable v2 open

ksmbdlookupfdcguid() returns a ksmbdfile with its refcount incremented via ksmbdfpget(). parsedurablehandlecontext() in the DURABLEREQV2 case properly releases this reference on every path inside the ClientGUID-match branch, either by calling ksmbdputdurablefd() or by transferring ownership to dhinfo->fp for a successful reconnect. However, when an entry exists in the global file table with the same CreateGuid but a different ClientGUID, the code simply falls through to the new-open path without dropping the reference obtained from ksmbdlookupfdcguid().

Per MS-SMB2 section 3.3.5.9.10 ("Handling the SMB2CREATEDURABLEHANDLEREQUESTV2 Create Context"), the server MUST locate an Open whose Open.CreateGuid matches the request's CreateGuid AND whose Open.ClientGuid matches the ClientGuid of the connection that received the request. If no such Open is found, the server MUST continue with the normal open execution phase. A CreateGuid hit with a ClientGUID mismatch is therefore the "Open not found" case: proceeding with a new open is correct, but the reference obtained purely as a side effect of the lookup must not be leaked.

Repeated requests that hit this mismatch pin globalft entries, prevent ksmbdclosefd() from ever running for the corresponding files, and defeat the durable scavenger, leading to long-lived resource leaks.

Release the reference in the mismatch path and clear dhinfo->fp so subsequent logic does not mistake a non-matching lookup result for a reconnect target.

Affected Software

5 affected components
Linux ksmbd
Linux Linux kernel>=6.6.32<6.6.141
Linux Linux kernel>=6.9<6.12.91
Linux Linux kernel>=6.13<6.18.33
Linux Linux kernel>=6.19<7.0.10

Event History

Jun 24, 2026
CVE Published
via MITRE·04:29 PM
Data Sourced
via MITRE·04:29 PM
Description
Data Sourced
via NVD·05:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
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.

Frequently Asked Questions

1

What is the severity of CVE-2026-52996?

The severity of CVE-2026-52996 is medium with a CVSS score of 5.5.

2

How do I fix CVE-2026-52996?

CVE-2026-52996 can be fixed by applying the available patch.

3

What systems are affected by CVE-2026-52996?

CVE-2026-52996 affects the Linux kernel and Linux ksmbd.

4

What is the risk level associated with CVE-2026-52996?

The risk level associated with CVE-2026-52996 is rated at 32.

5

What does CVE-2026-52996 exploit involve?

CVE-2026-52996 involves a durable file descriptor leak due to a ClientGUID mismatch during durable v2 opens.

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