Bug 849722 - (CVE-2012-3510) CVE-2012-3510 kernel: taskstats: use-after-free in xacct_add_tsk()
CVE-2012-3510 kernel: taskstats: use-after-free in xacct_add_tsk()
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=20061030,repor...
: Security
Depends On: 849723 849725
Blocks: 849727
  Show dependency treegraph
 
Reported: 2012-08-20 13:16 EDT by Petr Matousek
Modified: 2016-03-04 06:00 EST (History)
24 users (show)

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


Attachments (Terms of Use)

  None (edit)
Description Petr Matousek 2012-08-20 13:16:24 EDT
An use-after-free flaw has been found in the way taskstat's TASKSTATS_CMD_ATTR_PID command and exiting tasks with already freed mm interacted. An unprivileged local user could use this flaw to crash the system or leak kernel memory.

Upstream fix:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=f0ec1aaf54caddd21c259aea8b2ecfbde4ee4fb9

References:
http://bugzilla.openvz.org/show_bug.cgi?id=2294

Acknowledgements:

Red Hat would like to thank Alexander Peslyak for reporting this issue.
Comment 2 Petr Matousek 2012-08-20 13:19:48 EDT
Statement:

This issue did not affect the versions of the Linux kernel as shipped with Red 
Hat Enterprise Linux 6 and Red Hat Enterprise MRG as they already contain 
upstream commit f0ec1aaf54cadd that fixed this issue.
Comment 3 errata-xmlrpc 2012-10-02 13:45:54 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

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

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