nday
CVE-2017-1000405

Linux kernel: race conditionTitle composed by nday; the CVE record has none.

A public PoC appeared on the day of disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. Not in CISA KEV.

tags weakness typerace condition accesslocalno user interaction exploitationExploit-DB productLinux kernel product typeoperating system
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

race condition
CWE-362, stated by NVD's analysts
local
AV:L in CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
no user interaction
UI:N in CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
Exploit-DB
Exploit-DB entries 43199, 44305
Linux kernel
CPE names NVD's analysts give as vulnerable: o:linux:linux_kernel
operating system
CPE names NVD's analysts give as vulnerable: o:linux:linux_kernelthe product type of Linux kernel in nday's product registry
stage
POC
disclosed
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2017-11-30T22:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2017-11-30, date only +1 more
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Event log

2017-11-30date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Linux Kernel - 'The Huge Dirty Cow' Overwriting The Huge Zero Page (1)” (EDB-43199).

src exploitdb 43199 · nday , bulk import · raw
{
  "id": 23406,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/43199",
  "occurred_at": "2017-11-30T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "43199",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/43199",
    "file": "exploits/linux/dos/43199.c",
    "kind": "exploit",
    "tags": [],
    "type": "dos",
    "title": "Linux Kernel - 'The Huge Dirty Cow' Overwriting The Huge Zero Page (1)",
    "author": "Bindecy",
    "edb_id": 43199,
    "cve_ids": [
      "CVE-2017-1000405"
    ],
    "platform": "linux",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2017-11-30",
    "date_updated": "2018-03-19",
    "date_published": "2017-11-30"
  }
}
+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 66719,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2017-1000405",
  "occurred_at": "2017-11-30T22:00:00Z",
  "observed_at": "2026-11-13T00:04:12.549297Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2017-11-30T22:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2017-12-11date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Linux Kernel - 'The Huge Dirty Cow' Overwriting The Huge Zero Page (2)” (EDB-44305).

src exploitdb 44305 · nday , bulk import · raw
{
  "id": 23407,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/44305",
  "occurred_at": "2017-12-11T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "44305",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/44305",
    "file": "exploits/linux/dos/44305.c",
    "kind": "exploit",
    "tags": [],
    "type": "dos",
    "title": "Linux Kernel - 'The Huge Dirty Cow' Overwriting The Huge Zero Page (2)",
    "author": "anonymous",
    "edb_id": 44305,
    "cve_ids": [
      "CVE-2017-1000405"
    ],
    "platform": "linux",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2018-03-19",
    "date_updated": "2018-03-19",
    "date_published": "2017-12-11"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.