Bug 480592 (CVE-2009-0031)

Summary: CVE-2009-0031 kernel: local denial of service in keyctl_join_session_keyring
Product: [Other] Security Response Reporter: Mark J. Cox <mjc>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: unspecifiedCC: anton, bhu, dhoward, jpirko, kseifried, lgoncalv, lwang, tao, vgoyal, williams
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-30 21:23:36 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: 480595, 480596, 480597, 480598, 480599    
Bug Blocks:    

Description Mark J. Cox 2009-01-19 11:44:33 UTC
According to upstream commit 0d54ee1c7850a954026deec4cd4885f331da35cc "security: introduce missing kfree" there is a missing kfree in
keyctl_join_session_keyring.

It looks like a local user could eventually cause a DoS by using up kernel memory, so I assigned this CVE-2009-0031.

http://git2.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0d54ee1c7850a954026deec4cd4885f331da35cc

This should only affect the RHEL4,5,MRG kernels and not RHEL2.1,3 which did not have this code.  I tested this on RHEL5 and kernel memory usage does increase (although it does take some time to DoS a machine and would likely be noticed, I've left the impact as important for now though).

Patch in URL above.

Comment 8 errata-xmlrpc 2009-03-12 14:41:21 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

Via RHSA-2009:0331 http://rhn.redhat.com/errata/RHSA-2009:0331.html

Comment 14 errata-xmlrpc 2009-03-27 00:14:56 UTC
This issue has been addressed in following products:

  MRG for RHEL-5

Via RHSA-2009:0360 https://rhn.redhat.com/errata/RHSA-2009-0360.html