Race condition in Linux kernel - CVE-2017-1000405
Published: December 1, 2017 / Updated: June 17, 2021
Vulnerability details
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to a race condition within touch_pmd() function in mmhugemem.c file when handling THPs. A local user can read read-only huge pages using the get_user_pages() function and overwrite arbitrary huge pages and files mapped via THP.
Successful exploitation of the vulnerability may allow an attacker to perform a denial of service (DoS) attack.
This vulnerability is a result of patch against a another privilege escalation vulnerability in Linux kernel known as Dirty Cow (CVE-2016-5195).
Affected software
Amazon Linux AMI
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for ARM 64
SUSE Linux
Ubuntu
Fedora
kernel-alt (Red Hat package)
kernel
How to mitigate CVE-2017-1000405
https://github.com/torvalds/linux/commit/a8f97366452ed491d13cf1e44241bc0b5740b1f0
kernel - addressed in versions 4.13.16-202.fc26, 4.13.16-302.fc27
Links to Public Exploits and PoC-codes
External References
Related Security Bulletins
- Denial of service in Linux Kernel
- Ubuntu update for Linux kernel
- Ubuntu update for Linux kernel (Trusty HWE)
- Ubuntu update for Linux kernel (Azure)
- Ubuntu update for Linux kernel (GCP)
- Ubuntu update for Linux kernel
- Ubuntu update for Linux kernel
- Ubuntu update for Linux kernel (Xenial HWE)
- Ubuntu update for Linux kernel
- Ubuntu update for Linux kernel (HWE)
- Ubuntu update for Linux kernel
- Ubuntu update for Linux kernel (Xenial HWE)
- Amazon Linux AMI update for kernel
- Red Hat update for Linux Kernel
- Amazon Linux AMI update for kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- OpenSUSE Linux update for the Linux Kernel
- OpenSUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- Fedora 27 update for kernel
- Fedora 26 update for kernel