CVE-2017-7889 Security feature bypass in n/a

High 7.8 Published Updated

Local attackers can bypass CONFIG_STRICT_DEVMEM to read or write kernel memory via /dev/mem, compromising system integrity.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-7889?

CVE-2017-7889 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 17 Apr 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The mm subsystem in the Linux kernel through 3.2 does not properly enforce the CONFIG_STRICT_DEVMEM 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.

Weakness: CWE-732

Which versions are affected by CVE-2017-7889?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Linux kernel.

How do I fix CVE-2017-7889?

Apply the vendor's patch.

Is CVE-2017-7889 being exploited?

There is no known exploitation of CVE-2017-7889 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-7889, GHSA-p5mv-cxgx-vhg7, UBUNTU-CVE-2017-7889.

Is CVE-2017-7889 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free