Security Advisory

CVE-2010-3904: Linux RDS rds_page_copy_user Local Root

Last updated:
  • CVE-2010-3904

CVE-2010-3904 is a Linux kernel flaw in the Reliable Datagram Sockets (RDS) protocol: rds_page_copy_user() trusts addresses from user space, so a local user can write to kernel memory and become root. NVD scores it 7.8, CISA lists it as exploited, Linux 2.6.36 fixes it, and KEV says to disconnect affected systems.

Vulnerability summary

CVSS base score

7.8

High severity

EPSS score (FIRST)

15.9%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2010-3904 · Source: NVD

Affected components

ComponentCPEVersion range
Linux kernel (RDS protocol, net/rds/page.c)cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*Before 2.6.36 (NVD); CERT/CC VU#362983 names 2.6.30 and later as vulnerable; upstream fix 799c10559d60. CISA KEV: end of life, disconnect if still in use
Debian linux-2.6 packagepkg:deb/debian/linux-2.6Fixed in 2.6.32-26 in unstable; lenny not affected, vulnerable code introduced in 2.6.30 (Debian security tracker, as of 2026-11-25)

What does this mean for affected devices?

NVD describes CVE-2010-3904: "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." Canonical is the CNA. NVD's Primary scores are CVSS v3.1 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) and CVSS v2 7.2; CISA ADP gives the same 7.8. NVD classifies it as CWE-1284 (improper validation of specified quantity in input) and the KEV entry as CWE-20 (NVD, CVE record).

What does the fix change?

Linus Torvalds' commit 799c10559d60, "De-pessimize rds_page_copy_user", dated 2010-10-15 and reported by Dan Rosenberg, drops the kmap_atomic() path and the unsafe atomic user-mode accessors. The commit message says that optimisation "is simply buggy, since it doesn't verify the user addresses properly", and it is tagged for the stable trees. CERT/CC's VU#362983, released 2010-10-25, says kernel functions "fail to properly check if a user supplied address exists in the user segment of memory", so an unprivileged user "can execute arbitrary code as root".

Which kernels and devices are affected?

NVD's CPE range for linux:linux_kernel is everything before 2.6.36. Debian's security tracker notes the vulnerable code arrived in 2.6.30, marks lenny as not affected and lists the fix in linux-2.6 2.6.32-26. The bug is only reachable when the kernel is built with RDS and the module can be loaded. No device maker is named in the CVE record, but any embedded Linux product still on a 2.6.30 to 2.6.35 kernel without the backport is exposed wherever local code runs. CERT/CC's workaround is to block the RDS protocol family with alias net-pf-21 off in modprobe configuration; the durable fix is a kernel with 799c10559d60. Linux kernel CVEs on embedded devices explains how to check a firmware image's kernel version and .config, and how to fix memory corruption in embedded firmware covers unchecked pointer writes like this one. Other exploited local-root bugs on old kernels: CVE-2013-2094 in perf and CVE-2014-3153 in futex.

Is CVE-2010-3904 exploited?

Yes. CISA added it to the KEV catalog on 2023-05-12 as "Linux Kernel Improper Input Validation Vulnerability", with a due date of 2023-06-02 and the required action "The impacted product is end-of-life and should be disconnected if still in use." Known ransomware campaign use is listed as Unknown. It is still listed as of 2026-11-25 in catalog version 2026.11.24 (CISA KEV). FIRST EPSS gives 0.15861, the 96.94th percentile, in the 2026-11-24 dataset (FIRST EPSS).

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • NVD (read 2026-11-25): status Analyzed, published 2010-12-06, CNA Canonical; rds_page_copy_user before 2.6.36 does not validate user-space addresses; NVD Primary CVSS v3.1 7.8 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H and CVSS v2 7.2; CISA ADP (Secondary) 7.8; CWE-1284 (NVD); CPE linux_kernel < 2.6.36. — NVD
  • CVE record: PUBLISHED, CNA canonical, published 2010-12-06; CISA ADP CVSS v3.1 7.8. — CVE.org
  • Commit 799c10559d60 (Linus Torvalds, 2010-10-15) "De-pessimize rds_page_copy_user": the kmap_atomic optimisation "is simply buggy, since it doesn't verify the user addresses properly"; Reported-by Dan Rosenberg; Cc stable. — Linux kernel (GitHub mirror)
  • CERT/CC VU#362983 (2010-10-25): RDS implementation of 2.6.30 and later kernels fails to check user-supplied addresses, local root; workaround: disable RDS with alias net-pf-21 off. — CERT/CC
  • Debian tracker: linux-2.6 fixed in 2.6.32-26 (unstable); lenny not affected, vulnerable code introduced in 2.6.30. — Debian security tracker
  • KEV catalog 2026.11.24: dateAdded 2023-05-12, due 2023-06-02, required action "The impacted product is end-of-life and should be disconnected if still in use.", knownRansomwareCampaignUse Unknown, CWE-20. — CISA KEV
  • EPSS 0.15861, percentile 0.96942, dataset 2026-11-24. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Linux commit 799c10559d60: De-pessimize rds_page_copy_user
  3. CERT/CC VU#362983: Linux kernel RDS protocol vulnerability
  4. Debian security tracker CVE-2010-3904
  5. CVE.org record CVE-2010-3904 (CNA: Canonical)
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

What CVSS score does CVE-2010-3904 have?

NVD's Primary scores are CVSS v3.1 7.8 and CVSS v2 7.2, both for a local attacker with low privileges. CISA ADP in the CVE record gives the same 7.8 (per NVD and the CVE record).

Which Linux kernel versions fix CVE-2010-3904?

Linux 2.6.36 and later carry the fix, commit 799c10559d60, which was tagged for the stable trees. Debian fixed it in linux-2.6 2.6.32-26 (per NVD, the upstream commit and the Debian security tracker).

What if an embedded device cannot be updated?

CERT/CC suggests disabling the RDS protocol family if it is not needed. CISA's KEV entry treats the affected product as end of life and says to disconnect it if it is still in use (per CERT/CC VU#362983 and CISA KEV).

Is CVE-2010-3904 exploited in the wild?

Yes. CISA added it to KEV on 2023-05-12 and lists it as of 2026-11-25 in catalog version 2026.11.24, with ransomware use Unknown. FIRST EPSS gives 0.15861, the 96.94th percentile, in the 2026-11-24 dataset (per CISA KEV and FIRST EPSS).