CVE-2015-8539: High severity Canonical Ubuntu Linux vulnerability

Published Nov 23, 2015
·
Updated

A flaw was found in the Linux kernels key management system where it was possible for an attacker to escalate privileges or crash the machine.

If a user key gets negatively instantiated, an error code is cached in the payload area. A negatively instantiated key may be then be positively instantiated by updating it with valid data. However, the ->update key type method must be aware that the error code may be there.

Key management subsystems can abused to escalate privileges through memory corruption.

Upstream: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=096fe9eaea40a17e125569f9e657e34cdb6d73bd

Other sources

A flaw was found in the Linux kernel's key management system where it was possible for an attacker to escalate privileges or crash the machine. If a user key gets negatively instantiated, an error code is cached in the payload area. A negatively instantiated key may be then be positively instantiated by updating it with valid data. However, the ->update key type method must be aware that the error code may be there.

The KEYS subsystem in the Linux kernel before 4.4 allows local users to gain privileges or cause a denial of service (BUG) via crafted keyctl commands that negatively instantiate a key, related to security/keys/encrypted-keys/encrypted.c, security/keys/trusted.c, and security/keys/userdefined.c.

Affected Software

10 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-693.17.1.rt56.636.el7
0:3.10.0-693.17.1.rt56.636.el7
redhat/kernel<0:3.10.0-693.17.1.el7
0:3.10.0-693.17.1.el7
redhat/kernel-rt<1:3.10.0-693.17.1.rt56.604.el6
1:3.10.0-693.17.1.rt56.604.el6
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
SUSE Linux Enterprise Real Time Extension=12-sp1
Linux Linux kernel<4.4
Linux Linux kernel=4.4-rc1
Linux Linux kernel=4.4-rc2
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.7-17.1.8-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-693.17.1.rt56.636.el7
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-693.17.1.el7
  3. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 1:3.10.0-693.17.1.rt56.604.el6
  4. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.7-1Fixed in 7.1.8-1
  5. Compensating control

    Apply the upstream fix commit for the Linux kernel KEYS key management privilege-escalation/DoS issue (commit id: 096fe9eaea40a17e125569f9e657e34cdb6d73bd) to the affected kernels.

Event History

Nov 23, 2015
Data Sourced
via Red Hat·11:33 AM
DescriptionSeverityAffected Software
Dec 9, 2015
CVE Published
12:00 AM
Feb 8, 2016
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description
Data Sourced
via NVD·03:59 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:12 PM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:19 AM
RemedyDescriptionSeverityAffected Software
Aug 12, 2026
Data Sourced
via Debian·12:10 PM
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 CVE-2015-8539?

CVE-2015-8539 is a vulnerability in the Linux kernel that allows local users to gain privileges or crash the machine.

2

How severe is CVE-2015-8539?

CVE-2015-8539 has a severity score of 7, which is considered high.

3

Which software versions are affected by CVE-2015-8539?

The Linux kernel versions before 4.4 are affected by CVE-2015-8539.

4

What is the remedy for CVE-2015-8539?

To fix CVE-2015-8539, update your Linux kernel to version 4.4~ or later.

5

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

You can find more information about CVE-2015-8539 at the following references: [Link 1](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=096fe9eaea40a17e125569f9e657e34cdb6d73bd), [Link 2](https://access.redhat.com/security/cve/CVE-2015-8539), [Link 3](http://seclists.org/oss-sec/2015/q4/465).

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