2.1
CWE
20
Advisory Published
CVE Published
Updated

CVE-2015-7872: Input Validation

First published: Fri Oct 16 2015(Updated: )

A vulnerability in the Linux kernel's keyrings garbage collector allowing any local user account to trigger a kernel panic. Problem arrises when using request_key() or keyctl request2. This code sequence tries to invoke an upcall to instantiate a keyring if one doesn't already exist by that name within the user's keyring set. However, if the upcall fails, the code sets keyring->type_data.reject_error to -ENOKEY or some other error code. When the key is garbage collected, the key destroy function is called unconditionally and keyring_destroy() uses list_empty() on keyring->type_data.link - which is in a union with reject_error. Subsequently, the kernel tries to unlink the keyring from the keyring names list, which leads to an oops.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Linux Linux kernel<=4.2.6
Google Android
debian/linux
5.10.223-1
5.10.226-1
6.1.115-1
6.1.119-1
6.11.10-1
6.12.5-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2015-7872?

    CVE-2015-7872 is a vulnerability in the Linux kernel that allows local users to cause a denial of service (OOPS) via crafted keyctl commands.

  • What is the severity of CVE-2015-7872?

    CVE-2015-7872 has a severity level of high (7 out of 10).

  • How can I fix CVE-2015-7872?

    To fix CVE-2015-7872, you should update your Linux kernel to version 4.3~ or higher.

  • Which Linux kernel versions are affected by CVE-2015-7872?

    Linux kernel versions up to and including 4.2.6 are affected by CVE-2015-7872.

  • Where can I find more information about CVE-2015-7872?

    You can find more information about CVE-2015-7872 on the following websites: [SecurityTracker](http://www.securitytracker.com/id/1034472), [SecurityFocus](http://www.securityfocus.com/bid/77544), [Debian](http://www.debian.org/security/2015/dsa-3396).

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203