CVE-2010-2226: Canonical Ubuntu Linux

Low severity, CVSS 2.1. EPSS: 0.4% chance of exploitation in the next 30 days.

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.

Affected products

  • Canonical Ubuntu Linux: version 6.06 only; version 8.04 only; version 9.04 only; version 9.10 only; version 10.04 only; version 10.10 only
  • Debian Debian Linux: version 5.0 only
  • Linux Linux Kernel: before 2.6.35 (fixed in 2.6.35)
  • Suse Linux Enterprise Desktop: version 10 only
  • Suse Linux Enterprise Server: version 10 only
  • Suse Linux Enterprise Software Development Kit: version 10 only

Published 2010-09-03. Last modified 2026-06-16.