CVE-2015-5706: Use After Free

Published Aug 4, 2015
·
Updated

A flaw was found in the Linux kernels function pathopenat() in which would incorrectly clear up twice (as part of pathlookupat() called by dotmpfile(). Doing so again can lead to double fput(). This can lead to a use-after free condition.

CVE assignment: http://seclists.org/oss-sec/2015/q3/270

Introduced in this commit: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bb458c644a59dbba3a1fe59b27106c5e68e1c4bd

Upstream patch: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f15133df088ecadd141ea1907f2c96df67c729f0

OSS-SEC request: http://seclists.org/oss-sec/2015/q3/371

Other sources

Use-after-free vulnerability in the pathopenat function in fs/namei.c in the Linux kernel 3.x and 4.x before 4.0.4 allows local users to cause a denial of service or possibly have unspecified other impact via OTMPFILE filesystem operations that leverage a duplicate cleanup operation.

— Launchpad

Affected Software

8 affected componentsFixes available
Google Android
Linux Linux Kernel>=3.0<=3.19.8
Linux Linux Kernel>=4.0<4.0.4
Ubuntu=12.04
Ubuntu=14.04
Debian Linux=7.0
Debian Linux=8.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

Aug 4, 2015
Data Sourced
via Red Hat·12:16 PM
DescriptionSeverityAffected Software
Aug 31, 2015
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:12 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:08 AM
RemedyDescriptionSeverityAffected Software
Mar 27, 2025
Data Sourced
via Debian·03:19 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2015-5706?

CVE-2015-5706 is classified as a moderate severity vulnerability due to its potential to cause a use-after-free condition.

2

What systems are affected by CVE-2015-5706?

CVE-2015-5706 affects certain versions of the Linux kernel and specific distributions of Android and Ubuntu.

3

How can I fix CVE-2015-5706?

To fix CVE-2015-5706, update the Linux kernel to version 5.10.223-1 or later, or apply the relevant patches for affected distributions.

4

What type of vulnerability is CVE-2015-5706?

CVE-2015-5706 is a use-after-free vulnerability that arises from improper memory management in the Linux kernel.

5

What impacts could result from exploiting CVE-2015-5706?

Exploiting CVE-2015-5706 could lead to local privilege escalation and potentially allow an attacker to execute arbitrary code.

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