7.8
CWE
119 460
Advisory Published
CVE Published
CVE Published
Updated

CVE-2018-1000199: Buffer Overflow

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 SoftwareAffected VersionHow 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

Remedy

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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203