Skip to content
OpenAdvisories
Unscored CVE-2010-2226 EUVD-2010-2242GHSA-2fg3-h938-jr6f

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…

Published Sep 3, 2010 · Updated Aug 7, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 linux-2.6 2.6.26-24lenny1 DSA-2094-1
ReleasePackageFixed inAdvisory
RHEL 5 kernel +12 2.6.18-194.11.1.el5 RHSA-2010:0610

Advisories 2

References