Bug 747848 - (CVE-2011-3637) CVE-2011-3637 kernel: proc: fix oops on invalid /proc/<pid>/maps access
CVE-2011-3637 kernel: proc: fix oops on invalid /proc/<pid>/maps access
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20110328,repor...
: Security
Depends On: 746613 747699 747850 747851 748685 751616 761370
Blocks: 747835
  Show dependency treegraph
 
Reported: 2011-10-21 02:33 EDT by Eugene Teo (Security Response)
Modified: 2015-08-19 05:13 EDT (History)
17 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-05-04 05:02:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Eugene Teo (Security Response) 2011-10-21 02:33:19 EDT
When m_start returns an error, the seq_file logic will still call m_stop
with that error entry, so we'd better make sure that we check it before
using it as a vma.

Introduced by commit ec6fd8a4355c ("report errors in /proc/*/*map*
sanely"), which replaced NULL with various ERR_PTR() cases.

(On ia64, you happen to get a unaligned fault instead of a page fault,
since the address used is generally some random error code like -EPERM)

Upstream commit:
http://git.kernel.org/linus/76597cd31470fa130784c78fadb4dab2e624a723
Comment 2 Eugene Teo (Security Response) 2011-10-21 02:53:52 EDT
Statement:

This issue did not affect the version of the Linux kernel as shipped with Red Hat Enterprise Linux 4, and 6 as it did not backport the upstream commit ec6fd8a4 that introduced this issue. This has been addressed in Red Hat Enterprise Linux 5 and Red Hat Enterprise MRG via https://rhn.redhat.com/errata/RHSA-2012-0007.html and https://rhn.redhat.com/errata/RHSA-2012-0010.html.
Comment 4 Eugene Teo (Security Response) 2011-10-24 23:55:29 EDT
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 748685]
Comment 7 errata-xmlrpc 2012-01-10 15:08:41 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2012:0007 https://rhn.redhat.com/errata/RHSA-2012-0007.html
Comment 8 errata-xmlrpc 2012-01-10 15:16:40 EST
This issue has been addressed in following products:

  MRG for RHEL-6 v.2

Via RHSA-2012:0010 https://rhn.redhat.com/errata/RHSA-2012-0010.html
Comment 9 errata-xmlrpc 2012-02-14 19:43:47 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.1 EUS - Server Only

Via RHSA-2012:0116 https://rhn.redhat.com/errata/RHSA-2012-0116.html

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