CVE-2014-4699
Description
The Linux kernel before 3.15.4 on Intel processors does not properly restrict use of a non-canonical value for the saved RIP address in the case of a system call that does not use IRET, which allows local users to leverage a race condition and gain privileges, or cause a denial of service (double fault), via a crafted application that makes ptrace and fork system calls.
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.2.0-23 (Ubuntu 12.04 x64) - 'ptrace/sysret' Local Privilege Escalation
OS impact
Linux kernel Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | 3.2.61 |
Ubuntu Affected 4 releases
| Version | Status | Fixed in |
|---|---|---|
| 14.04 | Affected | โ |
| 13.10 | Affected | โ |
| 12.04 | Affected | โ |
| 10.04 | Affected | โ |
Debian Mixed 6 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 3.14.10-1 |
| sid | Fixed | 3.14.10-1 |
| forky | Fixed | 3.14.10-1 |
| bullseye | Fixed | 3.14.10-1 |
| bookworm | Fixed | 3.14.10-1 |
| 7.0 | Affected | โ |
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=b9cd18de4db3c9ffa7e17b0dc0ca99ed5aa4d43a
- http://linux.oracle.com/errata/ELSA-2014-0924.html
- http://linux.oracle.com/errata/ELSA-2014-3047.html
- http://linux.oracle.com/errata/ELSA-2014-3048.html
- http://openwall.com/lists/oss-security/2014/07/05/4
- http://openwall.com/lists/oss-security/2014/07/08/16
- http://openwall.com/lists/oss-security/2014/07/08/5
- http://packetstormsecurity.com/files/127573/Linux-Kernel-ptrace-sysret-Local-Privilege-Escalation.html
- http://secunia.com/advisories/59633
- http://secunia.com/advisories/59639
- http://secunia.com/advisories/59654
- http://secunia.com/advisories/60220
- http://secunia.com/advisories/60380
- http://secunia.com/advisories/60393
- http://www.debian.org/security/2014/dsa-2972
- http://www.exploit-db.com/exploits/34134
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15.4
- http://www.openwall.com/lists/oss-security/2014/07/04/4
- http://www.osvdb.org/108754
- http://www.ubuntu.com/usn/USN-2266-1
- http://www.ubuntu.com/usn/USN-2267-1
- http://www.ubuntu.com/usn/USN-2268-1
- http://www.ubuntu.com/usn/USN-2269-1
- http://www.ubuntu.com/usn/USN-2270-1
- http://www.ubuntu.com/usn/USN-2271-1
CWEs
CWE-362
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.