CVE-2026-31717: ksmbd: validate owner of durable handle on reconnect

Published May 1, 2026
·
Updated

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

ksmbd: validate owner of durable handle on reconnect

Currently, ksmbd does not verify if the user attempting to reconnect to a durable handle is the same user who originally opened the file. This allows any authenticated user to hijack an orphaned durable handle by predicting or brute-forcing the persistent ID.

According to MS-SMB2, the server MUST verify that the SecurityContext of the reconnect request matches the SecurityContext associated with the existing open. Add a durableowner structure to ksmbdfile to store the original opener's UID, GID, and account name. and catpure the owner information when a file handle becomes orphaned. and implementing ksmbdvfscomparedurableowner() to validate the identity of the requester during SMB2CREATE (DHnC).

Affected Software

5 affected components
Linux ksmbd (Linux kernel)
Linux Linux kernel>=6.6.32<6.7
Linux Linux kernel>=6.9<6.18.25
Linux Linux kernel>=6.19<7.0.2
Linux Linux kernel=7.1-rc1

Event History

May 1, 2026
CVE Published
via MITRE·01:56 PM
Data Sourced
via MITRE·01:56 PM
DescriptionSeverity
Data Sourced
via NVD·02:16 PM
RemedyDescriptionSeverityAffected 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-31717?

The severity of CVE-2026-31717 is classified as medium due to potential unauthorized access risks.

2

How do I fix CVE-2026-31717?

To fix CVE-2026-31717, you should apply the latest patches or updates provided for the ksmbd component of the Linux kernel.

3

What systems are affected by CVE-2026-31717?

CVE-2026-31717 affects systems utilizing the ksmbd service in the Linux kernel.

4

What are the potential risks associated with CVE-2026-31717?

The potential risks associated with CVE-2026-31717 include unauthorized access to file shares and data manipulation.

5

Is there a workaround for CVE-2026-31717?

As an interim measure, restricting access to ksmbd services can reduce the risk associated with CVE-2026-31717 until a patch is applied.

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