[v2.6] kernel: trace/trace_syscalls.c: two issues (CVE-2014-7825, CVE-2014-7826)
CVE-2014-7825 / CVE-2014-7826:
kernel/trace/trace_syscalls.c in the Linux kernel through 3.17.2 does
not properly handle private syscall numbers during use of the perf
subsystem, which allows local users to cause a denial of service
(out-of-bounds read and OOPS) or bypass the ASLR protection mechanism
via a crafted application (CVE-2014-7825). Unproper private syscall
numbers also exists during use of the ftrace subsystem, which allows
local users to gain privileges or cause a denial of service (invalid
pointer dereference) via a crafted application (CVE-2014-7826).
In regard to branches 3.10.y and 3.14.y these have been fixed in 3.10.60 and 3.14.24 (please find links to the patches below).
•MLIST:[oss-security] 20141106 Exploitable issues in Linux perf/ftrace
subsystems
•URL: http://www.openwall.com/lists/oss-security/2014/11/06/11
•CONFIRM:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=086ba77a6db00ed858ff07451bedee197df868c9
•CONFIRM: https://bugzilla.redhat.com/show\_bug.cgi?id=1161565
•CONFIRM:
https://github.com/torvalds/linux/commit/086ba77a6db00ed858ff07451bedee197df868c9
•PATCH (3.10.y):
https://github.com/torvalds/linux/commit/3ad3add775181f56f51ed14324ed4e7f1c9d3d1e
•PATCH (3.14.y):
https://github.com/torvalds/linux/commit/14f83fe6c5d7cc0fcbaad7cbecb862fa48d92086
•REDHAT:RHSA-2014:1943
•URL: http://rhn.redhat.com/errata/RHSA-2014-1943.html
(from redmine: issue id 3647, created on 2014-12-24, closed on 2017-09-05)
- Relations:
- parent #3646