CVE-2014-3940: Race Condition

Published Jun 3, 2014
·
Updated

Last updated 24 July 2024

Other sources

Linux kernel built with the HugeTLB file system(CONFIGHUGETLBFS + CONFIGHUGETLBPAGE) along with Non Uniform Memory Access(CONFIGNUMA) support is vulnerable to possible race conditions. It could occur when kernel attempts to perform hugepage migration.

Upstream fix: ------------- -> https://lkml.org/lkml/2014/3/18/784 (only part 1 of the 2 patches) Ie: mm: add !ptepresent() check on existing hugetlbentry callbacks

Reference: ---------- -> http://seclists.org/oss-sec/2014/q2/399

Red Hat

The Linux kernel through 3.14.5 does not properly consider the presence of hugetlb entries, which allows local users to cause a denial of service (memory corruption or system crash) by accessing certain memory locations, as demonstrated by triggering a race condition via numamaps read operations during hugepage migration, related to fs/proc/taskmmu.c and mm/mempolicy.c.

Launchpad

Affected Software

17 affected componentsFixes available
redhat Enterprise Linux=6.0
redhat Enterprise MRG=2.0
Linux Linux kernel<=3.14.5
Linux Linux kernel=3.14
Linux Linux kernel=3.14-rc1
Linux Linux kernel=3.14-rc2
Linux Linux kernel=3.14-rc3
Linux Linux kernel=3.14-rc4
Linux Linux kernel=3.14-rc5
Linux Linux kernel=3.14-rc6
Linux Linux kernel=3.14-rc7
Linux Linux kernel=3.14-rc8
Linux Linux kernel=3.14.1
Linux Linux kernel=3.14.2
Linux Linux kernel=3.14.3
Linux Linux kernel=3.14.4
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Jun 3, 2014
Data Sourced
via Red Hat·09:34 AM
DescriptionSeverityAffected Software
Jun 5, 2014
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:07 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:03 AM
RemedyDescriptionSeverityAffected Software
Apr 8, 2025
Data Sourced
via Debian·02:05 AM
DescriptionAffected Software
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-3940?

CVE-2014-3940 is considered a moderate severity vulnerability due to potential race conditions in hugepage migration.

2

How do I fix CVE-2014-3940?

To fix CVE-2014-3940, update your Linux kernel to versions 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.119-1, 6.12.10-1, or 6.12.11-1.

3

Which operating systems are affected by CVE-2014-3940?

CVE-2014-3940 affects Red Hat Enterprise Linux 6.0, Red Hat Enterprise MRG 2.0, and various versions of the Linux Kernel up to 3.14.5.

4

What is the potential impact of CVE-2014-3940?

The potential impact of CVE-2014-3940 includes system instability or crashes due to race conditions during memory management operations.

5

Are there known exploits for CVE-2014-3940?

As of now, there are no publicly known exploits specifically targeting CVE-2014-3940.

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