CVE-2014-5045 Use after free in n/a

Medium 6.2 Published Updated

Local attackers can trigger a use-after-free in the Linux kernel via umount and symlinks, causing denial of service or potential code execution.

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-2014-5045?

CVE-2014-5045 is a medium-severity use after free vulnerability in Linux kernel, published on 1 Aug 2014. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The mountpoint_last function in fs/namei.c in the Linux kernel before 3.15.8 does not properly maintain a certain reference count during attempts to use the umount system call in conjunction with a symlink, which allows local users to cause a denial of service (memory consumption or use-after-free) or possibly have unspecified other impact via the umount program.

Weakness: CWE-59

Which versions are affected by CVE-2014-5045?

It affects 4 products.

Products include Linux kernel, Redhat Enterprise Linux Eus, Redhat Enterprise Linux Server Aus, Redhat Enterprise Linux Server Tus.

How do I fix CVE-2014-5045?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2014-5045 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2014-5045, GHSA-9pvv-pv37-92f4, UBUNTU-CVE-2014-5045.

Is CVE-2014-5045 in your software?

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

Check your SBOMs for free