Every CVE Search/ Get API key

CVE-2010-2226

The xfs_swapext function in fs/xfs/xfs_dfrag.c in the Linux kernel before 2.6.35 does not...

2.1 Low

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.

Exploit likelihood

0.43%Down 1.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 2.1

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.

Record
CVE-2010-2226
CVSS 2.0
2.1 LowAV:L/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2010-2226
Updated
2026-11-02
EUVDEUVD-2010-2242 No score

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.

Record
EUVD-2010-2242
Updated
2026-11-03
GitHub AdvisoriesGHSA-2fg3-h938-jr6f No score

The xfs_swapext function in fs/xfs/xfs_dfrag.c in the Linux kernel before 2.6.35 does not...

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.

Record
GHSA-2fg3-h938-jr6f
Weakness
CWE-200
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
linux-2.6
Debian:5.0
From an advisory covering 9 CVEs
before 2.6.26-24lenny1, plus listed versions
2.6.26-132.6.26-13lenny22.6.26-13lenny2~bpo40+12.6.26-142.6.26-15
Show 28 moreShow less
2.6.26-15lenny12.6.26-15lenny22.6.26-15lenny32.6.26-15~bpo40+12.6.26-15~bpo40+22.6.26-162.6.26-172.6.26-17lenny12.6.26-17lenny22.6.26-17lenny2~bpo40+12.6.26-17~bpo40+12.6.26-182.6.26-192.6.26-19lenny12.6.26-19lenny22.6.26-19~bpo40+12.6.26-202.6.26-20~bpo40+12.6.26-212.6.26-21lenny12.6.26-21lenny22.6.26-21lenny32.6.26-21lenny42.6.26-21~bpo40+12.6.26-222.6.26-22lenny12.6.26-232.6.26-24
2.6.26-24lenny1
kernel
Red Hat:enterprise_linux:5::client
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-PAE
Red Hat:enterprise_linux:5::client
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-PAE-debuginfo
Red Hat:enterprise_linux:5::client
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-PAE-devel
Red Hat:enterprise_linux:5::client
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-debug
Red Hat:enterprise_linux:5::client
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-debug-debuginfo
Red Hat:enterprise_linux:5::client
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-debug-devel
Red Hat:enterprise_linux:5::client
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-debuginfo
Red Hat:enterprise_linux:5::client
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-debuginfo-common
Red Hat:enterprise_linux:5::client
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
Show 24 moreShow less
Affected packages
PackageAffectedFixed
kernel-devel
Red Hat:enterprise_linux:5::client
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-doc
Red Hat:enterprise_linux:5::client
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-headers
Red Hat:enterprise_linux:5::client
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-xen
Red Hat:enterprise_linux:5::client
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-xen-debuginfo
Red Hat:enterprise_linux:5::client
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-xen-devel
Red Hat:enterprise_linux:5::client
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-PAE
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-PAE-debuginfo
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-PAE-devel
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-debug
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-debug-debuginfo
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-debug-devel
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-debuginfo
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-debuginfo-common
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-devel
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-doc
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-headers
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-kdump
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-kdump-debuginfo
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-kdump-devel
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-xen
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-xen-debuginfo
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5
kernel-xen-devel
Red Hat:enterprise_linux:5::server
From an advisory covering 7 CVEs
before 0:2.6.18-194.11.1.el5
0:2.6.18-194.11.1.el5

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2010-2226 is a low vulnerability (CVSS 2.1) in Debian Linux, published August 19, 2010. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.43%, the 37th percentile. No source names a fixed version.

References

Show 51 moreShow less
MoveEnter Open