An issue with ASN.1 DER decoder was reported that could lead to memory corruptions, possible privilege escalation, or complete local denial of service via x509 certificate DER files. Tags with indefinite length can be used to corrupt the _dp and _len pointers in asn1_find_indefinite_length() in lib/asn1_decoder.c Vulnerable code: ... next_tag: if (unlikely(datalen - dp < 2)) { if (datalen == dp) goto missing_eoc; goto data_overrun_error; } ... n = len - 0x80; if (unlikely(n > sizeof(size_t) - 1)) goto length_too_long; if (unlikely(n > datalen - dp)) goto data_overrun_error; for (len = 0; n > 0; n--) { len <<= 8; len |= data[dp++]; } dp += len; goto next_tag; ... dp can be corrupted and the check at next_tag is not sufficient to prevent this. Upstream fix: https://lkml.org/lkml/2016/5/12/270 http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=23c8a812dc3c621009e4f0e5342aa4e2ede1ceaa
Statement: This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5 and 6. This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 7 and Red Hat Enterprise MRG 2.
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 1335386]
This issue has been addressed in the following products: MRG for RHEL-6 v.2 Via RHSA-2016:1055 https://rhn.redhat.com/errata/RHSA-2016-1055.html
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2016:1033 https://rhn.redhat.com/errata/RHSA-2016-1033.html
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2016:1051 https://rhn.redhat.com/errata/RHSA-2016-1051.html
Posted upstream: https://lkml.org/lkml/2016/5/12/270
kernel-4.5.5-300.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
kernel-4.4.10-200.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
kernel-4.5.5-201.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.