CVE-2017-1000405 Details
Description
The Linux Kernel versions 2.6.38 through 4.14 have a problematic use of pmd_mkdirty() in the touch_pmd() function inside the THP implementation. touch_pmd() can be reached by get_user_pages(). In such case, the pmd will become dirty. This scenario breaks the new can_follow_write_pmd()'s logic - pmd can become dirty without going through a COW cycle. This bug is not as severe as the original "Dirty cow" because an ext4 file (or any other regular file) cannot be mapped using THP. Nevertheless, it does allow us to overwrite read-only huge pages. For example, the zero huge page and sealed shmem files can be overwritten (since their mapping can be populated using THP). Note that after the first write page-fault to the zero page, it will be replaced with a new fresh (and zeroed) thp.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.2.87, < 3.3 >= 3.10.106, < 3.11 >= 3.12.73, < 3.13 >= 3.16.42, < 3.16.52 >= 3.18.55, < 3.18.86 >= 4.1.41, < 4.1.48 >= 4.4.70, < 4.4.104 >= 4.9.7, < 4.9.67 >= 4.10, < 4.14.4 |
CPE
Remediation
| |
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 13, 2026 | CVE Status Change | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jun 26, 2023 | Modified Analysis | [email protected] |
| Feb 13, 2018 | CVE Modified | [email protected] |
| Jan 27, 2018 | CVE Modified | [email protected] |
| Dec 24, 2017 | CVE Modified | [email protected] |
| Dec 20, 2017 | Initial Analysis | [email protected] |
| Dec 6, 2017 | CVE Modified | [email protected] |
| Dec 3, 2017 | CVE Modified | [email protected] |