Bug 1031678 (CVE-2013-4591) - CVE-2013-4591 kernel: nfs: missing check for buffer length in __nfs4_get_acl_uncached
Summary: CVE-2013-4591 kernel: nfs: missing check for buffer length in __nfs4_get_acl_...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2013-4591
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20121211,repor...
Depends On: 906056 1052136
Blocks: 1031681
TreeView+ depends on / blocked
 
Reported: 2013-11-18 14:29 UTC by Petr Matousek
Modified: 2019-06-08 19:47 UTC (History)
31 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-24 16:54:56 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:1645 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 6 kernel update 2013-11-20 22:04:18 UTC
Red Hat Product Errata RHSA-2014:0284 normal SHIPPED_LIVE Important: kernel security and bug fix update 2014-03-11 21:07:13 UTC

Description Petr Matousek 2013-11-18 14:29:50 UTC
Commit 1f1ea6c (included in Red Hat Enterprise Linux 6 as part of CVE-2012-2375 fix) accidently dropped the checking for too small result buffer length.
   
If someone uses getxattr on "system.nfs4_acl" on an NFSv4 mount supporting ACLs, the ACL has not been cached and the buffer suplied is too short, we still copy the complete ACL, resulting in kernel and user space memory corruption.

Introduced by:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1f1ea6c2d9d8c0be9ec56454b05315273b5de8ce

Upstream commit:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7d3e91a89b7adbc2831334def9e494dd9892f9af

Comment 1 Petr Matousek 2013-11-18 14:32:43 UTC
Statement:

This issue did not affect the version of Linux kernel as shipped with Red Hat Enterprise Linux 5 and Red Hat Enterprise MRG 2.

Comment 2 errata-xmlrpc 2013-11-21 20:36:56 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2013:1645 https://rhn.redhat.com/errata/RHSA-2013-1645.html

Comment 4 errata-xmlrpc 2014-03-11 17:08:04 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.4 EUS - Server and Compute Node Only

Via RHSA-2014:0284 https://rhn.redhat.com/errata/RHSA-2014-0284.html


Note You need to log in before you can comment on or make changes to this bug.