Upstream information

CVE-2017-1000405 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database SUSE
Base Score 6.9 3.6
Vector AV:L/AC:M/Au:N/C:C/I:C/A:C AV:L/AC:L/Au:N/C:N/I:P/A:P
Access Vector Local Local
Access Complexity Medium Low
Authentication None None
Confidentiality Impact Complete None
Integrity Impact Complete Partial
Availability Impact Complete Partial
CVSS v3 Scores
  SUSE
Base Score 5.7
Vector AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L
Access Vector Local
Access Complexity Low
Privileges Required None
User Interaction None
Scope Changed
Confidentiality Impact None
Integrity Impact Low
Availability Impact Low

Note from the SUSE Security Team

This issue affects our SUSE Linux Enterprise 12 kernels. SUSE Linux Enterprise 11 and older systems are not affected.

SUSE Bugzilla entries: 1069496 [RESOLVED / FIXED], 1070307 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Openstack Cloud Magnum Orchestration 7
  • kernel-default >= 4.4.90-92.50.1
Patchnames:
SUSE-OpenStack-Cloud-Magnum-Orchestration-7-2017-2007
SUSE CaaS Platform ALL
  • kernel-default >= 4.4.92-6.30.1
Patchnames:
SUSE-CAASP-ALL-2017-2006
SUSE Linux Enterprise Build System Kit 12 SP2
  • kernel-zfcpdump >= 4.4.90-92.50.1
Patchnames:
SUSE-SLE-BSK-12-SP2-2017-2007
SUSE Linux Enterprise Build System Kit 12 SP3
  • kernel-zfcpdump >= 4.4.92-6.30.1
Patchnames:
SUSE-SLE-BSK-12-SP3-2017-2006
SUSE Linux Enterprise Desktop 12 SP2
  • kernel-default >= 4.4.90-92.50.1
  • kernel-default-devel >= 4.4.90-92.50.1
  • kernel-default-extra >= 4.4.90-92.50.1
  • kernel-devel >= 4.4.90-92.50.1
  • kernel-macros >= 4.4.90-92.50.1
  • kernel-source >= 4.4.90-92.50.1
  • kernel-syms >= 4.4.90-92.50.1
Patchnames:
SUSE-SLE-DESKTOP-12-SP2-2017-2007
SUSE Linux Enterprise Desktop 12 SP3
  • kernel-default >= 4.4.92-6.30.1
  • kernel-default-devel >= 4.4.92-6.30.1
  • kernel-default-extra >= 4.4.92-6.30.1
  • kernel-devel >= 4.4.92-6.30.1
  • kernel-macros >= 4.4.92-6.30.1
  • kernel-source >= 4.4.92-6.30.1
  • kernel-syms >= 4.4.92-6.30.1
Patchnames:
SUSE-SLE-DESKTOP-12-SP3-2017-2006
SUSE Linux Enterprise High Availability 12 SP2
  • cluster-md-kmp-default >= 4.4.90-92.50.1
  • cluster-network-kmp-default >= 4.4.90-92.50.1
  • dlm-kmp-default >= 4.4.90-92.50.1
  • gfs2-kmp-default >= 4.4.90-92.50.1
  • kernel-default >= 4.4.90-92.50.1
  • ocfs2-kmp-default >= 4.4.90-92.50.1
Patchnames:
SUSE-SLE-HA-12-SP2-2017-2007
SUSE Linux Enterprise High Availability 12 SP3
  • cluster-md-kmp-default >= 4.4.92-6.30.1
  • dlm-kmp-default >= 4.4.92-6.30.1
  • gfs2-kmp-default >= 4.4.92-6.30.1
  • kernel-default >= 4.4.92-6.30.1
  • ocfs2-kmp-default >= 4.4.92-6.30.1
