CVE-2010-2226: Infoleak

Published Jun 17, 2010
·
Updated

Description of problem: User "foo" can use the SWAPEXT ioctl to swap a write-only file owned by user "bar" into a file owned by "foo" and subsequently reading it. It does so by checking that the file descriptors passed to the ioctl are also opened for reading.

References: http://archives.free.net.ph/message/20100616.130710.301704aa.en.html http://archives.free.net.ph/message/20100616.135735.40f53a32.en.html

Other sources

The xfsswapext function in fs/xfs/xfsdfrag.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.

Launchpad

Affected Software

12 affected components
debian/linux-2.6
Linux Linux kernel<2.6.35
SUSE Linux Enterprise Desktop=10-sp3
SUSE Linux Enterprise Server=10-sp3
SUSE Linux Enterprise Software Development Kit=10-sp3
Debian Debian Linux=5.0
Canonical Ubuntu Linux=6.06
Canonical Ubuntu Linux=8.04
Canonical Ubuntu Linux=9.04
Canonical Ubuntu Linux=9.10
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=10.10

Event History

Jun 17, 2010
Data Sourced
via Red Hat·10:37 AM
DescriptionSeverityAffected Software
Sep 3, 2010
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·09:51 PM
Description
Sep 19, 2024
Data Sourced
via Ubuntu·10:39 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2010-2226?

CVE-2010-2226 is classified as a high-severity vulnerability that allows unauthorized file access.

2

How do I fix CVE-2010-2226?

To fix CVE-2010-2226, update your Linux kernel to a version later than 2.6.35.

3

Who is affected by CVE-2010-2226?

CVE-2010-2226 affects users of Linux Kernel versions up to 2.6.35, as well as specific distributions such as Debian, Ubuntu, and SUSE.

4

What types of systems are vulnerable to CVE-2010-2226?

Systems running vulnerable versions of the Linux Kernel, including Debian Linux 5.0 and specific versions of Ubuntu and SUSE, are susceptible to CVE-2010-2226.

5

What exploit is associated with CVE-2010-2226?

CVE-2010-2226 is exploited through the SWAPEXT ioctl, allowing a user to access files they should not have permission to read.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203