Bug 1566837 (CVE-2018-1087) - CVE-2018-1087 Kernel: KVM: error in exception handling leads to wrong debug stack value
Summary: CVE-2018-1087 Kernel: KVM: error in exception handling leads to wrong debug s...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-1087
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1566842 1566843 1566844 1566845 1566846 1566847 1566848 1566849 1566850 1566851 1567907 1576070 1577045 1577046 1577047
Blocks: 1558424
TreeView+ depends on / blocked
 
Reported: 2018-04-13 05:54 UTC by Prasad Pandit
Modified: 2021-09-09 13:41 UTC (History)
79 users (show)

Fixed In Version: kernel 4.16, kernel 4.16-rc7, kernel 4.17-rc1, kernel 4.17-rc2, kernel 4.17-rc3
Doc Type: Bug Fix
Doc Text:
A flaw was found in the way the Linux kernel's KVM hypervisor handled exceptions delivered after a stack switch operation via Mov SS or Pop SS instructions. During the stack switch operation, the processor did not deliver interrupts and exceptions, rather they are delivered once the first instruction after the stack switch is executed. An unprivileged KVM guest user could use this flaw to crash the guest or, potentially, escalate their privileges in the guest.
Clone Of:
Environment:
Last Closed: 2018-05-28 13:53:13 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1318 0 None None None 2018-05-08 18:26:10 UTC
Red Hat Product Errata RHSA-2018:1345 0 None None None 2018-05-08 19:49:23 UTC
Red Hat Product Errata RHSA-2018:1347 0 None None None 2018-05-08 21:38:16 UTC
Red Hat Product Errata RHSA-2018:1348 0 None None None 2018-05-08 21:53:35 UTC
Red Hat Product Errata RHSA-2018:1355 0 None None None 2018-05-08 22:24:44 UTC
Red Hat Product Errata RHSA-2018:1524 0 None None None 2018-05-15 17:39:43 UTC

Description Prasad Pandit 2018-04-13 05:54:03 UTC
A flaw was found in the way the Linux kernel's KVM hypervisor handled exceptions delivered after a stack switch operation via Mov SS or Pop SS instructions. During the stack switch operation, processor does not deliver interrupts and exceptions, they are delivered once the first instruction after the stack switch is executed.

An unprivileged KVM guest user could use this flaw to crash the guest and/or potentially escalate their privileges in the guest.

Upstream patch:
---------------
  -> https://git.kernel.org/linus/32d43cd391bacb5f0814c2624399a5dad3501d09

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2018/05/08/5

Comment 8 Prasad Pandit 2018-05-02 12:10:51 UTC
Acknowledgments:

Name: Andy Lutomirski

Comment 9 Justin M. Forbes 2018-05-08 17:20:38 UTC
This issue was fixed for Fedora with the 4.16 rebases.

Comment 11 Eric Christensen 2018-05-08 17:37:42 UTC
Statement:

This issue does not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 5, 6, and Red Hat Enterprise MRG 2.

This issue affects the version of the kernel package as shipped with Red Hat Enterprise Linux 7. Future kernel updates for Red Hat Enterprise Linux 7 may address this issue.

Comment 12 errata-xmlrpc 2018-05-08 18:25:49 UTC
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

Comment 13 Fabio Olive Leite 2018-05-08 19:26:48 UTC
External References:

https://access.redhat.com/security/vulnerabilities/pop_ss

Comment 14 errata-xmlrpc 2018-05-08 19:48:58 UTC
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

Comment 15 errata-xmlrpc 2018-05-08 21:37:55 UTC
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

Comment 16 errata-xmlrpc 2018-05-08 21:53:13 UTC
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

Comment 17 errata-xmlrpc 2018-05-08 22:24:25 UTC
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

Comment 19 errata-xmlrpc 2018-05-15 17:39:19 UTC
This issue has been addressed in the following products:

  Red Hat Virtualization 4 for RHEL-7

Via RHSA-2018:1524 https://access.redhat.com/errata/RHSA-2018:1524


Note You need to log in before you can comment on or make changes to this bug.