Patchnames:
SUSE-SLE-HA-12-SP3-2017-2006
SUSE Linux Enterprise Live Patching 12
  • kgraft-patch-4_4_59-92_17-default >= 7-2.1
  • kgraft-patch-4_4_59-92_20-default >= 7-2.1
  • kgraft-patch-4_4_59-92_24-default >= 6-2.1
  • kgraft-patch-4_4_74-92_29-default >= 6-2.1
  • kgraft-patch-4_4_74-92_32-default >= 5-2.1
  • kgraft-patch-4_4_74-92_35-default >= 5-2.1
  • kgraft-patch-4_4_74-92_38-default >= 4-2.1
  • kgraft-patch-4_4_90-92_45-default >= 2-2.1
  • kgraft-patch-4_4_90-92_50-default >= 1-4.1
  • kgraft-patch-SLE12-SP2_Update_10 >= 6-2.1
  • kgraft-patch-SLE12-SP2_Update_11 >= 5-2.1
  • kgraft-patch-SLE12-SP2_Update_12 >= 5-2.1
  • kgraft-patch-SLE12-SP2_Update_13 >= 4-2.1
  • kgraft-patch-SLE12-SP2_Update_14 >= 2-2.1
  • kgraft-patch-SLE12-SP2_Update_15 >= 1-4.1
  • kgraft-patch-SLE12-SP2_Update_7 >= 7-2.1
  • kgraft-patch-SLE12-SP2_Update_8 >= 7-2.1
  • kgraft-patch-SLE12-SP2_Update_9 >= 6-2.1
Patchnames:
SUSE-SLE-Live-Patching-12-2017-2007
SUSE-SLE-Live-Patching-12-2017-2046
SUSE-SLE-Live-Patching-12-2017-2047
SUSE-SLE-Live-Patching-12-2017-2051
SUSE-SLE-Live-Patching-12-2017-2053
SUSE-SLE-Live-Patching-12-2017-2054
SUSE-SLE-Live-Patching-12-2017-2055
SUSE-SLE-Live-Patching-12-2017-2056
SUSE-SLE-Live-Patching-12-2017-2069
SUSE Linux Enterprise Live Patching 12 SP3
  • kgraft-patch-4_4_82-6_3-default >= 4-2.1
  • kgraft-patch-4_4_82-6_6-default >= 3-2.1
  • kgraft-patch-4_4_82-6_9-default >= 3-2.1
  • kgraft-patch-4_4_92-6_18-default >= 2-2.1
  • kgraft-patch-4_4_92-6_30-default >= 1-6.1
  • kgraft-patch-SLE12-SP3_Update_1 >= 4-2.1
  • kgraft-patch-SLE12-SP3_Update_2 >= 3-2.1
  • kgraft-patch-SLE12-SP3_Update_3 >= 3-2.1
  • kgraft-patch-SLE12-SP3_Update_4 >= 2-2.1
  • kgraft-patch-SLE12-SP3_Update_5 >= 1-6.1
Patchnames:
SUSE-SLE-Live-Patching-12-SP3-2017-2006
SUSE-SLE-Live-Patching-12-SP3-2017-2073
SUSE-SLE-Live-Patching-12-SP3-2017-2074
SUSE-SLE-Live-Patching-12-SP3-2017-2075
SUSE-SLE-Live-Patching-12-SP3-2017-2076
SUSE Linux Enterprise Module for Public Cloud 12
  • kernel-ec2 >= 3.12.61-52.106.1
  • kernel-ec2-devel >= 3.12.61-52.106.1
  • kernel-ec2-extra >= 3.12.61-52.106.1
