Bug 849722 (CVE-2012-3510) - CVE-2012-3510 kernel: taskstats: use-after-free in xacct_add_tsk()
Summary: CVE-2012-3510 kernel: taskstats: use-after-free in xacct_add_tsk()
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-3510
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: 849723 849725
Blocks: 849727
TreeView+ depends on / blocked
 
Reported: 2012-08-20 17:16 UTC by Petr Matousek
Modified: 2023-05-11 20:04 UTC (History)
24 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-24 12:54:05 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1323 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2012-10-02 21:43:56 UTC

Description Petr Matousek 2012-08-20 17:16:24 UTC
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 17:19:48 UTC
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 17:45:54 UTC
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.