Bug 716489 (CVE-2011-2503)

Summary: CVE-2011-2503 systemtap: signed module loading race condition
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dsmith, fche, jistone, mjw, scox, security-response-team, vdanen
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: systemtap 1.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-01 20:04:35 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: 717594, 717596, 717599, 717600, 725578    
Bug Blocks: 716497    
Attachments:
Description Flags
read instead of mmap to load modules none

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