{"cve":"CVE-2010-2226","nvd":{"published":"2010-09-03T20:00:03.340","modified":"2026-06-16T23:20:20.113","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-200"],"references":["http://archives.free.net.ph/message/20100616.130710.301704aa.en.html","http://archives.free.net.ph/message/20100616.135735.40f53a32.en.html","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","http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html"],"products":["canonical:ubuntu_linux","debian:debian_linux","linux:linux_kernel","suse:linux_enterprise_desktop","suse:linux_enterprise_server","suse:linux_enterprise_software_development_kit"],"source":"nvd","synced_at":"2026-10-19T19:56:26.512081652+00:00"},"epss":{"cve":"CVE-2010-2226","score":0.00434,"percentile":0.37736,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}