Lucene search

K
ubuntucveUbuntu.comUB:CVE-2017-1000405
HistoryNov 30, 2017 - 12:00 a.m.

CVE-2017-1000405

2017-11-3000:00:00
ubuntu.com
ubuntu.com
18

7 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

6.9 Medium

CVSS2

Access Vector

LOCAL

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:M/Au:N/C:C/I:C/A:C

0.002 Low

EPSS

Percentile

54.7%

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.

Notes

Author Note
smb Added introducing commit as suggested by RH. We backported that into Trusty and later but not into Precise.
OSVersionArchitecturePackageVersionFilename
ubuntu17.10noarchlinux<Β 4.13.0-19.22UNKNOWN
ubuntu14.04noarchlinux<Β 3.13.0-137.186UNKNOWN
ubuntu16.04noarchlinux<Β 4.4.0-103.126UNKNOWN
ubuntu17.04noarchlinux<Β 4.10.0-42.46UNKNOWN
ubuntu14.04noarchlinux-aws<Β 4.4.0-1005.5UNKNOWN
ubuntu16.04noarchlinux-aws<Β 4.4.0-1043.52UNKNOWN
ubuntu16.04noarchlinux-azure<Β 4.11.0-1016.16UNKNOWN
ubuntu16.04noarchlinux-gcp<Β 4.13.0-1002.5UNKNOWN
ubuntu16.04noarchlinux-hwe<Β 4.10.0-42.46~16.04.1UNKNOWN
ubuntu16.04noarchlinux-hwe-edge<Β 4.10.0-42.46~16.04.1UNKNOWN
Rows per page:
1-10 of 191

7 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

6.9 Medium

CVSS2

Access Vector

LOCAL

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:M/Au:N/C:C/I:C/A:C

0.002 Low

EPSS

Percentile

54.7%