CVE-2017-7889: High severity Linux Linux kernel vulnerability

Published Apr 17, 2017
·
Updated

The mm subsystem in the Linux kernel through 3.2 does not properly enforce the CONFIGSTRICTDEVMEM protection mechanism, which allows local users to read or write to kernel memory locations in the first megabyte (and bypass slab-allocation access restrictions) via an application that opens the /dev/mem file, related to arch/x86/mm/init.c and drivers/char/mem.c.

Other sources

The mm subsystem in the Linux kernel through 4.10.10 does not properly enforce the CONFIGSTRICTDEVMEM protection mechanism, which allows local users to read or write to kernel memory locations in the first megabyte (and bypass slab-allocation access restrictions) via an application that opens the /dev/mem file, related to arch/x86/mm/init.c and drivers/char/mem.c.

Discussion:

http://seclists.org/oss-sec/2017/q2/76

Upstream patch:

https://github.com/torvalds/linux/commit/a4866aa812518ed1a37d8ea0c881dc946409de94

— Red Hat

Affected Software

39 affected componentsFixes available
Linux Linux kernel<3.2.91
Linux Linux kernel>=3.3<3.10.107
Linux Linux kernel>=3.11<3.12.74
Linux Linux kernel>=3.13<3.16.46
Linux Linux kernel>=3.17<3.18.50
Linux Linux kernel>=3.19<4.1.41
Linux Linux kernel>=4.2<4.4.63
Linux Linux kernel>=4.5<4.9.24
Linux Linux kernel>=4.10<4.10.12
Debian Debian Linux=8.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
ubuntu/linux<3.13.0-142.191
3.13.0-142.191
ubuntu/linux-lts-xenial<4.4.0-79.100~14.04.1
4.4.0-79.100~14.04.1
ubuntu/linux<4.4.0-79.100
4.4.0-79.100
ubuntu/linux-aws<4.4.0-1018.27
4.4.0-1018.27
ubuntu/linux-gke<4.4.0-1014.14
4.4.0-1014.14
ubuntu/linux-hwe<4.10.0-32.36~16.04.1
4.10.0-32.36~16.04.1
ubuntu/linux-raspi2<4.4.0-1057.64
4.4.0-1057.64
ubuntu/linux-snapdragon<4.4.0-1059.63
4.4.0-1059.63
ubuntu/linux-azure*
ubuntu/linux-gcp*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-gke*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-azure-6.11*
ubuntu/linux-gcp-6.11*
ubuntu/linux-hwe-6.11*
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-raspi-realtime*
debian/linux
6.1.176-16.1.192-26.12.107-16.12.117-17.3.4-17.3.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 3.13.0-142.191
  2. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-79.100~14.04.1
  3. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-79.100
  4. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1018.27
  5. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 4.4.0-1014.14
  6. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.10.0-32.36~16.04.1
  7. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.4.0-1057.64
  8. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.4.0-1059.63
  9. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 6.12.107-1Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1
  10. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch a4866aa812518ed1a37d8ea0c881dc946409de94

Event History

Apr 16, 2017
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Apr 17, 2017
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·12:59 AM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 21, 2017
Data Sourced
via Red Hat·12:48 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2017-7889?

CVE-2017-7889 is a vulnerability in the Linux kernel that allows local users to read or write to kernel memory locations in the first megabyte through the CONFIG_STRICT_DEVMEM protection mechanism.

2

What is the severity level of CVE-2017-7889?

CVE-2017-7889 has a severity level of medium.

3

How does CVE-2017-7889 affect Linux systems?

CVE-2017-7889 affects Linux systems running kernel versions through 3.2 that do not properly enforce the CONFIG_STRICT_DEVMEM protection mechanism.

4

How can I fix CVE-2017-7889 vulnerability?

To fix the CVE-2017-7889 vulnerability, update your Linux kernel to version 4.11 or higher.

5

Where can I find more information about CVE-2017-7889?

You can find more information about CVE-2017-7889 at the following references: [http://seclists.org/oss-sec/2017/q2/76](http://seclists.org/oss-sec/2017/q2/76), [https://github.com/torvalds/linux/commit/a4866aa812518ed1a37d8ea0c881dc946409de94](https://github.com/torvalds/linux/commit/a4866aa812518ed1a37d8ea0c881dc946409de94), [https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1444496](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1444496).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203