CVE-2010-2226 Information disclosure in n/a

Low 2.1 Published Updated

Local attackers with write access can swap files to gain unauthorized read access to other files due to improper ioctl checks.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2010-2226?

CVE-2010-2226 is a low-severity vulnerability in Canonical Ubuntu Linux, published on 3 Sep 2010. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-200

Which versions are affected by CVE-2010-2226?

It affects 6 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Linux kernel, Suse Linux Enterprise Desktop, Suse Linux Enterprise Server, Suse Linux Enterprise Software Development Kit.

How do I fix CVE-2010-2226?

Upgrade to a fixed version.

Is CVE-2010-2226 being exploited?

There is no known exploitation of CVE-2010-2226 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-2fg3-h938-jr6f.

Is CVE-2010-2226 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free