Bug 1027778 (CVE-2013-2930)

Summary: CVE-2013-2930 kernel: perf/ftrace: insufficient check in perf_trace_event_perm()
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: agordeev, anton, aquini, bhu, dhoward, esammons, fhrbata, iboverma, jkacur, jolsa, jross, kernel-mgr, lgoncalv, lwang, mcressma, npajkovs, pholasek, pmatouse, security-response-team, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-28 18:29:30 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: 1027779, 1027781, 1027783    
Bug Blocks: 1027789    

Description Petr Matousek 2013-11-07 12:06:17 UTC
A flaw was found in the way perf_trace_event_perm() function in the Linux kernel checked permissions for function tracer functionality, allowing unprivileged local user to enable function tracing.

As a result, unprivileged local user could make the system unusable (DoS).

Introduced by:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ced39002f5ea

Fixed by:
http://git.kernel.org/cgit/linux/kernel/git/rostedt/linux-trace.git/commit/?h=ftrace/urgent&id=d1356abac98cce8e7765186f8093da1442d74d1d

Comment 4 Petr Matousek 2013-11-07 12:51:08 UTC
Statement:

This issue does not affect the version of the kernel package as shipped with Red Hat Enterprise Linux 5 and 6.

Comment 5 Jarod Wilson 2013-12-05 14:09:18 UTC
Patch(es) available on kernel-3.10.0-58.el7

Comment 7 Jarod Wilson 2013-12-05 20:13:48 UTC
This is the tracking bug, not the RHEL7 bug, not quite sure how that didn't get caught at commit time. Fixing...

Comment 12 errata-xmlrpc 2014-01-28 17:40:46 UTC
This issue has been addressed in following products:

  MRG for RHEL-6 v.2

Via RHSA-2014:0100 https://rhn.redhat.com/errata/RHSA-2014-0100.html