CVE-2010-2226

low
Published 2010-09-03 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
2.1

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

debian Debian Affected 1 release
VersionStatusFixed in
5.0 Affected โ€”
linux Linux kernel Affected 1 release
VersionStatusFixed in
โ€” Affected 2.6.35
suse SUSE Affected 1 release
VersionStatusFixed in
10 Affected โ€”
ubuntu Ubuntu Affected 6 releases
VersionStatusFixed in
10.10 Affected โ€”
10.04 Affected โ€”
9.10 Affected โ€”
9.04 Affected โ€”
8.04 Affected โ€”
6.06 Affected โ€”

References

CWEs

CWE-200

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.