Advisory Published
Updated

REDHAT-BUG-649715

First published: Thu Nov 04 2010(Updated: )

Description of problem: packet_getname_spkt() doesn't initialize all members of sa_data field of sockaddr struct if strlen(dev-&gt;name) &lt; 13. This structure is then copied to userland. It leads to leaking of contents of kernel stack memory. We have to fully fill sa_data with strncpy() instead of strlcpy(). The same with packet_getname(): it doesn't initialize sll_pkttype field of sockaddr_ll. Set it to zero. Reference: <a href="http://marc.info/?l=linux-netdev&amp;m=128854507220908&amp;w=2">http://marc.info/?l=linux-netdev&amp;m=128854507220908&amp;w=2</a> <a href="http://seclists.org/oss-sec/2010/q4/94">http://seclists.org/oss-sec/2010/q4/94</a> Acknowledgements: Red Hat would like to thank Vasiliy Kulikov of Openwall for reporting this issue.

Affected SoftwareAffected VersionHow to fix
Red Hat Linux

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-649715?

    The severity of REDHAT-BUG-649715 is considered to be high due to the potential leakage of kernel stack memory.

  • How do I fix REDHAT-BUG-649715?

    To fix REDHAT-BUG-649715, ensure that the sa_data field of the sockaddr struct is fully initialized using strncpy() when copying data to userland.

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

    REDHAT-BUG-649715 affects Red Hat Linux systems that rely on the packet_getname_spkt() function.

  • What are the potential risks of not addressing REDHAT-BUG-649715?

    Failure to address REDHAT-BUG-649715 can lead to unauthorized access to sensitive information stored in kernel memory.

  • Is there a patch available for REDHAT-BUG-649715?

    Yes, Red Hat has released patches to address REDHAT-BUG-649715, and users are encouraged to apply them.

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