Bug 849722 (CVE-2012-3510)

Summary: CVE-2012-3510 kernel: taskstats: use-after-free in xacct_add_tsk()
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: agordeev, anton, bhu, davej, dhoward, fhrbata, gansalmon, iboverma, itamar, jforbes, jkacur, jneedle, jonathan, jwboyer, kernel-maint, kernel-mgr, lgoncalv, lwang, madhu.chinakonda, mcressma, plougher, rt-maint, sforsber, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-24 12:54:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 849723, 849725    
Bug Blocks: 849727    

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:



Red Hat would like to thank Alexander Peslyak for reporting this issue.

Comment 2 Petr Matousek 2012-08-20 17:19:48 UTC

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