cve.bz

CVE-2010-3904 Linux Kernel Improper Input Validation Vulnerability

7.8 highKEVExploitEPSS 16%Fix available

High (7.8) in Linux Kernel. In CISA KEV since 2023-05-12. EPSS 16% estimated probability of exploitation activity in the next 30 days.

On this page
The rds_page_copy_user function in net/rds/page.c in the Reliable Datagram Sockets (RDS) protocol implementation in the Linux kernel before 2.6.36 does not properly validate addresses obtained from user space, which allows local users to gain privileges via crafted use of the sendmsg and recvmsg system calls.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
16% (unchanged from 16% a week ago; 16% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2023-05-12, due 2023-06-02
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2025-02-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1284 Improper Validation of Specified Quantity in Input
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2010-3904 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2010-3904?via=ask-ai-copy and https://cve.bz/cve/CVE-2010-3904?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2010-3904 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 2.6.36
opensuse:opensuse11.2
opensuse:opensuse11.3
suse:linux_enterprise_desktop11:sp1
suse:linux_enterprise_real_time_extension11:sp1
suse:linux_enterprise_server11:sp1
canonical:ubuntu_linux6.06
canonical:ubuntu_linux8.04
canonical:ubuntu_linux9.04
canonical:ubuntu_linux9.10
canonical:ubuntu_linux10.04
canonical:ubuntu_linux10.10
redhat:enterprise_linux5.0
redhat:enterprise_linux6.0
vmware:esxi3.5
vmware:esxi4.0
vmware:esxi4.1
vmware:esxi5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:5::clientkernel, kernel-PAE, kernel-doc and 12 more0:2.6.18-194.17.4.el5RHSA-2010:0792
Red Hatenterprise_linux:5::serverkernel, kernel-PAE, kernel-doc and 15 more0:2.6.18-194.17.4.el5RHSA-2010:0792
Red Hatenterprise_linux:6::client, enterprise_linux:6::workstationperf, kernel, kernel-doc and 9 more0:2.6.32-71.7.1.el6RHSA-2010:0842
Red Hatenterprise_linux:6::computenodeperf, kernel, kernel-doc and 8 more0:2.6.32-71.7.1.el6RHSA-2010:0842
Red Hatenterprise_linux:6::serverperf, kernel, kernel-doc and 15 more0:2.6.32-71.7.1.el6RHSA-2010:0842

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's 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. Updates for Red Hat Enterprise Linux 5 and 6 are available to address this flaw.

Red Hat's 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

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernel-0:2.6.18-194.17.4.el5Fixed 2010-10-25RHSA-2010:0792
Red Hat Enterprise Linux 6kernel-0:2.6.32-71.7.1.el6Fixed 2010-11-10RHSA-2010:0842

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2010-3904.

Public exploits

References

Check your stackJSON