Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 512641

Summary: kernel: security: implement mmap_min_addr infrastructure [rhel-4.9]
Product: Red Hat Enterprise Linux 4 Reporter: Eugene Teo (Security Response) <eteo>
Component: kernelAssignee: Linda Wang <lwang>
Status: CLOSED ERRATA QA Contact: Petr Beňas <pbenas>
Severity: high Docs Contact:
Priority: high    
Version: 4.9CC: dhoward, eparis, jmorris, jolsa, jskrabal, lwang, mgahagan, pbenas, pstehlik, security-response-team, vgoyal
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 512638 Environment:
Last Closed: 2011-02-16 15:53:31 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: 512638    
Bug Blocks: 517904    

Description Eugene Teo (Security Response) 2009-07-20 05:58:19 UTC
+++ This bug was initially created as a clone of Bug #512638 +++

Description of problem:
This patch removes the dependency of mmap_min_addr on CONFIG_SECURITY. It also sets a default mmap_min_addr of 4096.

mmapping of addresses below 4096 will only be possible for processes with CAP_SYS_RAWIO.

Upstream commit:
http://git.kernel.org/linus/e0a94c2a63f2644826069044649669b5e7ca75d3

Comment 1 Eric Paris 2009-07-20 17:29:43 UTC
We don't have support for this at all, a proper backport of mmap_min_addr code can include this if it so chooses, but we don't really need a seperate BZ.  We build with CONFIG_SECURITY, as long as the backport is done properly this patch will be meaningless to us.

Comment 2 Vitaly Mayatskikh 2009-07-20 18:12:34 UTC
Eric, I want to use this bz to implement mmap_min_addr separately from bz508843.

Comment 3 Vivek Goyal 2009-08-11 21:18:28 UTC
Committed in 89.9.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/

Comment 8 Petr Beňas 2010-11-22 13:06:47 UTC
Reproduced in 89.8.EL and verified in 89.9.EL.

Comment 10 errata-xmlrpc 2011-02-16 15:53:31 UTC
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-2011-0263.html