Bug 1245658 (CVE-2015-1333)

Summary: CVE-2015-1333 kernel: denial of service due to memory leak in add_key()
Product: [Other] Security Response Reporter: Vasyl Kaigorodov <vkaigoro>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: agordeev, aquini, bhu, carnil, dhoward, esammons, fhrbata, iboverma, joelsmith, jross, kernel-mgr, lwang, matt, mcressma, mguzik, nmurray, pholasek, plougher, pmatouse, rvrbovsk, security-response-team, slawomir, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
It was found that the Linux kernel's keyring implementation would leak memory when adding a key to a keyring via the add_key() function. A local attacker could use this flaw to exhaust all available memory on the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-26 03:34:58 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: 1244171, 1246039, 1246041, 1246042, 1246043, 1246044    
Bug Blocks: 1244266    
Attachments:
Description Flags
CVE-2015-1333.patch none

Description Vasyl Kaigorodov 2015-07-22 13:37:29 UTC
It was reported that it's possible for any user to run the kernel out of memory through a memory leak in add_key().

Acknowledgements:

Red Hat would like to thank Canonical for reporting this issue.

Comment 3 Vasyl Kaigorodov 2015-07-22 13:53:15 UTC
Created attachment 1054857 [details]
CVE-2015-1333.patch

Comment 4 Petr Matousek 2015-07-23 11:24:50 UTC
Statement:

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5 and 6.

Comment 9 Petr Matousek 2015-07-27 14:27:46 UTC
References:

http://www.openwall.com/lists/oss-security/2015/07/27/7

Comment 10 errata-xmlrpc 2015-09-15 09:24:10 UTC
This issue has been addressed in the following products:

  MRG for RHEL-6 v.2

Via RHSA-2015:1787 https://rhn.redhat.com/errata/RHSA-2015-1787.html

Comment 11 errata-xmlrpc 2015-09-15 09:40:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:1788 https://rhn.redhat.com/errata/RHSA-2015-1788.html

Comment 12 errata-xmlrpc 2015-09-15 12:06:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:1778 https://rhn.redhat.com/errata/RHSA-2015-1778.html