CVE-2016-4558: Use After Free

Published May 9, 2016
·
Updated

A flaw was found in the Linux kernels implementation of BPF in which systems with more than 32GB of physical memory and unlimited RLIMITMEMLOCK settings an application can overflow a 32 bit refcount.

Additionally in the same environment, malicious applications can overflow a map refcount on larger memory (1Tb). When the overflow wraps to zero a reference can be held while being free'd. This can lead to a use after free

CVE assignment:

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

Upstream fix:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=92117d8443bc5afacc8d5ba82e541946310f106e

Other sources

The BPF subsystem in the Linux kernel before 4.5.5 mishandles reference counts, which allows local users to cause a denial of service (use-after-free) or possibly have unspecified other impact via a crafted application on (1) a system with more than 32 Gb of memory, related to the program reference count or (2) a 1 Tb system, related to the map reference count.

Launchpad

Affected Software

5 affected componentsFixes available
Linux Linux kernel>=4.4<4.4.11
Linux Linux kernel>=4.5<4.5.5
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

May 9, 2016
Data Sourced
via Red Hat·11:12 AM
DescriptionSeverityAffected Software
May 23, 2016
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:19 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:14 AM
RemedyDescriptionSeverityAffected Software
Apr 28, 2025
Data Sourced
via Debian·03:33 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 the vulnerability ID of this vulnerability?

The vulnerability ID is CVE-2016-4558.

2

What is the severity level of CVE-2016-4558?

The severity level of CVE-2016-4558 is high.

3

How does CVE-2016-4558 affect Linux systems?

CVE-2016-4558 can cause a denial of service (use-after-free) or possibly have unspecified other impact via a crafted application on systems with more than 32 Gb of memory.

4

Which versions of the Linux kernel are affected by CVE-2016-4558?

Linux kernel versions before 4.5.5 are affected by CVE-2016-4558.

5

How can I fix CVE-2016-4558?

To fix CVE-2016-4558, update your Linux kernel to version 4.5.5 or later.

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