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

Published Apr 17, 2017
·
Updated

Last updated 4 July 2026

Other sources

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.

— Launchpad

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

13 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
debian/linux
6.1.176-16.1.187-16.12.107-16.12.111-17.2.9-17.2.10-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 6.1.176-1Fixed in 6.1.187-1Fixed in 6.12.107-1Fixed in 6.12.111-1Fixed in 7.2.9-1Fixed in 7.2.10-1
  2. Upgrade

    Upgrade linux kernel to a version that resolves this vulnerability.

    Fixed in 4.10.10Patch a4866aa812518ed1a37d8ea0c881dc946409de94
  3. Compensating control

    If you cannot immediately patch, prevent untrusted/local users from being able to open /dev/mem (e.g., remove access via OS permissions/ACLs or restrict the ability to run the needed application to trusted users only).

Event History

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
Jan 11, 2024
Data Sourced
via Launchpad·10:41 PM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:04 AM
RemedyDescriptionSeverityAffected Software
Oct 13, 2026
Data Sourced
via Debian·01:11 PM
DescriptionAffected Software

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