Bug 605158 - (CVE-2010-2226) CVE-2010-2226 kernel: xfs swapext ioctl minor security issue
CVE-2010-2226 kernel: xfs swapext ioctl minor security issue
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 605160 605161 605162
  Show dependency treegraph
Reported: 2010-06-17 06:37 EDT by Eugene Teo (Security Response)
Modified: 2016-02-15 08:39 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-03-28 04:56:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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-06-17 06:37:38 EDT
Description of problem:
User "foo" can use the SWAPEXT ioctl to swap a write-only file owned by user "bar" into a file owned by "foo" and subsequently reading it. It does so by checking that the file descriptors passed to the ioctl are also opened for reading.

Comment 2 Eugene Teo (Security Response) 2010-06-17 07:01:24 EDT

Red Hat would like to thank Dan Rosenberg for reporting this issue.
Comment 3 Eugene Teo (Security Response) 2010-06-17 07:02:19 EDT

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 filesystem. A future kernel update in Red Hat Enterprise
Linux 5 will address this issue.
Comment 4 Eugene Teo (Security Response) 2010-07-07 22:11:42 EDT
Upstream commit:
Comment 5 errata-xmlrpc 2010-08-10 14:01:50 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2010:0610 https://rhn.redhat.com/errata/RHSA-2010-0610.html

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