+++ This bug was initially created as a clone of Bug #583292 +++ Description of problem: Despite the permissions showing global read access, /proc/sys/vm/mmap_min_addr can not be read by normal users. Version-Release number of selected component (if applicable): 2.6.32.11-99 is where I see the issue 2.6.32.11-90 works fine. How reproducible: 100% Steps to Reproduce: 1. Boot using kernel 2.6.32.11-99 2. cat /proc/sys/vm/mmap_min_addr Actual results: ERROR permission denied Expected results: "0" or "4096" or whatever your configuration has. Additional info: --- Additional comment from cebbert on 2010-04-21 12:52:51 EDT --- *** Bug 582810 has been marked as a duplicate of this bug. *** --- Additional comment from eparis on 2010-05-14 16:00:30 EDT --- fixed upstream in 2.6.34. If you need this in an older kernel please reopen this bug and I can backport.
This appeared in RHEL 5 updates as regression. This was not an issue in 2.6.18-164.15, but all kernels after 2.6.18-194.3 exhibit this problem.
Posted to internal list for review. Backport of upstream patch 4ae69e6b718589abe97c9625ccbb1e0bc95a8c0e
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
in kernel-2.6.18-231.el5 You can download this test kernel (or newer) from http://people.redhat.com/jwilson/el5 Detailed testing feedback is always welcomed.
Validated: $ uname -r 2.6.18-231.el5 $ cat /proc/sys/vm/mmap_min_addr 0 Thanks!
Reproduced on -194 kernel [test@nec-em9 ~]$ uname -a Linux nec-em9.rhts.eng.bos.redhat.com 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux [test@nec-em9 ~]$ id uid=500(test) gid=500(test) groups=500(test) context=root:system_r:unconfined_t:SystemLow-SystemHigh [test@nec-em9 ~]$ cat /proc/sys/vm/mmap_min_addr cat: /proc/sys/vm/mmap_min_addr: Operation not permitted [test@nec-em9 ~]$ Verified on -233 kernel [test@nec-em9 ~]$ uname -a Linux nec-em9.rhts.eng.bos.redhat.com 2.6.18-233.el5 #1 SMP Mon Nov 22 17:45:30 EST 2010 x86_64 x86_64 x86_64 GNU/Linux [test@nec-em9 ~]$ id uid=500(test) gid=500(test) groups=500(test) context=root:system_r:unconfined_t:SystemLow-SystemHigh [test@nec-em9 ~]$ cat /proc/sys/vm/mmap_min_addr 4096 [test@nec-em9 ~]$
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-0017.html