Bug 1161565 (CVE-2014-7825, CVE-2014-7826)

Summary: CVE-2014-7825 CVE-2014-7826 kernel: insufficient syscall number validation in perf and ftrace subsystems
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: aquini, bhu, carnil, dhoward, fhrbata, gansalmon, iboverma, itamar, jforbes, jkacur, jonathan, jross, jwboyer, kernel-maint, kernel-mgr, lgoncalv, madhu.chinakonda, matt, mchehab, mcressma, nmurray, plougher, rt-maint, rvrbovsk, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
An out-of-bounds memory access flaw, CVE-2014-7825, was found in the syscall tracing functionality of the Linux kernel's perf subsystem. A local, unprivileged user could use this flaw to crash the system. Additionally, an out-of-bounds memory access flaw, CVE-2014-7826, was found in the syscall tracing functionality of the Linux kernel's ftrace subsystem. On a system with ftrace syscall tracing enabled, a local, unprivileged user could use this flaw to crash the system, or escalate their privileges.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:35:43 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: 1161567, 1161568, 1161569, 1161570, 1161571, 1161572    
Bug Blocks: 1160107    

Description Petr Matousek 2014-11-07 11:05:10 UTC
An out-of-bounds memory access flaw was found in the Linux kernel's perf and
ftrace subsystems.

On a system with syscall perf profiling on (CVE-2014-7825) an unprivileged local
user could use this flaw to crash the system.

On a system with ftrace syscall tracing on (CVE-2014-7826) an unprivileged local
user could use this flaw to crash the system or escalate their privileges on
the system.

References:
http://www.openwall.com/lists/oss-security/2014/11/06/11

Upstream fix:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=086ba77a6db00ed858ff07451bedee197df868c9

Acknowledgements:

Red Hat would like to thank Robert Święcki for reporting these issues.

Comment 3 Petr Matousek 2014-11-07 11:08:27 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1161572]

Comment 4 Petr Matousek 2014-11-07 11:11:20 UTC
Statement CVE-2014-7825:

This issue does not affect the Linux kernel packages as shipped with Red Hat
Enterprise Linux 5.

This issue does affect the Linux kernel packages as shipped with Red Hat
Enterprise Linux 6, 7 and Red Hat Enterprise MRG 2. Future kernel updates for
the respective releases may address this issue.

Statement CVE-2014-7826:

This issue does not affect the Linux kernel packages as shipped with Red Hat
Enterprise Linux 5.

This issue does affect the Linux kernel packages as shipped with Red Hat
Enterprise Linux 6, 7 and Red Hat Enterprise MRG 2. Future kernel updates for
the respective releases may address this issue.

Note that the impact on Red Hat Enterprise Linux 6, 7 and Red Hat Enterprise
MRG 2 is limited to local denial of service. Privilege escalation is not
possible.

Comment 6 Fedora Update System 2014-11-18 12:17:48 UTC
kernel-3.17.3-300.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-11-20 23:04:14 UTC
kernel-3.17.3-200.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 errata-xmlrpc 2014-12-02 17:09:38 UTC
This issue has been addressed in the following products:

  MRG for RHEL-6 v.2

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

Comment 9 Fedora Update System 2015-01-05 07:35:04 UTC
kernel-3.14.27-100.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 errata-xmlrpc 2015-03-05 12:58:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

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

Comment 11 errata-xmlrpc 2015-04-21 15:01:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

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