Patchnames:
SUSE-SLE-Module-Public-Cloud-12-2017-1995
SUSE-SLE-Module-Public-Cloud-12-2017-2024
SUSE Linux Enterprise Real Time Extension 12 SP2
  • cluster-md-kmp-rt >= 4.4.104-24.1
  • cluster-network-kmp-rt >= 4.4.104-24.1
  • dlm-kmp-rt >= 4.4.104-24.1
  • gfs2-kmp-rt >= 4.4.104-24.1
  • kernel-devel-rt >= 4.4.104-24.1
  • kernel-rt >= 4.4.104-24.1
  • kernel-rt-base >= 4.4.104-24.1
  • kernel-rt-devel >= 4.4.104-24.1
  • kernel-rt_debug >= 4.4.104-24.1
  • kernel-rt_debug-devel >= 4.4.104-24.1
  • kernel-source-rt >= 4.4.104-24.1
  • kernel-syms-rt >= 4.4.104-24.1
  • ocfs2-kmp-rt >= 4.4.104-24.1
Patchnames:
SUSE-SLE-RT-12-SP2-2018-145
SUSE Linux Enterprise Server 12 SP1-LTSS
  • kernel-default >= 3.12.74-60.64.66.1
  • kernel-default-base >= 3.12.74-60.64.66.1
  • kernel-default-devel >= 3.12.74-60.64.66.1
  • kernel-default-man >= 3.12.74-60.64.66.1
  • kernel-devel >= 3.12.74-60.64.66.1
  • kernel-macros >= 3.12.74-60.64.66.1
  • kernel-source >= 3.12.74-60.64.66.1
  • kernel-syms >= 3.12.74-60.64.66.1
  • kernel-xen >= 3.12.74-60.64.66.1
  • kernel-xen-base >= 3.12.74-60.64.66.1
  • kernel-xen-devel >= 3.12.74-60.64.66.1
  • kgraft-patch-3_12_74-60_64_66-default >= 1-2.1
  • kgraft-patch-3_12_74-60_64_66-xen >= 1-2.1
  • kgraft-patch-SLE12-SP1_Update_23 >= 1-2.1
Patchnames:
SUSE-SLE-SERVER-12-SP1-2017-1995
SUSE Linux Enterprise Server 12 SP2
  • kernel-default >= 4.4.90-92.50.1
  • kernel-default-base >= 4.4.90-92.50.1
  • kernel-default-devel >= 4.4.90-92.50.1
  • kernel-default-man >= 4.4.90-92.50.1
  • kernel-devel >= 4.4.90-92.50.1
  • kernel-macros >= 4.4.90-92.50.1
  • kernel-source >= 4.4.90-92.50.1
  • kernel-syms >= 4.4.90-92.50.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-2017-2007
SUSE Linux Enterprise Server 12 SP3
  • kernel-default >= 4.4.92-6.30.1
  • kernel-default-base >= 4.4.92-6.30.1
  • kernel-default-devel >= 4.4.92-6.30.1
  • kernel-default-man >= 4.4.92-6.30.1
  • kernel-devel >= 4.4.92-6.30.1
  • kernel-macros >= 4.4.92-6.30.1
  • kernel-source >= 4.4.92-6.30.1
  • kernel-syms >= 4.4.92-6.30.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-2017-2006
SUSE Linux Enterprise Server 12-LTSS
  • kernel-default >= 3.12.61-52.106.1
  • kernel-default-base >= 3.12.61-52.106.1
  • kernel-default-devel >= 3.12.61-52.106.1
  • kernel-default-man >= 3.12.61-52.106.1
  • kernel-devel >= 3.12.61-52.106.1
  • kernel-macros >= 3.12.61-52.106.1
  • kernel-source >= 3.12.61-52.106.1
  • kernel-syms >= 3.12.61-52.106.1
  • kernel-xen >= 3.12.61-52.106.1
  • kernel-xen-base >= 3.12.61-52.106.1
  • kernel-xen-devel >= 3.12.61-52.106.1
  • kgraft-patch-3_12_61-52_106-default >= 1-5.1
  • kgraft-patch-3_12_61-52_106-xen >= 1-5.1
  • kgraft-patch-SLE12_Update_29 >= 1-5.1
