Bug 459467
| Summary: | kernel: binfmt_misc.c: avoid potential kernel stack overflow [rhel-4.7.z] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Eugene Teo (Security Response) <eteo> | 
| Component: | kernel | Assignee: | Vitaly Mayatskikh <vmayatsk> | 
| Status: | CLOSED WONTFIX | QA Contact: | Martin Jenner <mjenner> | 
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.7.z | CC: | dhoward, dmair, lwang, vmayatsk | 
| 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: | 2009-02-12 17:13:14 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, 459466 | ||
| Bug Blocks: | |||
| 
 
        
          Description
        
        
          Eugene Teo (Security Response)
        
        
        
        
        
          2008-08-19 07:34:05 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  |