Advisory Published
Updated

REDHAT-BUG-732869

First published: Wed Aug 24 2011(Updated: )

The name_len variable in CIFSFindNext is a signed int that gets set to the resume_name_len in the cifs_search_info. The resume_name_len however is unsigned and for some infolevels is populated directly from a 32 bit value sent by the server. If the server sends a very large value for this, then that value could look negative when converted to a signed int. That would make that value pass the PATH_MAX check later in CIFSFindNext. The name_len would then be used as a length value for a memcpy. It would then be treated as unsigned again, and the memcpy scribbles over a ton of memory. Fix this by making the name_len an unsigned value in CIFSFindNext. <a href="http://www.spinics.net/lists/linux-cifs/msg03950.html">http://www.spinics.net/lists/linux-cifs/msg03950.html</a> Acknowledgements: Red Hat would like to thank Darren Lavender for reporting this issue.

Affected SoftwareAffected VersionHow to fix
Linux CIFS

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 REDHAT-BUG-732869?

    The severity of REDHAT-BUG-732869 is classified as moderate.

  • How do I fix REDHAT-BUG-732869?

    To fix REDHAT-BUG-732869, you need to apply the recommended patches provided in the errata for your affected version of Linux CIFS.

  • What systems are affected by REDHAT-BUG-732869?

    REDHAT-BUG-732869 affects systems running the Linux CIFS client.

  • What causes REDHAT-BUG-732869?

    REDHAT-BUG-732869 is caused by a mismatch between signed and unsigned integer types in the handling of the resume_name_len variable.

  • Is there a workaround for REDHAT-BUG-732869?

    A temporary workaround for REDHAT-BUG-732869 may involve limiting the size of data sent from the server.

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