CVE-2017-7889
Last modified
CVE-2017-7889 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 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 |
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a4866aa812518ed1a37d8ea0c881dc946409de94Issue Tracking, Patch, Third Party Advisory
- http://www.debian.org/security/2017/dsa-3945Third Party Advisory
- http://www.openwall.com/lists/oss-security/2017/04/16/4Mailing List, Patch, Third Party Advisory
- http://www.securityfocus.com/bid/97690Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:1842Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2077Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2669Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1854Third Party Advisory
- https://github.com/torvalds/linux/commit/a4866aa812518ed1a37d8ea0c881dc946409de94Issue Tracking, Patch, Third Party Advisory
- https://usn.ubuntu.com/3583-1/Third Party Advisory
- https://usn.ubuntu.com/3583-2/Third Party Advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a4866aa812518ed1a37d8ea0c881dc946409de94Issue Tracking, Patch, Third Party Advisory
- http://www.debian.org/security/2017/dsa-3945Third Party Advisory
- http://www.openwall.com/lists/oss-security/2017/04/16/4Mailing List, Patch, Third Party Advisory
- http://www.securityfocus.com/bid/97690Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:1842Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2077Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2669Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1854Third Party Advisory
- https://github.com/torvalds/linux/commit/a4866aa812518ed1a37d8ea0c881dc946409de94Issue Tracking, Patch, Third Party Advisory
- https://usn.ubuntu.com/3583-1/Third Party Advisory
- https://usn.ubuntu.com/3583-2/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-7889?
How severe is CVE-2017-7889?
How do I fix CVE-2017-7889?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-7882LibreOffice before 2017-03-14 has an out-of-bounds write rel…
- CVE-2017-7884In Adam Kropelin adk0212 APC UPS Daemon through 3.14.14, the…
- CVE-2017-7885Artifex jbig2dec 0.13 has a heap-based buffer over-read lead…
- CVE-2017-7886Dolibarr ERP/CRM 4.0.4 has SQL Injection in doli/theme/eldy/…
- CVE-2017-7887Dolibarr ERP/CRM 4.0.4 has XSS in doli/societe/list.php via …
- CVE-2017-7888Dolibarr ERP/CRM 4.0.4 stores passwords with the MD5 algorit…
- CVE-2017-7890The GIF decoding function gdImageCreateFromGifCtx in gd_gif_…
- CVE-2017-7891sourcebans-pp (SourceBans++) 1.5.4.7 has XSS in admin.comms.…
- CVE-2017-7892Sandstorm Cap'n Proto before 0.5.3.1 allows remote crashes r…
- CVE-2017-7893In SaltStack Salt before 2016.3.6, compromised salt-minions …
- CVE-2017-7894WinDjView 2.1 might allow user-assisted attackers to execute…
- CVE-2017-7895The NFSv2 and NFSv3 server implementations in the Linux kern…9.8
Are you affected by CVE-2017-7889?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
