Description
The xfs_swapext function in fs/xfs/xfs_dfrag.c in the Linux kernel before 2.6.35 does not properly check the file descriptors passed to the SWAPEXT ioctl, which allows local users to leverage write access and obtain read access by swapping one file into another file.
Metrics
CVSS 2.0 2.1/10
AV:L/AC:L/Au:N/C:P/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://archives.free.net.ph/message/20100616.130710.301704aa.en.htmlBroken Link
- http://archives.free.net.ph/message/20100616.135735.40f53a32.en.htmlBroken Link
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=1817176a86352f65210139d4c794ad2d19fc6b63
- http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00004.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.htmlMailing List, Third Party Advisory
- http://marc.info/?l=oss-security&m=127677135609357&w=2Third Party Advisory
- http://marc.info/?l=oss-security&m=127687486331790&w=2Third Party Advisory
- http://secunia.com/advisories/43315Third Party Advisory
- http://www.debian.org/security/2010/dsa-2094Third Party Advisory
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.35Broken Link
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:198Third Party Advisory
- http://www.redhat.com/support/errata/RHSA-2010-0610.htmlThird Party Advisory
- http://www.securityfocus.com/archive/1/516397/100/0/threadedThird Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/40920Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-1000-1Third Party Advisory
- http://www.vmware.com/security/advisories/VMSA-2011-0003.htmlThird Party Advisory
- http://www.vupen.com/english/advisories/2011/0298Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=605158Issue Tracking, Third Party Advisory
- http://archives.free.net.ph/message/20100616.130710.301704aa.en.htmlBroken Link
- http://archives.free.net.ph/message/20100616.135735.40f53a32.en.htmlBroken Link
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=1817176a86352f65210139d4c794ad2d19fc6b63
- http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00004.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.htmlMailing List, Third Party Advisory
- http://marc.info/?l=oss-security&m=127677135609357&w=2Third Party Advisory
- http://marc.info/?l=oss-security&m=127687486331790&w=2Third Party Advisory
- http://secunia.com/advisories/43315Third Party Advisory
- http://www.debian.org/security/2010/dsa-2094Third Party Advisory
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.35Broken Link
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:198Third Party Advisory
- http://www.redhat.com/support/errata/RHSA-2010-0610.htmlThird Party Advisory
- http://www.securityfocus.com/archive/1/516397/100/0/threadedThird Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/40920Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-1000-1Third Party Advisory
- http://www.vmware.com/security/advisories/VMSA-2011-0003.htmlThird Party Advisory
- http://www.vupen.com/english/advisories/2011/0298Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=605158Issue Tracking, Third Party Advisory
Timeline
- Published
- Sep 3, 2010
- Last modified
- Jun 16, 2026
- NVD status
- Modified