ZDI-23-705: Linux Kernel ksmbd Session Race Condition Remote Code Execution Vulnerability

Published May 17, 2023
·
Updated

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Linux Kernel. Authentication is not required to exploit this vulnerability, but only systems with ksmbd enabled are vulnerable. The specific flaw exists within the processing of SMB2SESSIONSETUP and SMB2LOGOFF commands. The issue results from the lack of proper locking when performing operations on an object. An attacker can leverage this vulnerability to execute code in the context of the kernel.

Affected Software

1 affected component
Linux Kernel

Event History

May 17, 2023
Advisory Published
05:00 AM
Data Sourced
05:00 AM
Description
Feb 26, 2025
Advisory Published
via ZDI·03:45 PM

Frequently Asked Questions

1

What is ZDI-23-705?

ZDI-23-705 is a vulnerability in the Linux Kernel that allows remote attackers to execute arbitrary code on affected installations.

2

What is the severity of ZDI-23-705?

ZDI-23-705 has a severity rating of 8.1, which is considered high.

3

How can this vulnerability be exploited?

This vulnerability can be exploited by remote attackers without authentication, but only systems with ksmbd enabled are vulnerable.

4

How do I fix ZDI-23-705?

To fix ZDI-23-705, users should apply the necessary patches or updates provided by Linux Kernel.

5

Where can I find more information about ZDI-23-705?

You can find more information about ZDI-23-705 at the Zero Day Initiative website or the GitHub repository for Linux Kernel.

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