CVE-2014-5045: Use After Free

Published Jul 20, 2014
·
Updated

A flaw was found in the way reference counting was handled in the Linux kernel's VFS subsystem when unmount on symlink was performed.

On Red Hat Enterprise Linux 6 an unprivileged local user could use this flaw to cause OOM conditions leading to denial of service or, potentially, trigger use-after-free error.

On Red Hat Enterprise Linux 7 a privileged local user with CAPSYSADMIN capability (also in a container) could use this flaw to cause OOM conditions leading to denial of service or, potentially, trigger use-after-free error.

Acknowledgements:

Red Hat would like to thank Vasily Averin of Parallels for reporting this issue.

Other sources

A flaw was found in the way the Linux kernel's VFS subsystem handled reference counting when performing unmount operations on symbolic links. A local, unprivileged user could use this flaw to exhaust all available memory on the system or, potentially, trigger a use-after-free error, resulting in a system crash or privilege escalation.

The mountpointlast 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.

Affected Software

8 affected componentsFixes available
redhat/kernel<0:2.6.32-504.el6
0:2.6.32-504.el6
redhat/kernel<0:2.6.32-431.46.2.el6
0:2.6.32-431.46.2.el6
redhat/kernel<0:3.10.0-123.13.1.el7
0:3.10.0-123.13.1.el7
Linux Linux kernel<3.15.8
redhat Enterprise Linux Eus=6.5
redhat Enterprise Linux Server Aus=6.5
redhat Enterprise Linux Server Tus=6.5
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

Jul 20, 2014
CVE Published
12:00 AM
Jul 23, 2014
Data Sourced
via Red Hat·10:58 AM
DescriptionSeverityAffected Software
Aug 1, 2014
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:06 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:04 AM
RemedyDescriptionSeverityAffected Software
Apr 28, 2025
Data Sourced
via Debian·02:10 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

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

CVE-2014-5045 has a severity rating that indicates it could lead to Out of Memory (OOM) conditions and a potential denial of service.

2

How do I fix CVE-2014-5045?

To fix CVE-2014-5045, upgrade your kernel to the fixed versions provided by Red Hat or Debian as noted in the vulnerability details.

3

Who is affected by CVE-2014-5045?

CVE-2014-5045 affects unprivileged local users on Red Hat Enterprise Linux 6 who can exploit the flaw in the kernel's VFS subsystem.

4

What versions are vulnerable to CVE-2014-5045?

Vulnerable versions of the Linux kernel include versions prior to 2.6.32-504.el6 and specific Debian kernel versions listed in the vulnerability details.

5

Is there a patch available for CVE-2014-5045?

Yes, patches for CVE-2014-5045 are available as kernel updates from Red Hat and Debian.

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