CVE-2018-1000199: Buffer Overflow

Published Apr 17, 2018
·
Updated

An address corruption flaw was discovered in the Linux kernel built with hardware breakpoint (CONFIGHAVEHWBREAKPOINT) support. While modifying a h/w breakpoint via 'modifyuserhwbreakpoint' 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.

Other sources

Linux kernel built with the hardware breakpoint(CONFIGHAVEHWBREAKPOINT) support is vulnerable to a breakpoint address corruption issue. It could occur while modifying a h/w breakpoint via 'modifyuserhwbreakpoint' 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.

Upstream patches: ----------------- -> https://git.kernel.org/linus/f67b15037a7a50c57f72e69a6d59941ad90a0f0f -> https://git.kernel.org/linus/18ff57b220610a699947f20b156a8245ca7eee98 -> https://git.kernel.org/linus/705feaf321c37e4dca3637fd5cb3b275f17a06c9

Reference: ---------- -> http://www.openwall.com/lists/oss-security/2018/05/01/3

Red Hat

The Linux Kernel version 3.18 contains a dangerous feature vulnerability in modifyuserhwbreakpoint() that can result in crash and possibly memory corruption. This attack appear to be exploitable via local code execution and the ability to use ptrace. This vulnerability appears to have been fixed in git commit f67b15037a7a50c57f72e69a6d59941ad90a0f0f.

Affected Software

31 affected componentsFixes available
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-15.10.257-16.1.170-36.1.174-16.12.86-16.12.94-17.0.13-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-862.2.3.rt56.806.el7
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-862.2.3.el7
  3. Upgrade

    Upgrade redhat/kernel-alt to a version that resolves this vulnerability.

    Fixed in 0:4.14.0-49.2.2.el7a
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-327.66.3.el7
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-514.48.3.el7
  6. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-693.25.4.el7
  7. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 1:3.10.0-693.25.4.rt56.613.el6
  8. Upgrade

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

    Fixed in 5.10.223-1Fixed in 5.10.257-1Fixed in 6.1.170-3Fixed in 6.1.174-1Fixed in 6.12.86-1Fixed in 6.12.94-1Fixed in 7.0.13-1
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch f67b15037a7a50c57f72e69a6d59941ad90a0f0f
  10. Compensating control

    Install systemtap and dependencies (`yum install -y systemtap systemtap-runtime kernel-devel kernel-debuginfo kernel-debuginfo-common`) to build/load the provided mitigation SystemTap script for CVE-2018-1000199.

  11. Operational

    Save the mitigation script content as a file named `CVE-2018-1000199.stp`, then build the mitigation module as root and load it as root (as described: `stap -r `uname -r` -m cve_2018_1000199.ko -g CVE-2018-1000199.stp -p4` and `staprun -L cve_2018_1000199.ko`).

Event History

Apr 17, 2018
Data Sourced
via Red Hat·03:13 PM
DescriptionSeverityAffected Software
May 1, 2018
CVE Published
12:00 AM
May 24, 2018
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
Description
Data Sourced
via NVD·01:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:43 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·03:21 PM
RemedyDescriptionSeverityAffected Software
Jun 29, 2026
Data Sourced
via Debian·02:44 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2018-1000199?

CVE-2018-1000199 is classified as a critical vulnerability due to its potential to cause a denial of service.

2

How do I fix CVE-2018-1000199?

To address CVE-2018-1000199, update to the specified remedial kernel versions provided by your Linux distribution.

3

What systems are affected by CVE-2018-1000199?

CVE-2018-1000199 affects various versions of the Linux kernel, particularly those built with hardware breakpoint support.

4

Can CVE-2018-1000199 be exploited by unprivileged users?

Yes, CVE-2018-1000199 can be exploited by unprivileged users to crash the system kernel.

5

What types of denial of service are caused by CVE-2018-1000199?

CVE-2018-1000199 can lead to system crashes, resulting in a denial of service for affected systems.

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