Patchnames:
SUSE-SLE-SERVER-12-2017-2024
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2
  • kernel-default >= 4.4.90-92.50.1
  • kernel-default-base >= 4.4.90-92.50.1
  • kernel-default-devel >= 4.4.90-92.50.1
  • kernel-devel >= 4.4.90-92.50.1
  • kernel-macros >= 4.4.90-92.50.1
  • kernel-source >= 4.4.90-92.50.1
  • kernel-syms >= 4.4.90-92.50.1
Patchnames:
SUSE-SLE-RPI-12-SP2-2017-2007
SUSE Linux Enterprise Server for SAP Applications 12 SP1
  • kernel-default >= 3.12.74-60.64.66.1
  • kernel-default-base >= 3.12.74-60.64.66.1
  • kernel-default-devel >= 3.12.74-60.64.66.1
  • kernel-devel >= 3.12.74-60.64.66.1
  • kernel-macros >= 3.12.74-60.64.66.1
  • kernel-source >= 3.12.74-60.64.66.1
  • kernel-syms >= 3.12.74-60.64.66.1
  • kernel-xen >= 3.12.74-60.64.66.1
  • kernel-xen-base >= 3.12.74-60.64.66.1
  • kernel-xen-devel >= 3.12.74-60.64.66.1
  • kgraft-patch-3_12_74-60_64_66-default >= 1-2.1
  • kgraft-patch-3_12_74-60_64_66-xen >= 1-2.1
  • kgraft-patch-SLE12-SP1_Update_23 >= 1-2.1
Patchnames:
SUSE-SLE-SAP-12-SP1-2017-1995
SUSE Linux Enterprise Server for SAP Applications 12 SP1-LTSS
  • kernel-default >= 3.12.74-60.64.66.1
  • kernel-default-base >= 3.12.74-60.64.66.1
  • kernel-default-devel >= 3.12.74-60.64.66.1
  • kernel-default-man >= 3.12.74-60.64.66.1
  • kernel-devel >= 3.12.74-60.64.66.1
  • kernel-macros >= 3.12.74-60.64.66.1
  • kernel-source >= 3.12.74-60.64.66.1
  • kernel-syms >= 3.12.74-60.64.66.1
  • kernel-xen >= 3.12.74-60.64.66.1
  • kernel-xen-base >= 3.12.74-60.64.66.1
  • kernel-xen-devel >= 3.12.74-60.64.66.1
  • kgraft-patch-3_12_74-60_64_66-default >= 1-2.1
  • kgraft-patch-3_12_74-60_64_66-xen >= 1-2.1
  • kgraft-patch-SLE12-SP1_Update_23 >= 1-2.1
Patchnames:
SUSE-SLE-SERVER-12-SP1-2017-1995
SUSE Linux Enterprise Server for SAP Applications 12 SP2
  • kernel-default >= 4.4.90-92.50.1
  • kernel-default-base >= 4.4.90-92.50.1
  • kernel-default-devel >= 4.4.90-92.50.1
  • kernel-default-man >= 4.4.90-92.50.1
  • kernel-devel >= 4.4.90-92.50.1
  • kernel-macros >= 4.4.90-92.50.1
  • kernel-source >= 4.4.90-92.50.1
  • kernel-syms >= 4.4.90-92.50.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-2017-2007
SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • kernel-default >= 4.4.92-6.30.1
  • kernel-default-base >= 4.4.92-6.30.1
  • kernel-default-devel >= 4.4.92-6.30.1
  • kernel-default-man >= 4.4.92-6.30.1
  • kernel-devel >= 4.4.92-6.30.1
  • kernel-macros >= 4.4.92-6.30.1
  • kernel-source >= 4.4.92-6.30.1
  • kernel-syms >= 4.4.92-6.30.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-2017-2006
