Bug 630804 - (CVE-2010-3078) CVE-2010-3078 kernel: xfs: XFS_IOC_FSGETXATTR ioctl memory leak
CVE-2010-3078 kernel: xfs: XFS_IOC_FSGETXATTR ioctl memory leak
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20100907,repor...
: Security
Depends On: 630806 630807 630808 630809
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-06 23:15 EDT by Eugene Teo (Security Response)
Modified: 2016-03-04 06:42 EST (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-03-15 00:02:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Eugene Teo (Security Response) 2010-09-06 23:15:50 EDT
Description of problem:
The XFS_IOC_FSGETXATTR ioctl allows unprivileged users to read 12 bytes of uninitialized stack memory, because the fsxattr struct declared on the stack in xfs_ioc_fsgetxattr() does not alter (or zero) the 12-byte fsx_pad member before copying it back to the user.

http://www.linux.sgi.com/archives/xfs-masters/2010-09/msg00002.html

Acknowledgements:

Red Hat would like to thank Dan Rosenberg for reporting this issue.
Comment 4 errata-xmlrpc 2010-11-09 13:06:30 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2010:0839 https://rhn.redhat.com/errata/RHSA-2010-0839.html
Comment 5 Vincent Danen 2010-11-09 13:45:40 EST
Statement:

This issue did not affect the version of Linux kernel as shipped with Red Hat
Enterprise Linux 3, 4, and Red Hat Enterprise MRG as they did not include
support for the XFS file system.  This issue was addressed in Red Hat Enterprise Linux 5 via https://rhn.redhat.com/errata/RHSA-2010-0839.html
Comment 6 errata-xmlrpc 2011-01-11 14:45:33 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

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

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