CVE-2017-1000405
CVSS V2 Medium 6.9
CVSS V3 High 7
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.
Overview
- CVE ID
- CVE-2017-1000405
- Assigner
- cve@mitre.org
- Vulnerability Status
- Modified
- Published Version
- 2017-11-30T22:29:00
- Last Modified Date
- 2018-02-13T02:29:00
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 1 | OR | 2.6.38 | 4.14 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:M/Au:N/C:C/I:C/A:C
- Access Vector
- LOCAL
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- COMPLETE
- Integrity Impact
- COMPLETE
- Availability Impact
- COMPLETE
- Base Score
- 6.9
- Severity
- MEDIUM
- Exploitability Score
- 3.4
- Impact Score
- 10
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- LOCAL
- Attack Compatibility
- HIGH
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7
- Base Severity
- HIGH
- Exploitability Score
- 1
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://medium.com/bindecy/huge-dirty-cow-cve-2017-1000405-110eca132de0 | Exploit Issue Tracking Third Party Advisory |
https://www.exploit-db.com/exploits/43199/ | Exploit Issue Tracking Third Party Advisory VDB Entry |
http://www.securityfocus.com/bid/102032 | Third Party Advisory VDB Entry |
http://www.securitytracker.com/id/1040020 | |
https://access.redhat.com/errata/RHSA-2018:0180 | |
https://source.android.com/security/bulletin/pixel/2018-02-01 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2017-1000405 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000405 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 18:48:50 | Added to TrackCVE | |||
2022-12-02 23:34:50 | 2017-11-30T22:29Z | 2017-11-30T22:29:00 | CVE Published Date | updated |
2022-12-02 23:34:50 | 2018-02-13T02:29:00 | CVE Modified Date | updated | |
2022-12-02 23:34:50 | Modified | Vulnerability Status | updated |