SUSE Linux Enterprise Server for SAP Applications 12-LTSS
  • kernel-default >= 3.12.61-52.106.1
  • kernel-default-base >= 3.12.61-52.106.1
  • kernel-default-devel >= 3.12.61-52.106.1
  • kernel-default-man >= 3.12.61-52.106.1
  • kernel-devel >= 3.12.61-52.106.1
  • kernel-macros >= 3.12.61-52.106.1
  • kernel-source >= 3.12.61-52.106.1
  • kernel-syms >= 3.12.61-52.106.1
  • kernel-xen >= 3.12.61-52.106.1
  • kernel-xen-base >= 3.12.61-52.106.1
  • kernel-xen-devel >= 3.12.61-52.106.1
  • kgraft-patch-3_12_61-52_106-default >= 1-5.1
  • kgraft-patch-3_12_61-52_106-xen >= 1-5.1
  • kgraft-patch-SLE12_Update_29 >= 1-5.1
Patchnames:
SUSE-SLE-SERVER-12-2017-2024
SUSE Linux Enterprise Software Development Kit 12 SP2
  • kernel-docs >= 4.4.90-92.50.3
  • kernel-obs-build >= 4.4.90-92.50.1
Patchnames:
SUSE-SLE-SDK-12-SP2-2017-2007
SUSE Linux Enterprise Software Development Kit 12 SP3
  • kernel-docs >= 4.4.92-6.30.2
  • kernel-obs-build >= 4.4.92-6.30.1
Patchnames:
SUSE-SLE-SDK-12-SP3-2017-2006
SUSE Linux Enterprise Workstation Extension 12 SP2
  • kernel-default >= 4.4.90-92.50.1
  • kernel-default-extra >= 4.4.90-92.50.1
Patchnames:
SUSE-SLE-WE-12-SP2-2017-2007
SUSE Linux Enterprise Workstation Extension 12 SP3
  • kernel-default >= 4.4.92-6.30.1
  • kernel-default-extra >= 4.4.92-6.30.1
Patchnames:
SUSE-SLE-WE-12-SP3-2017-2006
SUSE OpenStack Cloud 6
  • kernel-default >= 3.12.74-60.64.66.1
  • kernel-default-base >= 3.12.74-60.64.66.1
  • kernel-default-devel >= 3.12.74-60.64.66.1
  • kernel-devel >= 3.12.74-60.64.66.1
  • kernel-macros >= 3.12.74-60.64.66.1
  • kernel-source >= 3.12.74-60.64.66.1
  • kernel-syms >= 3.12.74-60.64.66.1
  • kernel-xen >= 3.12.74-60.64.66.1
  • kernel-xen-base >= 3.12.74-60.64.66.1
  • kernel-xen-devel >= 3.12.74-60.64.66.1
  • kgraft-patch-3_12_74-60_64_66-default >= 1-2.1
  • kgraft-patch-3_12_74-60_64_66-xen >= 1-2.1
  • kgraft-patch-SLE12-SP1_Update_23 >= 1-2.1
Patchnames:
SUSE-OpenStack-Cloud-6-2017-1995
openSUSE Leap 42.2
  • kernel-debug >= 4.4.103-18.41.1
  • kernel-debug-base >= 4.4.103-18.41.1
  • kernel-debug-base-debuginfo >= 4.4.103-18.41.1
  • kernel-debug-debuginfo >= 4.4.103-18.41.1
  • kernel-debug-debugsource >= 4.4.103-18.41.1
  • kernel-debug-devel >= 4.4.103-18.41.1
  • kernel-debug-devel-debuginfo >= 4.4.103-18.41.1
  • kernel-default >= 4.4.103-18.41.1
  • kernel-default-base >= 4.4.103-18.41.1
  • kernel-default-base-debuginfo >= 4.4.103-18.41.1
  • kernel-default-debuginfo >= 4.4.103-18.41.1
  • kernel-default-debugsource >= 4.4.103-18.41.1
  • kernel-default-devel >= 4.4.103-18.41.1
  • kernel-devel >= 4.4.103-18.41.1
  • kernel-docs >= 4.4.103-18.41.1
  • kernel-docs-html >= 4.4.103-18.41.1
  • kernel-docs-pdf >= 4.4.103-18.41.1
  • kernel-macros >= 4.4.103-18.41.1
  • kernel-obs-build >= 4.4.103-18.41.1
  • kernel-obs-build-debugsource >= 4.4.103-18.41.1
  • kernel-obs-qa >= 4.4.103-18.41.1
  • kernel-source >= 4.4.103-18.41.1
  • kernel-source-vanilla >= 4.4.103-18.41.1
  • kernel-syms >= 4.4.103-18.41.1
  • kernel-vanilla >= 4.4.103-18.41.1
  • kernel-vanilla-base >= 4.4.103-18.41.1
  • kernel-vanilla-base-debuginfo >= 4.4.103-18.41.1
  • kernel-vanilla-debuginfo >= 4.4.103-18.41.1
  • kernel-vanilla-debugsource >= 4.4.103-18.41.1
  • kernel-vanilla-devel >= 4.4.103-18.41.1
