Vulnerabilityin CVE-2017-1000405.
Proof of concept public (Exploit-DB).
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.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed; severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 29 Nov 2017CVE ID reserved by mitre.
- 29 Nov 2017First public proof of concept on GitHub.
- 30 Nov 2017Published in the CVE List.
- 5 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
1 proof of concept repository on GitHub. No fix or workaround is known yet, so we count them but do not link to them.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
- www.securityfocus.com vdb-entry, x_refsource_BID
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- medium.com x_refsource_MISC
- source.android.com x_refsource_CONFIRM
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
Patchminder. CVE-2017-1000405: Vulnerability in CVE-2017-1000405. https://patchminder.com/cve/cve-2017-1000405/ (accessed 5 December 2026).