First published: Tue Apr 17 2018(Updated: )
An address corruption flaw was discovered in the Linux kernel built with hardware breakpoint (CONFIG_HAVE_HW_BREAKPOINT) support. While modifying a h/w breakpoint via 'modify_user_hw_breakpoint' routine, an unprivileged user/process could use this flaw to crash the system kernel resulting in DoS OR to potentially escalate privileges on a the system.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/kernel-rt | <0:3.10.0-862.2.3.rt56.806.el7 | 0:3.10.0-862.2.3.rt56.806.el7 |
redhat/kernel | <0:3.10.0-862.2.3.el7 | 0:3.10.0-862.2.3.el7 |
redhat/kernel-alt | <0:4.14.0-49.2.2.el7a | 0:4.14.0-49.2.2.el7a |
redhat/kernel | <0:3.10.0-327.66.3.el7 | 0:3.10.0-327.66.3.el7 |
redhat/kernel | <0:3.10.0-514.48.3.el7 | 0:3.10.0-514.48.3.el7 |
redhat/kernel | <0:3.10.0-693.25.4.el7 | 0:3.10.0-693.25.4.el7 |
redhat/kernel-rt | <1:3.10.0-693.25.4.rt56.613.el6 | 1:3.10.0-693.25.4.rt56.613.el6 |
Debian Debian Linux | =7.0 | |
Debian Debian Linux | =8.0 | |
Debian Debian Linux | =9.0 | |
Linux Linux kernel | =3.18 | |
Canonical Ubuntu Linux | =12.04 | |
Canonical Ubuntu Linux | =14.04 | |
Canonical Ubuntu Linux | =16.04 | |
Canonical Ubuntu Linux | =17.10 | |
Redhat Enterprise Linux | =7.0 | |
Redhat Enterprise Linux | =7.2 | |
Redhat Enterprise Linux | =7.3 | |
Redhat Enterprise Linux | =7.4 | |
Redhat Enterprise Linux | =7.5 | |
Redhat Enterprise Linux Desktop | =7.0 | |
Redhat Enterprise Linux Server | =7.0 | |
Redhat Enterprise Linux Server Aus | =7.2 | |
Redhat Enterprise Linux Server Aus | =7.3 | |
Redhat Enterprise Linux Server Aus | =7.4 | |
Redhat Enterprise Linux Server Eus | =7.3 | |
Redhat Enterprise Linux Server Eus | =7.4 | |
Redhat Enterprise Linux Server Eus | =7.5 | |
Redhat Enterprise Linux Server Tus | =7.2 | |
Redhat Enterprise Linux Workstation | =7.0 | |
debian/linux | 5.10.223-1 6.1.106-3 6.1.99-1 6.10.9-1 |
To mitigate this issue: 1) Save the following script in a 'CVE-2018-1000199.stp' file. --- probe kernel.function("ptrace_set_debugreg") { if ($n < 4) $n = 4; /* set invalid debug register #, returns -EIO */ } probe begin { printk(0, "CVE-2018-1000199 mitigation loaded") } probe end { printk(0, "CVE-2018-1000199 mitigation unloaded") } --- 2) Install systemtap package and its dependencies # yum install -y systemtap systemtap-runtime # yum install -y kernel-devel kernel-debuginfo kernel-debuginfo-common 3) Build the mitigation kernel module as root. # stap -r `uname -r` -m cve_2018_1000199.ko -g CVE-2018-1000199.stp -p4 4) Load the mitigation module as root # staprun -L cve_2018_1000199.ko
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)