Patchnames:
openSUSE-2017-1390
openSUSE Leap 42.3
  • kernel-debug >= 4.4.103-36.1
  • kernel-debug-base >= 4.4.103-36.1
  • kernel-debug-base-debuginfo >= 4.4.103-36.1
  • kernel-debug-debuginfo >= 4.4.103-36.1
  • kernel-debug-debugsource >= 4.4.103-36.1
  • kernel-debug-devel >= 4.4.103-36.1
  • kernel-debug-devel-debuginfo >= 4.4.103-36.1
  • kernel-default >= 4.4.103-36.1
  • kernel-default-base >= 4.4.103-36.1
  • kernel-default-base-debuginfo >= 4.4.103-36.1
  • kernel-default-debuginfo >= 4.4.103-36.1
  • kernel-default-debugsource >= 4.4.103-36.1
  • kernel-default-devel >= 4.4.103-36.1
  • kernel-devel >= 4.4.103-36.1
  • kernel-docs >= 4.4.103-36.1
  • kernel-docs-html >= 4.4.103-36.1
  • kernel-docs-pdf >= 4.4.103-36.1
  • kernel-macros >= 4.4.103-36.1
  • kernel-obs-build >= 4.4.103-36.1
  • kernel-obs-build-debugsource >= 4.4.103-36.1
  • kernel-obs-qa >= 4.4.103-36.1
  • kernel-source >= 4.4.103-36.1
  • kernel-source-vanilla >= 4.4.103-36.1
  • kernel-syms >= 4.4.103-36.1
  • kernel-vanilla >= 4.4.103-36.1
  • kernel-vanilla-base >= 4.4.103-36.1
  • kernel-vanilla-base-debuginfo >= 4.4.103-36.1
  • kernel-vanilla-debuginfo >= 4.4.103-36.1
  • kernel-vanilla-debugsource >= 4.4.103-36.1
  • kernel-vanilla-devel >= 4.4.103-36.1
  • kselftests-kmp-debug >= 4.4.103-36.1
  • kselftests-kmp-debug-debuginfo >= 4.4.103-36.1
  • kselftests-kmp-default >= 4.4.103-36.1
  • kselftests-kmp-default-debuginfo >= 4.4.103-36.1
  • kselftests-kmp-vanilla >= 4.4.103-36.1
  • kselftests-kmp-vanilla-debuginfo >= 4.4.103-36.1
Patchnames:
openSUSE-2017-1391


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE Linux Enterprise Desktop 12 SP2 kernel-source Released
SUSE Linux Enterprise Desktop 12 SP3 kernel-source Released
SUSE Linux Enterprise Server 11 SP3 LTSS kernel-source Not affected
SUSE Linux Enterprise Server 11 SP4 kernel-source Not affected
SUSE Linux Enterprise Server 12 GA LTSS kernel-source Released
SUSE Linux Enterprise Server 12 SP1 LTSS kernel-source Released
SUSE Linux Enterprise Server 12 SP2 kernel-source Released
SUSE Linux Enterprise Server 12 SP3 kernel-source Released