The xfs_swapext function in fs/xfs/xfs_dfrag.c in the Linux kernel before 2.6.35 does not…
Priority LOW 12CWE-200Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Partial · None · None
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-200.
Summary
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.
Why it matters now
EPSS 0.00434 37th percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 11
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | before 2.6.35 | Vulnerable | Linux |
| cpe:2.3:o:suse:linux_enterprise_desktop:10:sp3:*:*:*:*:*:* | 10 sp3 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_server:10:sp3:*:*:*:*:*:* | 10 sp3 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_software_development_kit:10:sp3:*:*:*:*:*:* | 10 sp3 | Vulnerable | SUSE |
| cpe:2.3:o:debian:debian_linux:5.0:*:*:*:*:*:*:* | 5.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:* | 6.06 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:* | 8.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:9.04:*:*:*:*:*:*:* | 9.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:9.10:*:*:*:*:*:*:* | 9.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:* | 10.04 | Vulnerable | Canonical |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions before 2.6.35 Vulnerable ·Linux
- cpe:2.3:o:suse:linux_enterprise_desktop:10:sp3:*:*:*:*:*:* Versions 10 sp3 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_server:10:sp3:*:*:*:*:*:* Versions 10 sp3 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_software_development_kit:10:sp3:*:*:*:*:*:* Versions 10 sp3 Vulnerable ·SUSE
- cpe:2.3:o:debian:debian_linux:5.0:*:*:*:*:*:*:* Versions 5.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:* Versions 6.06 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:* Versions 8.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:9.04:*:*:*:*:*:*:* Versions 9.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:9.10:*:*:*:*:*:*:* Versions 9.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:* Versions 10.04 Vulnerable ·Canonical
Remediation
Red Hat 1 advisory
- RHSA-2010:0610 Released 2010-08-10 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux (v. 5 server) kernel-2.6.18-194.11.1.el5, kernel-2.6.18-194.11.1.el5.ia64, kernel-PAE-2.6.18-194.11.1.el5 +18
- Red Hat Enterprise Linux Desktop (v. 5 client) kernel-2.6.18-194.11.1.el5, kernel-PAE-2.6.18-194.11.1.el5, kernel-PAE-devel-2.6.18-194.11.1.el5 +8
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2010:0610 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2010:0610 |
Timeline
- 2026-10-02 Threatist record created from CVE-2010-2226
- 2026-10-03 Alias added: GHSA-2fg3-h938-jr6f
References
Advisory 11
- RHSA-2010:0610
- USN-1000-1
- [oss-security] 20100618 Re: CVE request - kernel: xfs swapext ioctl issue
- MDVSA-2010:198
- https://bugzilla.redhat.com/show_bug.cgi?id=605158
- SUSE-SA:2011:007
- SUSE-SA:2010:060
- ADV-2011-0298
- [oss-security] 20100617 CVE request - kernel: xfs swapext ioctl issue
- DSA-2094
- http://www.vmware.com/security/advisories/VMSA-2011-0003.html
Other 4
- [xfs] 20100616 Re: [Security] XFS swapext ioctl minor security issues
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=1817176a86352f65210139d4c794ad2d19fc6b63
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.35
- [xfs] 20100616 Re: [Security] XFS swapext ioctl minor security issues
Sources
- CVE-2010-2226 · CVE Program
- CVE-2010-2226 · NVD
- FIRST EPSS
- GHSA-2fg3-h938-jr6f · GitHub Advisory Database · CC BY 4.0
- CVE-2010-2226 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences