Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1243465 - (CVE-2015-3290) CVE-2015-3290 kernel: x86: nested NMI handler and espfix64 interaction privilege escalation
CVE-2015-3290 kernel: x86: nested NMI handler and espfix64 interaction privil...
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20150722,repo...
: Security
Depends On: 1245936
Blocks: 1243467
  Show dependency treegraph
 
Reported: 2015-07-15 09:42 EDT by Martin Prpič
Modified: 2015-08-04 07:28 EDT (History)
24 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A flaw was found in the way the Linux kernel's nested NMI handler and espfix64 functionalities interacted during NMI processing. A local, unprivileged user could use this flaw to crash the system or, potentially, escalate their privileges on the system.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-23 03:35:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Martin Prpič 2015-07-15 09:42:15 EDT
A flaw was found in the way Linux kernel's nested NMI handler and espfix64 functionalities interacted during NMI processing.

A local, unprivileged user could use this flaw to crash the system or, potentially, escalate their privileges on the system.

Upstream fix:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9b6e6a8334d56354853f9c255d1395c2ba570e0a

Acknowledgements:

Red Hat would like to thank Andy Lutomirski for reporting this issue.
Comment 2 Petr Matousek 2015-07-23 03:23:42 EDT
In order to exploit this issue non-root (non-privileged) user needs to make the Linux kernel's NMI handler perform an iret instruction, which re-enables NMIs and thus the nested NMI code path in the NMI handler is exercised.

To our knowledge, an unprivileged local user can do that since upstream commit https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e00b12e64be9a34ef071de7b6052ca9ea29dd460.
Comment 3 Petr Matousek 2015-07-23 03:35:53 EDT
Statement:

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5 and 6 since they did not backport the nested NMI handler and espfix64 functionalities.

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 7 and Red Hat Enterprise MRG 2 since they did not backport the espfix64 functionality and also did not backport upstream commit e00b12e64be9a3 that allowed an unprivileged local user to re-enable NMIs from the NMI handler.
Comment 4 Petr Matousek 2015-07-23 03:37:57 EDT
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1245936]

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