CWE
190
Advisory Published
CVE Published
Updated

CVE-2010-4649: Integer Overflow

First published: Fri Jan 07 2011(Updated: )

In ib_uverbs_poll_cq() code there is a potential integer overflow if userspace passes in a large cmd.ne. The calls to kmalloc() would allocate smaller buffers than intended, leading to memory corruption. There iss also an information leak if resp wasn't all used. Unprivileged userspace may call this function, although only if an RDMA device that uses this function is present. Fix this by copying CQ entries one at a time, which avoids the allocation entirely, and also by moving this copying into a function that makes sure to initialize all memory copied to userspace. Upstream commit: <a href="http://git.kernel.org/linus/7182afea8d1afd432a17c18162cc3fd441d0da93">http://git.kernel.org/linus/7182afea8d1afd432a17c18162cc3fd441d0da93</a>

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Linux Linux kernel<2.6.37
Redhat Enterprise Linux Server=5.0
Redhat Enterprise Linux Workstation=5.0
Redhat Enterprise Linux Desktop=5.0
Redhat Enterprise Linux Server Aus=5.6
Redhat Enterprise Linux Eus=5.6
debian/linux-2.6
debian/user-mode-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.

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