7

CVE-2017-1000405: linux linux_kernel

Modified
AliasesRHSA-2018:0180UBUNTU-CVE-2017-1000405DEBIAN-CVE-2017-1000405
Published 30-11-2017Last modified 05-08-2024

Vulnerability summary

CVE-2017-1000405 is a high (CVSS 7.0) vulnerability in linux linux_kernel. EPSS estimates a 2.84% chance of exploitation in the next 30 days, higher than 86.6% of scored vulnerabilities. 3 public exploits are recorded.

Priority
Prioritisepublic exploit

Public exploit (exploit-database, 11-12-2017)

Source freshness unavailable

How is this decided?
CVSS score
7.0/10
010
High · v3.1 (NVD)
EPSS score
2.84%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits3reference, exploit-database

Advisory lineage

Upstream 0 · Downstream 25 · Related 25

Timeline

  1. 30-11-2017
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 4 sources · 3 versions

EPSS trend

Probability

2.84%

Chance of exploitation in the next 30 days

Percentile

87%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.84% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

3 found
  • referenceUnverified

    Exploit Reference (medium.com)

    Maturity: unknown

  • exploit-databasedoslinuxUnverified

    Linux Kernel - 'The Huge Dirty Cow' Overwriting The Huge Zero Page (1)

    Maturity: poc

  • exploit-databasedoslinuxUnverified

    Linux Kernel - 'The Huge Dirty Cow' Overwriting The Huge Zero Page (2)

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat21 products
  • kernel< 0:4.11.0-44.4.1.el7a
  • kernel-abi-whitelists< 0:4.11.0-44.4.1.el7a
  • kernel-alt< 0:4.11.0-44.4.1.el7a
  • kernel-bootwrapper< 0:4.11.0-44.4.1.el7a
  • kernel-debug< 0:4.11.0-44.4.1.el7a
Ubuntu18 products
  • linux< 3.13.0-137.186 | < 4.4.0-103.126
  • linux-aws< 4.4.0-1005.5 | < 4.4.0-1043.52
  • linux-azure< 4.11.0-1016.16
  • linux-azure-fdeAll versions (No fix recorded)
  • linux-fips< 4.4.0-1005.5
Debian1 product
  • linux< 4.14.2-1
Linux1 product
  • 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

4 vendors · 41 products

References

24 links
Show all 24 references