Bug 916646 (CVE-2013-1792)

Summary: CVE-2013-1792 Kernel: keys: race condition in install_user_keyrings()
Product: [Other] Security Response Reporter: Prasad J Pandit <ppandit>
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, dhoward, esammons, fhrbata, iboverma, jkacur, lgoncalv, lwang, mcressma, mmilgram, pmatouse, security-response-team, sforsber, williams, yozone
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20130306,reported=20130220,source=redhat,cvss2=4/AV:L/AC:H/Au:N/C:N/I:N/A:C,rhel-5/kernel=notaffected,rhel-6/kernel=affected,mrg-2/realtime-kernel=affected,fedora-all/kernel=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-10 01:40:24 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 913258, 916681, 916682, 916683, 919021    
Bug Blocks: 916555    

Description Prasad J Pandit 2013-02-28 10:17:41 EST
A race condition leading to a NULL pointer dereference is discovered in the
Linux kernel. It occurs during parallel invocation of install_user_keyrings
& lookup_user_key routines.

An unprivileged user could use this flaw to crash the system, resulting in DoS.
Comment 3 Prasad J Pandit 2013-02-28 11:37:15 EST

This issue does not affect the versions of the kernel package as shipped with Red Hat Enterprise Linux 5.

This issue affects the version of Linux kernel as shipped with Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG 2. Future kernel updates for Red Hat Enterprise MRG 2 may address this issue.
Comment 4 Prasad J Pandit 2013-02-28 11:45:42 EST

This issue was discovered by Mateusz Guzik of Red Hat EMEA GSS SEG Team.
Comment 6 Prasad J Pandit 2013-03-07 02:13:31 EST
Upstream fix:
 -> https://lkml.org/lkml/2013/3/6/535
Comment 7 Jan Lieskovsky 2013-03-07 07:41:01 EST
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 919021]
Comment 8 Fedora Update System 2013-03-10 21:23:55 EDT
kernel-3.8.2-206.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 9 Fedora Update System 2013-03-21 20:19:29 EDT
kernel-3.8.3-103.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 10 errata-xmlrpc 2013-04-23 14:27:47 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2013:0744 https://rhn.redhat.com/errata/RHSA-2013-0744.html
Comment 11 errata-xmlrpc 2013-05-20 12:48:51 EDT
This issue has been addressed in following products:

  MRG for RHEL-6 v.2

Via RHSA-2013:0829 https://rhn.redhat.com/errata/RHSA-2013-0829.html
Comment 12 John Kacur 2013-06-12 10:22:50 EDT
(In reply to Prasad J Pandit from comment #6)
> Upstream fix:
>  -> https://lkml.org/lkml/2013/3/6/535

She the above correct, it's empty?
Do we have a sha1 yet from Linus' tree?
Comment 13 John Kacur 2013-06-12 10:31:52 EDT
Okay, I did some detective work and found out that this is meant.