Bug 716489 (CVE-2011-2503) - CVE-2011-2503 systemtap: signed module loading race condition
Summary: CVE-2011-2503 systemtap: signed module loading race condition
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2011-2503
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 717594 717596 717599 717600 725578
Blocks: 716497
TreeView+ depends on / blocked
 
Reported: 2011-06-24 16:00 UTC by Jan Lieskovsky
Modified: 2021-02-24 15:10 UTC (History)
7 users (show)

Fixed In Version: systemtap 1.6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-01 20:04:35 UTC
Embargoed:


Attachments (Terms of Use)
read instead of mmap to load modules (3.03 KB, patch)
2011-06-25 05:25 UTC, Josh Stone
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1088 0 normal SHIPPED_LIVE Moderate: systemtap security update 2011-07-25 21:46:31 UTC
Red Hat Product Errata RHSA-2011:1089 0 normal SHIPPED_LIVE Moderate: systemtap security update 2011-07-25 21:46:19 UTC

Description Jan Lieskovsky 2011-06-24 16:00:58 UTC
A time-of-check time-of-use (TOCTOU) race condition was found in the way
systemtap runtime tool (staprun) performed module loading. A small time gap
between performing module sanity checks and actual, real loading of the
module into the kernel, was present. A local user, member of the 'stapusr'
group could use this flaw to escalate their privileges.

Comment 6 Josh Stone 2011-06-25 05:25:16 UTC
Created attachment 509875 [details]
read instead of mmap to load modules

Comment 9 Jan Lieskovsky 2011-06-27 13:08:08 UTC
This issue affects the version of the systemtap package, as shipped with
Red Hat Enterprise Linux 4, 5, and 6.

--

This issue affects the versions of the systemtap package, as shipped with
Fedora release of 14 and 15.

Comment 21 Vincent Danen 2011-07-25 21:44:55 UTC
Created systemtap tracking bugs for this issue

Affects: fedora-all [bug 725578]

Comment 22 errata-xmlrpc 2011-07-25 21:46:24 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

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

Comment 23 errata-xmlrpc 2011-07-25 21:46:41 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

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


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