Advisory Published

ZDI-CAN-17816: Linux Kernel ksmbd Use-After-Free Remote Code Execution Vulnerability

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 SMB2_TREE_DISCONNECT commands. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code in the context of the kernel.

Affected SoftwareAffected VersionHow to fix
Red Hat Kernel-devel

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of ZDI-CAN-17816?

    The severity of ZDI-CAN-17816 is critical due to the potential for remote code execution.

  • How do I fix ZDI-CAN-17816?

    To fix ZDI-CAN-17816, ensure that your Linux Kernel is updated to the latest version that addresses this vulnerability.

  • What systems are affected by ZDI-CAN-17816?

    ZDI-CAN-17816 affects systems with the Linux Kernel that have ksmbd enabled.

  • Is authentication required to exploit ZDI-CAN-17816?

    No, authentication is not required to exploit ZDI-CAN-17816.

  • What can attackers do with ZDI-CAN-17816?

    Attackers can execute arbitrary code on affected installations of the Linux Kernel due to ZDI-CAN-17816.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203