Bug 1568477 (CVE-2018-1000199)
Summary: | CVE-2018-1000199 kernel: ptrace() incorrect error handling leads to corruption and DoS | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Pedro Sampaio <psampaio> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | airlied, aquini, asavkov, bhu, blc, bskeggs, carnil, dhoward, dvlasenk, esammons, esyr, ewk, fhrbata, gadgetfu128, hdegoede, hkrzesin, hwkernel-mgr, iboverma, ichavero, itamar, jarodwilson, jbastian, jforbes, jglisse, jkacur, joe.lawrence, john.j5live, jonathan, josef, jpoimboe, jross, jstancek, jwboyer, kernel-maint, kernel-mgr, labbott, lgoncalv, linville, lwang, matt, mchehab, mcressma, mguzik, mjg59, mlangsdo, nmurray, plougher, ppandit, rt-maint, rvrbovsk, security-response-team, skozina, slawomir, steved, williams, yozone |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
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.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-05-28 14:11:04 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1569874, 1569875, 1569876, 1569877, 1569878, 1569879, 1569897, 1569935, 1569936, 1569937, 1569938, 1569939, 1569940, 1571203, 1573536 | ||
Bug Blocks: | 1568479 |
Description
Pedro Sampaio
2018-04-17 15:13:55 UTC
Acknowledgments: Name: Andy Lutomirski Mitigation: 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 Statement: This issue does not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 5 and Red Hat Enterprise Linux 6. This issue affects the version of the kernel package as shipped with Red Hat Enterprise Linux 7 and Red Hat Enterprise MRG 2. Future kernel updates for Red Hat Enterprise Linux 7 and Red Hat Enterprise MRG 2 may address this issue. This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2018:1318 https://access.redhat.com/errata/RHSA-2018:1318 This issue has been addressed in the following products: Red Hat Enterprise Linux 7.4 Extended Update Support Via RHSA-2018:1345 https://access.redhat.com/errata/RHSA-2018:1345 This issue has been addressed in the following products: Red Hat Enterprise Linux 7.2 Advanced Update Support Red Hat Enterprise Linux 7.2 Update Services for SAP Solutions Red Hat Enterprise Linux 7.2 Telco Extended Update Support Via RHSA-2018:1347 https://access.redhat.com/errata/RHSA-2018:1347 This issue has been addressed in the following products: Red Hat Enterprise Linux 7.3 Extended Update Support Via RHSA-2018:1348 https://access.redhat.com/errata/RHSA-2018:1348 This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2018:1355 https://access.redhat.com/errata/RHSA-2018:1355 This issue has been addressed in the following products: Red Hat Enterprise MRG 2 Via RHSA-2018:1354 https://access.redhat.com/errata/RHSA-2018:1354 This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2018:1374 https://access.redhat.com/errata/RHSA-2018:1374 How can you validate that the patch made it on? I see the script and the articles, but can you validate with a version of the kernel? if I run uname -r and it comes back with 3.10.0-862.2.3.e17.x86_64 does that mean the system is not vulnerable anymore? (In reply to Gadget from comment #18) > if I run uname -r and it comes back with > > 3.10.0-862.2.3.e17.x86_64 > does that mean the system is not vulnerable anymore? Yes, it does include the fix. Please note, Bugzilla is not for support queries. Please use proper support channel for future questions: -> https://access.redhat.com/ Thank you. |