CVE-2010-2226

Summary

CVECVE-2010-2226
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2010-09-03 20:00:03 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 2.1 from [email protected]

AV:L/AC:L/Au:N/C:P/I:N/A:N

Problem Types: CWE-200 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:L/AC:L/Au:N/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 10.04 All All All
Operating System Canonical Ubuntu Linux 10.10 All All All
Operating System Canonical Ubuntu Linux 6.06 All All All
Operating System Canonical Ubuntu Linux 8.04 All All All
Operating System Canonical Ubuntu Linux 9.04 All All All
Operating System Canonical Ubuntu Linux 9.10 All All All
Operating System Debian Debian Linux 5.0 All All All
Operating System Linux Linux Kernel All All All All
Operating System Suse Linux Enterprise Desktop 10 sp3 All All
Operating System Suse Linux Enterprise Server 10 sp3 All All
Operating System Suse Linux Enterprise Software Development Kit 10 sp3 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Support / Security / Advisories / / MDVSA-2010:198 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Third Party Advisory
Re: [Security] XFS swapext ioctl minor security issues af854a3a-2127-422b-91ae-364da2661108 archives.free.net.ph Broken Link
kernel/git/torvalds/linux.git - Linux kernel source tree af854a3a-2127-422b-91ae-364da2661108 git.kernel.org
VMSA-2011-0003 af854a3a-2127-422b-91ae-364da2661108 www.vmware.com Third Party Advisory
Debian -- Security Information -- DSA-2094-1 linux-2.6 af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
Re: [Security] XFS swapext ioctl minor security issues af854a3a-2127-422b-91ae-364da2661108 archives.free.net.ph Broken Link
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
'[oss-security] CVE request - kernel: xfs swapext ioctl issue' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info Third Party Advisory
USN-1000-1: Linux kernel vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
VMware ESX Server Multiple Kernel Vulnerabilities - Advisories - Community af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Bug 605158 – CVE-2010-2226 kernel: xfs swapext ioctl minor security issue af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Third Party Advisory
Linux Kernel XSF 'SWAPEXT' IOCTL Local Information Disclosure Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Third Party Advisory
[security-announce] SUSE Security Announcement: Realtime Linux Kernel (S af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
'Re: [oss-security] CVE request - kernel: xfs swapext ioctl issue' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info Third Party Advisory
404: File not found af854a3a-2127-422b-91ae-364da2661108 www.kernel.org Broken Link
[security-announce] SUSE Security Announcement: Linux kernel (SUSE-SA:20 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
kernel/git/torvalds/linux.git - Linux kernel source tree MITRE git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report