Race condition in Linux kernel - CVE-2014-3940

 

Race condition in Linux kernel - CVE-2014-3940

Published: June 5, 2014 / Updated: April 22, 2019


Vulnerability identifier: #VU95722
CSH Severity: Low
CVSS v4: 5.7 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-3940
CWE-ID: CWE-362
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

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 numa_maps read operations during hugepage migration, related to fs/proc/task_mmu.c and mm/mempolicy.c.


Affected software

Linux kernel
Ubuntu
linux (Ubuntu package)
linux-lts-trusty (Ubuntu package)

How to mitigate CVE-2014-3940

Install update from vendor's repository.

linux (Ubuntu package) - update to 3.13.0-32.57
linux-lts-trusty (Ubuntu package) - update to 3.13.0-32.57~precise1

External References

Related Security Bulletins