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 1218454 - (CVE-2015-6526) CVE-2015-6526 kernel: perf on ppc64 can loop forever getting userlevel stacktraces
CVE-2015-6526 kernel: perf on ppc64 can loop forever getting userlevel stackt...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20150413,repor...
: Security
Depends On: 1213950 1253892
Blocks: 1218457
  Show dependency treegraph
 
Reported: 2015-05-04 20:29 EDT by Fabio Olive Leite
Modified: 2017-08-10 01:54 EDT (History)
35 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A flaw was found in the way the Linux kernel's perf subsystem retrieved userlevel stack traces on PowerPC systems. A local, unprivileged user could use this flaw to cause a denial of service on the system by creating a special stack layout that would force the perf_callchain_user_64() function into an infinite loop.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-10 01:54:09 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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2152 normal SHIPPED_LIVE Important: kernel security, bug fix, and enhancement update 2015-11-19 19:56:02 EST

  None (edit)
Description Fabio Olive Leite 2015-05-04 20:29:25 EDT
A malicious user could create a special stack layout that fools
the perf_callchain_user_64 function into an infinite loop, tying up
that particular CPU and the process can not be killed.

A kernel patch was committed upstream capping the maximum userlevel
stacktrace collected by perf to PERF_MAX_STACK_DEPTH on 64bit powerpc
architectures. This affects all ppc64 kernels that support perf.

This seems to be kind of local DOS that can be resolved when the system is
rebooted.

References:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9a5cbce421a283e6aea3c4007f141735bf9da8c3

CVE assignment:
http://seclists.org/oss-sec/2015/q3/410
Comment 2 Wade Mealing 2015-08-15 00:46:21 EDT
Statement:

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

This issue affects the Linux kernels as shipped with Red Hat Enterprise Linux 7  and may be addressed in a future update.
Comment 3 Wade Mealing 2015-08-15 02:08:16 EDT
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1253892]
Comment 4 Adam Mariš 2015-08-21 09:40:47 EDT
CVE assignment:

http://seclists.org/oss-sec/2015/q3/410
Comment 6 errata-xmlrpc 2015-11-19 17:14:47 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:2152 https://rhn.redhat.com/errata/RHSA-2015-2152.html
Comment 7 errata-xmlrpc 2015-11-19 18:25:49 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:2152 https://rhn.redhat.com/errata/RHSA-2015-2152.html

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