Race condition in Linux kernel - CVE-2014-4699

 

Race condition in Linux kernel - CVE-2014-4699

Published: July 9, 2014 / Updated: August 11, 2020


Vulnerability identifier: #VU41492
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-4699
CWE-ID: CWE-362
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


Affected software

Linux kernel
Ubuntu
linux (Ubuntu package)
linux-image-2.6.32-366-ec2 (Ubuntu package)
linux-lts-quantal (Ubuntu package)
linux-lts-raring (Ubuntu package)
linux-lts-saucy (Ubuntu package)
linux-lts-trusty (Ubuntu package)

How to mitigate CVE-2014-4699

Install update from vendor's website.

linux (Ubuntu package) - addressed in versions 2.6.32-62.126, 3.2.0-65.99, 3.11.0-24.42, 3.13.0-30.55
linux-image-2.6.32-366-ec2 (Ubuntu package) - update to 2.6.32-366.81
linux-lts-quantal (Ubuntu package) - update to 3.5.0-52.79~precise1
linux-lts-raring (Ubuntu package) - update to 3.8.0-42.63~precise1
linux-lts-saucy (Ubuntu package) - update to 3.11.0-24.42~precise1
linux-lts-trusty (Ubuntu package) - update to 3.13.0-30.55~precise1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins