Bug 459464
Summary: | kernel: binfmt_misc.c: avoid potential kernel stack overflow [rhel-5.2.z] | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Eugene Teo (Security Response) <eteo> |
Component: | kernel | Assignee: | Jiri Pirko <jpirko> |
Status: | CLOSED ERRATA | QA Contact: | Martin Jenner <mjenner> |
Severity: | medium | Docs Contact: | |
Priority: | urgent | ||
Version: | 5.2.z | CC: | anton, dhoward, jpirko, jplans, lwang, mgahagan, rkhan |
Target Milestone: | rc | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-11-04 10:29:34 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: | 459462 | ||
Bug Blocks: |
Description
Eugene Teo (Security Response)
2008-08-19 07:29:24 UTC
Steps to Reproduce: 1. as root user, run echo ":text:E::txt::/cat.txt:" > /proc/sys/fs/binfmt_misc/register; touch /cat.txt; chmod +x /cat.txt 2) as normal user, run /cat.txt (In reply to comment #2) > (In reply to comment #1) > > Proposed upstream patch: > > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=3a2e7f47d71e1df86acc1dda6826890b6546a4e1 > > Note that there is a regression. See http://lkml.org/lkml/2008/8/18/544. The > patch is not in upstream yet AFAIK. This is ff9bc512f198eb47204f55b24c6fe3d36ed89592 in kernel-2.6.18-92.1.15.el5 you can download RPMs from http://people.redhat.com/jpirko/.el52z/92.1.15/ An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2008-0957.html |