CVE-2016-2053: Medium severity Linux Linux kernel vulnerability

Published Jan 20, 2016
·
Updated

An issue with ASN1.1 DER decoder was reported that a specially created key file could lead to a local denial of service (kernel panic) via x509 certificate DER files.

This is caused by triggering a BUGON() in publickeyverifysignature() in crypto/asymmetrickeys/publickey.c which causes a kernel panic and system lockup on RHEL kernels.

Vulnerable code:

... int publickeyverifysignature(const struct publickey pk, const struct publickeysignature sig) { const struct publickeyalgorithm algo;

BUGON(!pk); BUGON(!pk->mpi[0]); ...

Additional references:

http://seclists.org/oss-sec/2016/q1/197

Introduced in commit:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=42d5ec27f873c654a68f7f865dcd7737513e9508

Fixed in commit: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0d62e9dd6da45bbf0f33a8617afc5fe774c8f45f

Other sources

The asn1berdecoder function in lib/asn1decoder.c in the Linux kernel before 4.3 allows attackers to cause a denial of service (panic) via an ASN.1 BER file that lacks a public key, leading to mishandling by the publickeyverifysignature function in crypto/asymmetrickeys/publickey.c.

— MITRE

Affected Software

2 affected components
Linux Linux kernel<4.3
Google Android

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 4.3

Event History

Jan 20, 2016
Data Sourced
10:25 AM
DescriptionSeverityAffected Software
May 2, 2016
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Data Sourced
10:59 AM
RemedyWeakness
Data Sourced
via NVD·10:59 AM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 6, 2016
Data Sourced
via Android·12:00 AM
SeverityAffected Software
Oct 21, 2021
Data Sourced
via Red Hat·12:49 AM
DescriptionSeverityAffected Software

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