CVE-2014-0038
The compat_sys_recvmmsg function in net/compat.c in the Linux kernel before 3.13.2, when CONFIG_X86_X32 is enabled, allows local users to…
- 6.9MediumCVSS base score
- 35.5%Exploitation in 30 daysEPSS · top 1.5% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 5Public exploitsMetasploit, Nuclei and Exploit-DB
Description
The compat_sys_recvmmsg function in net/compat.c in the Linux kernel before 3.13.2, when CONFIG_X86_X32 is enabled, allows local users to gain privileges via a recvmmsg system call with a crafted timeout pointer parameter.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and 4 Exploit-DB entries for it. 3 references of the record are tagged as an exploit.
Show the exploits8
Metasploit modules1 module
- Linux Kernel recvmmsg Privilege Escalation (Metasploit module) (opens in a new tab)
exploit/linux/local/recvmmsg_priv_escRank gooddisclosed 2 Feb 2014
Exploit-DB4 entries
- Linux Kernel 3.13.1 - 'Recvmmsg' Local Privilege Escalation (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 40503local, linuxpublished 11 Oct 2016Verified
- Linux Kernel 3.4 < 3.13.2 (Ubuntu 13.10) - 'CONFIG_X86_X32' Arbitrary Write (2) (Exploit-DB entry) (opens in a new tab)
EDB-ID 31346local, linuxpublished 2 Feb 2014Verified
- Linux Kernel 3.4 < 3.13.2 (Ubuntu 13.04/13.10 x64) - 'CONFIG_X86_X32=y' Local Privilege Escalation (3) (Exploit-DB entry) (opens in a new tab)
EDB-ID 31347local, linux_x86-64published 2 Feb 2014Verified
- Linux Kernel 3.4 < 3.13.2 - recvmmsg x32 compat (PoC) (Exploit-DB entry) (opens in a new tab)
EDB-ID 31305dos, linuxpublished 31 Jan 2014Not verified
References tagged exploit3 references
- 40503 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 31347 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 31346 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By redhat
- 2 months later
· 2 months later
Published
- 11 years later
· 11 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.9 | AV:L/AC:M/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 35.5% · top 1.5% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.9.
Affected products
n/a
- affected n/a
References
19
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=2def2ef2ae5f3990aabdbe8a755911902707d268 (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-2096-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://github.com/saelo/cve-2014-0038 (opens in a new tab)x_refsource_MISCx_transferred
- USN-2095-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- http://pastebin.com/raw.php?i=DH3Lbg54 (opens in a new tab)x_refsource_MISCx_transferred
- https://code.google.com/p/chromium/issues/detail?id=338594 (opens in a new tab)x_refsource_MISCx_transferred
- USN-2094-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- MDVSA-2014:038 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 56669 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 65255 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://github.com/torvalds/linux/commit/2def2ef2ae5f3990aabdbe8a755911902707d268 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 40503 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.13.2 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=1060023 (opens in a new tab)x_refsource_CONFIRMx_transferred
- openSUSE-SU-2014:0204 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 31347 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- openSUSE-SU-2014:0205 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 31346 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- [oss-security] 20140131 Linux 3.4+: arbitrary write with CONFIG_X86_X32 (CVE-2014-0038) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2014-0135 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2014-0038)Record last updated .