CVE-2014-0038
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Linux Kernel 3.4 < 3.13.2 (Ubuntu 13.04/13.10 x64) - 'CONFIG_X86_X32=y' Local Privilege Escalation (3)
Linux Kernel 3.4 < 3.13.2 - recvmmsg x32 compat (PoC)
Linux Kernel 3.13.1 - 'Recvmmsg' Local Privilege Escalation (Metasploit)
Linux Kernel 3.4 < 3.13.2 (Ubuntu 13.10) - 'CONFIG_X86_X32' Arbitrary Write (2)
Metasploit modules
OS impact
Linux kernel Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | 3.4.79 |
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| 12.3 | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 3.13.4-1 |
| sid | Fixed | 3.13.4-1 |
| forky | Fixed | 3.13.4-1 |
| bullseye | Fixed | 3.13.4-1 |
| bookworm | Fixed | 3.13.4-1 |
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=2def2ef2ae5f3990aabdbe8a755911902707d268
- http://lists.opensuse.org/opensuse-security-announce/2014-02/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2014-02/msg00003.html
- http://pastebin.com/raw.php?i=DH3Lbg54
- http://secunia.com/advisories/56669
- http://www.exploit-db.com/exploits/31346
- http://www.exploit-db.com/exploits/31347
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.13.2
- http://www.mandriva.com/security/advisories?name=MDVSA-2014:038
- http://www.openwall.com/lists/oss-security/2014/01/31/2
- http://www.securityfocus.com/bid/65255
- http://www.ubuntu.com/usn/USN-2094-1
- http://www.ubuntu.com/usn/USN-2095-1
- http://www.ubuntu.com/usn/USN-2096-1
- https://bugzilla.redhat.com/show_bug.cgi?id=1060023
- https://code.google.com/p/chromium/issues/detail?id=338594
- https://github.com/saelo/cve-2014-0038
- https://github.com/torvalds/linux/commit/2def2ef2ae5f3990aabdbe8a755911902707d268
- https://www.exploit-db.com/exploits/40503/
- https://security-tracker.debian.org/tracker/CVE-2014-0038
CWEs
CWE-20
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.