Bug 977356 (CVE-2013-1059)

Summary: CVE-2013-1059 Kernel: libceph: Fix NULL pointer dereference in auth client code
Product: [Other] Security Response Reporter: Prasad J Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: pmatouse, rcvalle, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-02 06:33:09 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: 980341    
Bug Blocks: 977339    
Attachments:
Description Flags
Proposed patch none

Description Prasad J Pandit 2013-06-24 11:31:03 UTC
Linux kernel built with the Ceph core library(CONFIG_CEPH_LIB) support is
vulnerable to a NULL pointer dereference flaw. It could occur while handling
auth_reply messages from a CEPH client.

A remote user/program could use this flaw to crash the system, resulting in
denial of service.

References:

http://hkpco.kr/advisory/CVE-2013-1059.txt

Comment 1 Prasad J Pandit 2013-06-24 11:34:50 UTC
Statement:

This issue does not affect the versions of the kernel package as shipped with
Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG 2.

Comment 2 Petr Matousek 2013-07-02 06:30:56 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 980341]

Comment 3 Petr Matousek 2013-07-02 06:32:02 UTC
Created attachment 767633 [details]
Proposed patch

Comment 4 Josh Boyer 2013-07-02 12:32:50 UTC
(In reply to Petr Matousek from comment #3)
> Created attachment 767633 [details]
> Proposed patch

That looks like it would work.  Do you plan on sending it upstream?

Comment 5 Petr Matousek 2013-07-02 12:57:40 UTC
(In reply to Josh Boyer from comment #4)
> (In reply to Petr Matousek from comment #3)
> > Created attachment 767633 [details]
> > Proposed patch
> 
> That looks like it would work.  Do you plan on sending it upstream?

This is actually patch acked by ceph maintainer Sage Weil (and not written by me). I expect him to send it upstream.