Bug 755440 (CVE-2011-4324)

Summary: CVE-2011-4324 kernel: nfsv4: mknod(2) DoS
Product: [Other] Security Response Reporter: Eugene Teo (Security Response) <eteo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: agordeev, anton, arozansk, bhu, dhoward, fhrbata, hui.zhu, jkacur, kernel-mgr, lgoncalv, lwang, plougher, pmatouse, rt-maint, rwheeler, security-response-team, sforsber, vgoyal, williams
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: 2012-05-04 07:58:24 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: 754901, 755442, 782690    
Bug Blocks: 755438    

Description Eugene Teo (Security Response) 2011-11-21 06:50:02 UTC
Creating a file with mknod(2) syscall on a nfsv4 mount can trigger BUG().

Comment 2 Eugene Teo (Security Response) 2011-11-21 06:55:52 UTC
Eryu Guan 2011-11-18 02:16:30 EST

Upstream commit

commit dc0b027dfadfcb8a5504f7d8052754bf8d501ab9
Author: Trond Myklebust <Trond.Myklebust>
Date:   Tue Dec 23 15:21:56 2008 -0500

    NFSv4: Convert the open and close ops to use fmode

    Signed-off-by: Trond Myklebust <Trond.Myklebust>

removed the BUGON() at fs/nfs/nfs4xdr.c:894

Comment 4 Eugene Teo (Security Response) 2011-11-21 06:58:22 UTC
Statement:

This issue did not affect the Linux kernels as shipped with Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG as they did not have the vulnerable code as introduced in history:1a7bc914. This has been addressed in Red Hat Enterprise Linux 5 via https://rhn.redhat.com/errata/RHSA-2012-0007.html. Red Hat Enterprise Linux 4 is now in Production 3 of the maintenance life-cycle, https://access.redhat.com/support/policy/updates/errata/, therefore the fix for this issue is not currently planned to be included in the future updates.

Comment 5 errata-xmlrpc 2012-01-10 20:09:47 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2012:0007 https://rhn.redhat.com/errata/RHSA-2012-0007.html

Comment 6 Eugene Teo (Security Response) 2012-01-18 07:16:09 UTC
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 782690]