CVE-2010-4649: Integer Overflow
In ibuverbspollcq() 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: http://git.kernel.org/linus/7182afea8d1afd432a17c18162cc3fd441d0da93
Other sources
Integer overflow in the ibuverbspollcq function in drivers/infiniba ...
— Debian
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2010-4649?
CVE-2010-4649 has a severity rating that indicates a potential for memory corruption and information disclosure.
How do I fix CVE-2010-4649?
To fix CVE-2010-4649, ensure that your Linux kernel is updated to version 2.6.37 or later.
Who is affected by CVE-2010-4649?
CVE-2010-4649 affects unprivileged userspace while using certain versions of the Linux kernel.
What vulnerabilities are associated with CVE-2010-4649?
CVE-2010-4649 is associated with memory corruption and information leakage vulnerabilities.
What is the impact of exploiting CVE-2010-4649?
Exploiting CVE-2010-4649 could lead to memory corruption and potential exposure of sensitive information.