CVE-2014-4171: Race Condition

Published Jun 19, 2014
·
Updated

Last updated 24 July 2024

Other sources

Linux kernel built with the shared memory support is vulnerable to a denial of service flaw caused by a race condition in mmap access to a hole, while it is punched from shmem and madvise(2) & fallocate(2) calls. In that mmap access could prevent the other calls from completing.

A user/process could use this flaw to cause a DoS.

Upstream fixes: ------------- -> https://git.kernel.org/linus/f00cdc6df7d7cfcabb5b740911e6788cb0802bdb -> https://git.kernel.org/linus/8e205f779d1443a94b5ae81aa359cb535dd3021e -> https://git.kernel.org/linus/b1a366500bd537b50c3aad26dc7df083ec03a448

Reference: ---------- -> http://www.openwall.com/lists/oss-security/2014/06/18/11

— Red Hat

mm/shmem.c in the Linux kernel through 3.15.1 does not properly implement the interaction between range notification and hole punching, which allows local users to cause a denial of service (imutex hold) by using the mmap system call to access a hole, as demonstrated by interfering with intended shmem activity by blocking completion of (1) an MADVREMOVE madvise call or (2) an FALLOCFLPUNCHHOLE fallocate call.

— Launchpad

Affected Software

27 affected componentsFixes available
Linux Linux kernel<=3.15.1
Canonical Ubuntu Linux=12.04
ubuntu/linux<3.13.0-35.62
3.13.0-35.62
ubuntu/linux-azure*
ubuntu/linux-gcp*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-gke*
ubuntu/linux-gkeop*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-azure-6.11*
ubuntu/linux-gcp-6.11*
ubuntu/linux-hwe-6.11*
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-raspi-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
debian/linux<3.14.15-1
3.14.15-1
debian/linux<3.14.15-1
3.14.15-1
debian/linux<3.14.15-1
3.14.15-1
debian/linux
3.2.63-13.14.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 3.13.0-35.62
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 3.14.15-1
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 3.2.63-1Fixed in 3.14.15-1
  4. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch 8e205f779d1443a94b5ae81aa359cb535dd3021e
  5. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch b1a366500bd537b50c3aad26dc7df083ec03a448
  6. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch f00cdc6df7d7cfcabb5b740911e6788cb0802bdb

Event History

Jun 19, 2014
Data Sourced
12:07 PM
DescriptionSeverityAffected Software
Jun 23, 2014
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Updated
12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Dec 18, 2018
Data Sourced
via NVD·02:38 PM
DescriptionSeverityAffected Software
Updated
02:38 PM
Affected Software
Feb 17, 2021
Data Sourced
via Red Hat·06:28 AM
DescriptionSeverityAffected Software
Nov 21, 2024
Updated
via NVD·02:09 AM
Affected Software
Apr 12, 2025
Updated
via NVD·10:46 AM
Affected Software
Jun 17, 2026
Updated
via NVD·12:09 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2014-4171?

CVE-2014-4171 has been assigned a moderate severity rating due to its potential for denial of service.

2

How do I fix CVE-2014-4171?

To mitigate CVE-2014-4171, update the Linux kernel to versions 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.13-1.

3

Which versions of the Linux kernel are affected by CVE-2014-4171?

CVE-2014-4171 affects Linux kernels up to version 3.15.1.

4

Is CVE-2014-4171 specific to any Linux distributions?

Yes, CVE-2014-4171 specifically affects Ubuntu Linux 12.04 and various Linux kernel versions.

5

What type of vulnerability is CVE-2014-4171?

CVE-2014-4171 is classified as a denial of service vulnerability resulting from a race condition in mmap access.

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