Bug 684569 - (CVE-2011-0726) CVE-2011-0726 kernel: proc: protect mm start_code/end_code in /proc/pid/stat
CVE-2011-0726 kernel: proc: protect mm start_code/end_code in /proc/pid/stat
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 684570 684571 684572 684573 684574
  Show dependency treegraph
Reported: 2011-03-13 11:15 EDT by Eugene Teo (Security Response)
Modified: 2015-07-29 13:47 EDT (History)
15 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-07-29 10:08:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Eugene Teo (Security Response) 2011-03-13 11:15:18 EDT
While mm->start_stack was protected from cross-uid viewing (commit
f83ce3e6b02d5e48b3a43b001390e2b58820389d), the start_code and end_code
values were not. This would allow the text location of a PIE binary to
leak, defeating ASLR.

Note that the value "1" is used instead of "0" for a protected value
since "ps", "killall", and likely other readers of /proc/pid/stat, take
start_code of "0" to mean a kernel thread and will misbehave. Thanks to
Brad Spengler for pointing this out.



Red Hat would like to thank Kees Cook for reporting this issue.
Comment 3 Eugene Teo (Security Response) 2011-03-13 11:23:09 EDT

Red Hat Enterprise Linux 4 is now in Production 3 of the maintenance life-cycle,
https://access.redhat.com/support/policy/updates/errata/, therefore the fix for
this issue is not currently planned to be included in the future updates. Future kernel updates in Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG may address this flaw.
Comment 4 Eugene Teo (Security Response) 2011-03-14 23:18:29 EDT
added to -mm tree: http://www.spinics.net/lists/mm-commits/msg82726.html
Comment 5 Eugene Teo (Security Response) 2011-04-10 23:55:27 EDT
Upstream commit:
Comment 6 errata-xmlrpc 2011-05-10 13:20:49 EDT
This issue has been addressed in following products:

  MRG for RHEL-5

Via RHSA-2011:0500 https://rhn.redhat.com/errata/RHSA-2011-0500.html
Comment 7 errata-xmlrpc 2011-05-10 14:11:47 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:0498 https://rhn.redhat.com/errata/RHSA-2011-0498.html
Comment 8 errata-xmlrpc 2011-05-31 10:06:34 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2011:0833 https://rhn.redhat.com/errata/RHSA-2011-0833.html

Note You need to log in before you can comment on or make changes to this bug.