kernel: iovec integer overflow in net/rds/rdma.c
Published Jan 11, 2011
7.2
HIGHCVSS 2.0
EPSS 0.56%
Description
Integer overflow in the rds_rdma_pages function in net/rds/rdma.c in the Linux kernel allows local users to cause a denial of service (crash) and possibly execute arbitrary code via a crafted iovec struct in a Reliable Datagram Sockets (RDS) request, which triggers a buffer overflow.
Affected products
No data.
Configuration 1
- ≤ 2.6.36
Configuration 2
- 11.2
- 11.3
- 11
- 11
No data.
Red Hat Enterprise Linux 5
kernel-0:2.6.18-194.32.1.el5
Fixed · RHSA-2011:0004
Red Hat Enterprise Linux 6
kernel-0:2.6.32-71.14.1.el6
Fixed · RHSA-2011:0007
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | kernel-0:2.6.18-194.32.1.el5 | Fixed | RHSA-2011:0004 |
| Red Hat Enterprise Linux 6 | kernel-0:2.6.32-71.14.1.el6 | Fixed | RHSA-2011:0007 |
No package ranges for this CVE.
Remediation
Red Hat statement
The Linux kernel as shipped with Red Hat Enterprise Linux 3, 4 and Red Hat Enterprise MRG did not include support for the RDS Protocol, and therefore are not affected by this issue. Future kernel updates in Red Hat Enterprise Linux 5 may address this flaw.
Red Hat mitigation
For users that do not run applications that use RDS, you can prevent the rds module from being loaded by adding the following entry to the end of the /etc/modprobe.d/blacklist file: blacklist rds This way, the rds module cannot be loaded accidentally, which may occur if an application that requires RDS is started. A reboot is not necessary for this change to take effect but do make sure the module is not loaded in the first place. You can verify that by running: lsmod | grep rds You may also consider removing the CAP_SYS_MODULE capability from the current global capability set to prevent kernel modules from being loaded or unloaded. The CAP_SYS_MODULE has a capability number of 16 (see linux/capability.h). The default value has all the bits set. To remove this capability, you have to clear the 16th bit of the default 32-bit value, e.g. 0xffffff ^ (1 << 16): echo 0xFFFEFFFF > /proc/sys/kernel/cap-bound
References (26)
- http://lists.opensuse.org/opensuse-security-announce/2010-11/msg00004.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00000.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00001.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://secunia.com/advisories/42778 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/42789 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/42801 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/42890 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/46397 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://www.openwall.com/lists/oss-security/2010/10/29/1 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2010/11/01/1 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.redhat.com/support/errata/RHSA-2011-0004.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.redhat.com/support/errata/RHSA-2011-0007.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.securityfocus.com/archive/1/520102/100/0/threaded mailing-listx_refsource_BUGTRAQThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/44549 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.spinics.net/lists/netdev/msg145359.html mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory
- http://www.spinics.net/lists/netdev/msg145397.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.vmware.com/security/advisories/VMSA-2011-0012.html x_refsource_CONFIRMThird Party Advisory
- http://www.vupen.com/english/advisories/2011/0012 vdb-entryx_refsource_VUPENThird Party Advisory
- http://www.vupen.com/english/advisories/2011/0024 vdb-entryx_refsource_VUPENThird Party Advisory
- http://www.vupen.com/english/advisories/2011/0298 vdb-entryx_refsource_VUPENThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2010-3865 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=647416 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/62881 vdb-entryx_refsource_XFThird Party AdvisoryVDB Entry
- https://nvd.nist.gov/vuln/detail/CVE-2010-3865
- https://www.cve.org/CVERecord?id=CVE-2010-3865
Change history (0)
No recorded changes yet.