CVE-2010-2226
LOW 2.1CVSS 2.0The 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.
- Published
- 3 Sep 2010
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-200
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
< 2.6.35 | 2.6.35 |
| NVD | suse | linux_enterprise_desktopcpe:2.3:o:suse:linux_enterprise_desktop:10:sp3:*:*:*:*:*:* |
= 10 | |
| NVD | suse | linux_enterprise_servercpe:2.3:o:suse:linux_enterprise_server:10:sp3:*:*:*:*:*:* |
= 10 | |
| NVD | suse | linux_enterprise_software_development_kitcpe:2.3:o:suse:linux_enterprise_software_development_kit:10:sp3:*:*:*:*:*:* |
= 10 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:5.0:*:*:*:*:*:*:* |
= 5.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:* |
= 6.06 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:* |
= 8.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:9.04:*:*:*:*:*:*:* |
= 9.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:9.10:*:*:*:*:*:*:* |
= 9.10 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:* |
= 10.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:10.10:*:*:*:*:*:*:* |
= 10.10 |
References
- http://archives.free.net.ph/message/20100616.130710.301704aa.en.html · Broken Link
- http://archives.free.net.ph/message/20100616.135735.40f53a32.en.html · Broken 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.html · Mailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html · Mailing List, Third Party Advisory
- http://marc.info/?l=oss-security&m=127677135609357&w=2 · Third Party Advisory
- http://marc.info/?l=oss-security&m=127687486331790&w=2 · Third Party Advisory
- http://secunia.com/advisories/43315 · Third Party Advisory
- http://www.debian.org/security/2010/dsa-2094 · Third Party Advisory
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.35 · Broken Link
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:198 · Third Party Advisory
- http://www.redhat.com/support/errata/RHSA-2010-0610.html · Third Party Advisory
- http://www.securityfocus.com/archive/1/516397/100/0/threaded · Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/40920 · Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-1000-1 · Third Party Advisory
- http://www.vmware.com/security/advisories/VMSA-2011-0003.html · Third Party Advisory
- http://www.vupen.com/english/advisories/2011/0298 · Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=605158 · Issue Tracking, Third Party Advisory
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 3 Sep 2010)