CVE-2015-8839: Race Condition

Published Apr 4, 2016
·
Updated

A flaw was found in the Linux kernel when attempting to "punch a hole" in files existing on an ext4 filesystem. When punching holes into a file races with the page fault of the same area, it is possible that freed blocks remain referenced from page cache pages mapped to process' address space.

Thus modification of these blocks can corrupt data someone else is now storing in those blocks when at some point those pages are written to disk.

Upstream fixes:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ea3d7209ca01da209cda6f0dea8be9cc4b7a933b http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=17048e8a083fec7ad841d88ef0812707fbc7e39f http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=32ebffd3bbb4162da5ff88f9a35dd32d0a28ea70 http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=011278485ecc3cd2a3954b5d4c73101d919bf1fa

References:

http://seclists.org/oss-sec/2016/q2/1

Other sources

Multiple race conditions in the ext4 filesystem implementation in the Linux kernel before 4.5 allow local users to cause a denial of service (disk corruption) by writing to a page that is associated with a different user's file after unsynchronized hole punching and page-fault handling.

Launchpad

Affected Software

11 affected componentsFixes available
Linux Linux kernel<=4.4.221
Linux Linux kernel=4.5-rc1
Linux Linux kernel=4.5-rc2
Linux Linux kernel=4.5-rc3
Linux Linux kernel=4.5-rc4
Linux Linux kernel=4.5-rc5
Linux Linux kernel=4.5-rc6
Linux Linux kernel=4.5-rc7
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1

Event History

Apr 4, 2016
Data Sourced
via Red Hat·07:28 AM
DescriptionSeverityAffected Software
May 2, 2016
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:13 PM
Description
Dec 1, 2024
Data Sourced
via Ubuntu·01:26 AM
RemedyDescriptionSeverityAffected Software
Apr 28, 2025
Data Sourced
via Debian·03:27 AM
DescriptionAffected 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 CVE-2015-8839?

CVE-2015-8839 is a vulnerability in the ext4 filesystem implementation in the Linux kernel before version 4.5 that allows local users to cause a denial of service (disk corruption).

2

How severe is CVE-2015-8839?

CVE-2015-8839 has a severity level of medium.

3

Which software is affected by CVE-2015-8839?

The affected software includes Linux kernel versions before 4.5.

4

How can I fix CVE-2015-8839?

To fix CVE-2015-8839, you should update your Linux kernel to version 4.5 or higher.

5

Where can I find more information about CVE-2015-8839?

You can find more information about CVE-2015-8839 on the following links: - [Link 1](http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ea3d7209ca01da209cda6f0dea8be9cc4b7a933b) - [Link 2](http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=17048e8a083fec7ad841d88ef0812707fbc7e39f) - [Link 3](http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=32ebffd3bbb4162da5ff88f9a35dd32d0a28ea70)

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