Bug 534018
| Summary: | kernel: sysctl: require CAP_SYS_RAWIO to set mmap_min_addr [rhel-5.5] | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Eugene Teo (Security Response) <eteo> | ||||
| Component: | kernel | Assignee: | Cong Wang <amwang> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Red Hat Kernel QE team <kernel-qe> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.5 | CC: | branto, dhoward, dzickus, eparis, eteo, jarod, jpirko, jskrabal, lwang, mgahagan, plyons, qcai, 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: | |||||||
| : | 534019 (view as bug list) | Environment: | |||||
| Last Closed: | 2010-03-30 07:29:37 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: | |||||||
| Bug Blocks: | 534019, 577206 | ||||||
| Attachments: |
|
||||||
|
Description
Eugene Teo (Security Response)
2009-11-10 06:06:59 UTC
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. Is there a reproducer for this one? No. One could be written, write an suid app that drops CAP_SYS_RAWIO and then writes a new value into the proc file. But nothing like that exists today. in kernel-2.6.18-180.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5 Please update the appropriate value in the Verified field (cf_verified) to indicate this fix has been successfully verified. Include a comment with verification details. Created attachment 399386 [details]
Reproducer for this bug.
This C code drops CAP_SYS_RAWIO and then tries to change the value stored in /proc/sys/vm/mmap_min_addr by the value of his 1. argument. To check whether bug was repaired, one must check whether value in /proc/sys/vm/mmap_min_addr is same before and after running this program with argument that differs from original value of /proc/sys/vm/mmap_min_addr(correct behaviour is no change).
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-2010-0178.html |