-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2017.0949
             Important: kernel-rt security and bug fix update
                               13 April 2017

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           kernel-rt
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 7
Impact/Access:     Root Compromise   -- Existing Account
                   Denial of Service -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-2636 CVE-2017-2618 CVE-2016-9793
                   CVE-2016-8650  

Reference:         ESB-2017.0948

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2017:0931

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Important: kernel-rt security and bug fix update
Advisory ID:       RHSA-2017:0931-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2017:0931
Issue date:        2017-04-12
CVE Names:         CVE-2016-8650 CVE-2016-9793 CVE-2017-2618 
                   CVE-2017-2636 
=====================================================================

1. Summary:

An update for kernel-rt is now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having a security impact
of Important. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available for each vulnerability
from the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Realtime (v. 7) - noarch, x86_64
Red Hat Enterprise Linux for Real Time for NFV (v. 7) - noarch, x86_64

3. Description:

The kernel-rt packages provide the Real Time Linux Kernel, which enables
fine-tuning for systems with extremely high determinism requirements.

Security Fix(es):

* A race condition flaw was found in the N_HLDC Linux kernel driver when
accessing n_hdlc.tbuf list that can lead to double free. A local,
unprivileged user able to set the HDLC line discipline on the tty device
could use this flaw to increase their privileges on the system.
(CVE-2017-2636, Important)

* A flaw was found in the Linux kernel key management subsystem in which a
local attacker could crash the kernel or corrupt the stack and additional
memory (denial of service) by supplying a specially crafted RSA key. This
flaw panics the machine during the verification of the RSA key.
(CVE-2016-8650, Moderate)

* A flaw was found in the Linux kernel's implementation of setsockopt for
the SO_{SND|RCV}BUFFORCE setsockopt() system call. Users with non-namespace
CAP_NET_ADMIN are able to trigger this call and create a situation in which
the sockets sendbuff data size could be negative. This could adversely
affect memory allocations and create situations where the system could
crash or cause memory corruption. (CVE-2016-9793, Moderate)

* A flaw was found in the Linux kernel's handling of clearing SELinux
attributes on /proc/pid/attr files. An empty (null) write to this file can
crash the system by causing the system to attempt to access unmapped kernel
memory. (CVE-2017-2618, Moderate)

Red Hat would like to thank Alexander Popov for reporting CVE-2017-2636 and
Ralf Spenneberg for reporting CVE-2016-8650. The CVE-2017-2618 issue was
discovered by Paul Moore (Red Hat Engineering).

Bug Fix(es):

* Previously, a cgroups data structure was sometimes corrupted due to a
race condition in the kernel-rt cgroups code. Consequently, several system
tasks were blocked, and the operating system became unresponsive. This
update adds a lock that prevents the race condition. As a result, the
cgroups data structure no longer gets corrupted and the operating system no
longer hangs under the described circumstances. (BZ#1420784)

* The kernel-rt packages have been upgraded to the 3.10.0-514.16.1 source
tree, which provides a number of bug fixes over the previous version.
(BZ#1430749)

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

https://access.redhat.com/articles/11258

The system must be rebooted for this update to take effect.

5. Bugs fixed (https://bugzilla.redhat.com/):

1395187 - CVE-2016-8650 kernel: Null pointer dereference via keyctl
1402013 - CVE-2016-9793 kernel: Signed overflow for SO_{SND|RCV}BUFFORCE
1419916 - CVE-2017-2618 kernel: Off-by-one error in selinux_setprocattr (/proc/self/attr/fscreate)
1428319 - CVE-2017-2636 kernel: Race condition access to n_hdlc.tbuf causes double free in n_hdlc_release()
1430749 - kernel-rt: update to the RHEL7.3.z batch#4 source tree [RT-7.3.z]

6. Package List:

Red Hat Enterprise Linux for Real Time for NFV (v. 7):

Source:
kernel-rt-3.10.0-514.16.1.rt56.437.el7.src.rpm

noarch:
kernel-rt-doc-3.10.0-514.16.1.rt56.437.el7.noarch.rpm

x86_64:
kernel-rt-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-debug-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-debug-debuginfo-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-debug-devel-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-debug-kvm-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-debug-kvm-debuginfo-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-debuginfo-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-debuginfo-common-x86_64-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-devel-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-kvm-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-kvm-debuginfo-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-trace-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-trace-debuginfo-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-trace-devel-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-trace-kvm-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-trace-kvm-debuginfo-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm

Red Hat Enterprise Linux Realtime (v. 7):

Source:
kernel-rt-3.10.0-514.16.1.rt56.437.el7.src.rpm

noarch:
kernel-rt-doc-3.10.0-514.16.1.rt56.437.el7.noarch.rpm

x86_64:
kernel-rt-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-debug-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-debug-debuginfo-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-debug-devel-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-debuginfo-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-debuginfo-common-x86_64-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-devel-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-trace-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-trace-debuginfo-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm
kernel-rt-trace-devel-3.10.0-514.16.1.rt56.437.el7.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/

7. References:

https://access.redhat.com/security/cve/CVE-2016-8650
https://access.redhat.com/security/cve/CVE-2016-9793
https://access.redhat.com/security/cve/CVE-2017-2618
https://access.redhat.com/security/cve/CVE-2017-2636
https://access.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2017 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFY7jjUXlSAg2UNWIIRAvx4AJ0UGk1zTaNQOjqhPxzDBAnSVe0UWACfeNls
kwrQgjLNJxXW/CVLujHvI7M=
=zagv
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBWO7S/ox+lLeg9Ub1AQhJMA//QoUykv2TdA4UKc0axkfycb5Cb2j2ywXK
46EQ3M+94y+2rb10E1GJYPIHmPIpd5zXkdylVAeQJt9yJ9dMGNN8H/Nw6CeS2zqm
JhcyHH2rR8sg5C3J6gSFqc7WhPQCnuMYH5bJJDQ5FyFgYY4ohodKRqhTKEDnEsSb
/2i5/FpZPvDXjlQ+EcwvzI0gWWAwrqyC6r0kWkSMRbRi53dZ3YY23Hi0OKljwTu0
bi8Zh+NK5uY59OHK43OtaR3vhvUT8z3rbdKKcupvjDwkS2PbRzerbq1oPLMRlxqA
0sWBo/7Vp++9VHwOGIsoSXi+Ed5VkPoLUCe4hX3VMLdAW/b3McWrvba/6FexBpEm
eDGfCAYsMSJxKNY9tN8iui4RnPiAuoeeD9PlCE7Ut/QKiyYyDeJXSrBX+cZyKofr
OdINR2/zDXM3okRm7rPMxIQ2JtuWTuASW2jai9BzOjyhRedoJ/e61bp+ntGke6AG
SO5G8VcHpA3VbroXyU5Fj97SjJhXImETqnvMMtUSdW8ebgAI1VibpeS1siQjU71Q
RGxOKGzpCLM+Iut4zTgL1nv0nY3aGQ1KjFFbd04eZIhdyUfAhPSVZrdvuSaBYmB8
Qs6X06v7OSwlZ/oHpq9EPk6XxXYForSf5zn0bhUr6c5YO6fqvi4jcNyc8q9WokGX
6bsMGkUV9Uc=
=hlHv
-----END PGP SIGNATURE-----