CVE-2014-0038 json
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 g…
published 12y ago modified 4mo ago also EUVD-2014-0135
- cvss
- 6.9
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 35.5%
- EPSS 35.5% chance of exploitation in 30 days, percentile 98%
- public exploits
- 5
- Metasploit and Exploit-DB
Summary
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.
Patch / fix
- linux linux_kernel 3.4.79, 3.10.29, 3.12.10, 3.13.2
- linux Debian 14, Debian 13, Debian 12 3.13.4-1
debian advisories DEBIAN-CVE-2014-0038
- kernel-ec2 SLE Module for Public Cloud 12 3.12.61-52.106.1
- kernel-ec2 SLE Module for Public Cloud 12 3.12.74-60.64.66.1
- kernel-xen SLES for SAP 12 SP1, SLES 12 SP1-LTSS, OpenStack Cloud 6 3.12.74-60.64.66.1
- kernel-syms SLES for SAP 12 SP1, SLES 12 SP1-LTSS, OpenStack Cloud 6 3.12.74-60.64.66.1
- kernel-source SLES for SAP 12 SP1, SLES 12 SP1-LTSS, OpenStack Cloud 6 3.12.74-60.64.66.1
- kernel-default SLES for SAP 12 SP1, SLES 12 SP1-LTSS, OpenStack Cloud 6 3.12.74-60.64.66.1
- kgraft-patch-SLE12-SP1_Update_23 SLES for SAP 12 SP1, SLES 12 SP1-LTSS, OpenStack Cloud 6 1-2.1
- kernel-xen SLES 12-LTSS 3.12.61-52.106.1
suse advisories SUSE-SU-2017:3249-1SUSE-SU-2017:3210-1
- kernel-source openSUSE Tumbleweed 4.8.13-1.1
opensuse advisories openSUSE-SU-2024:10128-1
Is CVE-2014-0038 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2014-0038 updated cvss 6.9
Kernel: 3.4+ arbitrary write with CONFIG_X86_X32
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwarenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-31305)
- Published
Exploit prediction
35.45% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/linux/local/recvmmsg_priv_esc Linux Kernel recvmmsg Privilege Escalation metasploit exploit, good rank, 2014-02-02
- EDB-40503 Linux Kernel 3.13.1 - 'Recvmmsg' Local Privilege Escalation (Metasploit) local, 2016-10-11
- EDB-31347 Linux Kernel 3.4 < 3.13.2 (Ubuntu 13.04/13.10 x64) - 'CONFIG_X86_X32=y' Local Privilege Escalation (3) local, 2014-02-02
- EDB-31346 Linux Kernel 3.4 < 3.13.2 (Ubuntu 13.10) - 'CONFIG_X86_X32' Arbitrary Write (2) local, 2014-02-02
- EDB-31305 Linux Kernel 3.4 < 3.13.2 - recvmmsg x32 compat (PoC) dos, 2014-01-31
- github.com https://github.com/torvalds/linux/commit/2def2ef2ae5f3990aabdbe8a755911902707d268 referenced PoC, tagged "exploit" by a source, unverified
- pastebin.com http://pastebin.com/raw.php?i=DH3Lbg54 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.9 | AV:L/AC:M/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
- Technology feeds
References
-
github.com
/torvalds/linux/commit/2def2ef2ae5f3990aabdbe8a755911902707d268
exploit, patch
-
exploit-db.com
/exploits/40503/
exploit, third-party-advisory, vdb-entry
-
exploit-db.com
/exploits/31347
exploit, third-party-advisory, vdb-entry
-
exploit-db.com
/exploits/31346
exploit, third-party-advisory, vdb-entry
-
pastebin.com
/raw.php?i=DH3Lbg54
exploit
-
ubuntu.com
/usn/USN-2096-1
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-2095-1
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-2094-1
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2014:038
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2014-02/msg00002.html
vendor-advisory, third-party-advisory, vdb-entry
-
lists.opensuse.org
/opensuse-security-announce/2014-02/msg00003.html
vendor-advisory, third-party-advisory, vdb-entry
-
git.kernel.org
/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=2def2ef2ae5f3990aabdbe8a755911902707d268
third-party-advisory, vdb-entry
-
github.com
/saelo/cve-2014-0038
third-party-advisory
-
code.google.com
/p/chromium/issues/detail?id=338594
third-party-advisory
-
secunia.com
/advisories/56669
third-party-advisory, not-applicable
-
securityfocus.com
/bid/65255
vdb-entry, third-party-advisory
-
kernel.org
/pub/linux/kernel/v3.x/ChangeLog-3.13.2
third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1060023
issue-tracking
-
openwall.com
/lists/oss-security/2014/01/31/2
mailing-list
Sources
- CVE List CVE-2014-0038
- NVD CVE-2014-0038
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.