CVE-2014-4699: Race Condition

Published Jul 3, 2014
·
Updated

It was found that the Linux kernel's ptrace subsystem allowed a traced process' instruction pointer to be set to a non-canonical memory address without forcing the non-sysret code path when returning to user space. A local, unprivileged user could use this flaw to crash the system or, potentially, escalate their privileges on the system. Note: The CVE-2014-4699 issue only affected systems using an Intel CPU.

Other sources

On Intel CPUs sysret to non-canonical address causes a fault on the sysret instruction itself after the stack pointer is set to user mode provided value but before the CPL is changed. Systems running on AMD CPUs are not vulnerable to this issue as sysret on AMD CPUs does not generate a fault before the CPL change.

It was found that certain Linux kernel's ptrace subsystem code paths allow the tracer to set tracee's instruction pointer to non-canonical address which is later used on tracee's return to user mode via the sysret instruction, effectively bypassing the hardening introduced via the fixes for CVE-2005-1764 (introduced guard page between the end of the user-mode accessible virtual address space and the beginning of the non-canonical) and CVE-2006-0744 (system call handler hardening).

An unprivileged local user could use this flaw to increase their privileges on the system.

Upstream fix: ------------- -> https://git.kernel.org/linus/b9cd18de4db3c9ffa7e17b0dc0ca99ed5aa4d43a

Red Hat

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

18 affected componentsFixes available
redhat/kernel<0:2.6.32-431.20.5.el6
0:2.6.32-431.20.5.el6
redhat/kernel<0:2.6.32-220.53.1.el6
0:2.6.32-220.53.1.el6
redhat/kernel<0:2.6.32-358.46.2.el6
0:2.6.32-358.46.2.el6
redhat/kernel<0:3.10.0-123.4.4.el7
0:3.10.0-123.4.4.el7
redhat/kernel-rt<0:3.10.33-rt32.43.el6
0:3.10.33-rt32.43.el6
Linux Linux kernel>=2.6.17<3.2.61
Linux Linux kernel>=3.3<3.4.97
Linux Linux kernel>=3.5<3.10.47
Linux Linux kernel>=3.11<3.12.25
Linux Linux kernel>=3.13<3.14.11
Linux Linux kernel>=3.15<3.15.4
Debian Debian Linux=7.0
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=13.10
Canonical Ubuntu Linux=14.04
Linux Linux kernel<3.15.4
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Jul 3, 2014
Data Sourced
via Red Hat·11:02 AM
DescriptionSeverityAffected Software
Jul 4, 2014
CVE Published
12:00 AM
Jul 9, 2014
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:05 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:04 AM
RemedyDescriptionSeverityAffected Software
Apr 24, 2025
Data Sourced
via Debian·02:06 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2014-4699?

The severity of CVE-2014-4699 is considered high due to its potential to allow local unprivileged users to crash the system.

2

How do I fix CVE-2014-4699?

To fix CVE-2014-4699, you should update your Linux kernel to the recommended versions provided by your distribution, such as 0:2.6.32-431.20.5.el6 for RedHat.

3

What versions of the Linux kernel are affected by CVE-2014-4699?

CVE-2014-4699 affects multiple versions of the Linux kernel, specifically versions before 3.15.4 and various specific versions listed by RedHat and Debian.

4

Can CVE-2014-4699 be exploited remotely?

No, CVE-2014-4699 requires local access, making it less likely to be exploited remotely.

5

What systems are impacted by CVE-2014-4699?

CVE-2014-4699 impacts systems running vulnerable versions of the Linux kernel, including those from RedHat, Debian, and Ubuntu distributions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2014-4699 - Race Condition - SecAlerts