Advisory Published
CVE Published
Updated

CVE-2024-26954: ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()

First published: Wed May 01 2024(Updated: )

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16() If ->NameOffset of smb2_create_req is smaller than Buffer offset of smb2_create_req, slab-out-of-bounds read can happen from smb2_open. This patch set the minimum value of the name offset to the buffer offset to validate name length of smb2_create_req().

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
debian/linux
5.10.223-1
5.10.226-1
6.1.123-1
6.1.119-1
6.12.11-1
6.12.12-1
debian/linux-6.1
6.1.119-1~deb11u1

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 CVE-2024-26954?

    CVE-2024-26954 is classified as a medium severity vulnerability due to the potential for slab-out-of-bounds reads.

  • How do I fix CVE-2024-26954?

    To mitigate CVE-2024-26954, you should update your Linux kernel to a patched version such as 5.10.223-1, 5.10.226-1, 6.1.123-1, or any affected version that has been remediated.

  • What systems are affected by CVE-2024-26954?

    The systems affected by CVE-2024-26954 include specific versions of the Debian Linux kernel packages.

  • What impact does CVE-2024-26954 have on systems?

    CVE-2024-26954 can lead to potential exploitation through slab-out-of-bounds reads, which may result in unauthorized access to memory.

  • Is there a patch available for CVE-2024-26954?

    Yes, there are patches available that have been integrated into newer versions of the Linux kernel to address CVE-2024-26954.

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