ESB-2017.2650 - [RedHat] kernel and kernel-rt: Multiple vulnerabilities 2017-10-20

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2017.2650
        Important: kernel and kernel-rt security and bug fix update
                              20 October 2017

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

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

Product:           kernel-rt
                   kernel
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 6
                   Red Hat Enterprise Linux Server 7
Impact/Access:     Root Compromise          -- Existing Account
                   Modify Arbitrary Files   -- Existing Account
                   Denial of Service        -- Existing Account
                   Access Confidential Data -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-1000112 CVE-2017-1000111 CVE-2017-14340
                   CVE-2017-14106 CVE-2017-11176 CVE-2017-7558
                   CVE-2017-7542 CVE-2017-7541 CVE-2017-7184
                   CVE-2016-8399  

Reference:         ESB-2017.2516
                   ESB-2017.2401
                   ESB-2017.0341
                   ESB-2017.0273

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2017:2918
   https://access.redhat.com/errata/RHSA-2017:2930
   https://access.redhat.com/errata/RHSA-2017:2931

Comment: This bulletin contains three (3) Red Hat security advisories.

- --------------------------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:2918-01
Product:           Red Hat Enterprise MRG for RHEL-6
Advisory URL:      https://access.redhat.com/errata/RHSA-2017:2918
Issue date:        2017-10-19
CVE Names:         CVE-2017-1000111 CVE-2017-1000112 CVE-2017-11176 
                   CVE-2017-14106 CVE-2017-14340 CVE-2017-7184 
                   CVE-2017-7541 CVE-2017-7542 CVE-2017-7558 
=====================================================================

1. Summary:

An update for kernel-rt is now available for Red Hat Enterprise MRG 2.

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:

MRG Realtime for RHEL 6 Server v.2 - 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):

* Out-of-bounds kernel heap access vulnerability was found in xfrm,
kernel's IP framework for transforming packets. An error dealing with
netlink messages from an unprivileged user leads to arbitrary read/write
and privilege escalation. (CVE-2017-7184, Important)

* A race condition issue leading to a use-after-free flaw was found in the
way the raw packet sockets are implemented in the Linux kernel networking
subsystem handling synchronization. A local user able to open a raw packet
socket (requires the CAP_NET_RAW capability) could use this flaw to elevate
their privileges on the system. (CVE-2017-1000111, Important)

* An exploitable memory corruption flaw was found in the Linux kernel. The
append path can be erroneously switched from UFO to non-UFO in
ip_ufo_append_data() when building an UFO packet with MSG_MORE option. If
unprivileged user namespaces are available, this flaw can be exploited to
gain root privileges. (CVE-2017-1000112, Important)

* Kernel memory corruption due to a buffer overflow was found in
brcmf_cfg80211_mgmt_tx() function in Linux kernels from v3.9-rc1 to
v4.13-rc1. The vulnerability can be triggered by sending a crafted
NL80211_CMD_FRAME packet via netlink. This flaw is unlikely to be triggered
remotely as certain userspace code is needed for this. An unprivileged
local user could use this flaw to induce kernel memory corruption on the
system, leading to a crash. Due to the nature of the flaw, privilege
escalation cannot be fully ruled out, although it is unlikely.
(CVE-2017-7541, Moderate)

* An integer overflow vulnerability in ip6_find_1stfragopt() function was
found. A local attacker that has privileges (of CAP_NET_RAW) to open raw
socket can cause an infinite loop inside the ip6_find_1stfragopt()
function. (CVE-2017-7542, Moderate)

* A kernel data leak due to an out-of-bound read was found in the Linux
kernel in inet_diag_msg_sctp{,l}addr_fill() and sctp_get_sctp_info()
functions present since version 4.7-rc1 through version 4.13. A data leak
happens when these functions fill in sockaddr data structures used to
export socket's diagnostic information. As a result, up to 100 bytes of the
slab data could be leaked to a userspace. (CVE-2017-7558, Moderate)

* The mq_notify function in the Linux kernel through 4.11.9 does not set
the sock pointer to NULL upon entry into the retry logic. During a
user-space close of a Netlink socket, it allows attackers to possibly cause
a situation where a value may be used after being freed (use-after-free)
which may lead to memory corruption or other unspecified other impact.
(CVE-2017-11176, Moderate)

* A divide-by-zero vulnerability was found in the __tcp_select_window
function in the Linux kernel. This can result in a kernel panic causing a
local denial of service. (CVE-2017-14106, Moderate)

* A flaw was found where the XFS filesystem code mishandles a user-settable
inode flag in the Linux kernel prior to 4.14-rc1. This can cause a local
denial of service via a kernel panic. (CVE-2017-14340, Moderate)

Red Hat would like to thank Chaitin Security Research Lab for reporting
CVE-2017-7184; Willem de Bruijn for reporting CVE-2017-1000111; and Andrey
Konovalov for reporting CVE-2017-1000112. The CVE-2017-7558 issue was
discovered by Stefano Brivio (Red Hat) and the CVE-2017-14340 issue was
discovered by Dave Chinner (Red Hat).

Bug Fix(es):

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

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/):

1435153 - CVE-2017-7184 kernel: Out-of-bounds heap access in xfrm
1470659 - CVE-2017-11176 kernel: Use-after-free in sys_mq_notify()
1473198 - CVE-2017-7541 kernel: Possible heap buffer overflow in brcmf_cfg80211_mgmt_tx()
1473649 - CVE-2017-7542 kernel: Integer overflow in ip6_find_1stfragopt() causes infinite loop
1479304 - CVE-2017-1000111 kernel: Heap out-of-bounds in AF_PACKET sockets
1479307 - CVE-2017-1000112 kernel: Exploitable memory corruption due to UFO to non-UFO path switch
1480266 - CVE-2017-7558 kernel: Out of bounds read in inet_diag_msg_sctp{,l}addr_fill() and sctp_get_sctp_info() in SCTP stack
1487295 - CVE-2017-14106 kernel: Divide-by-zero in __tcp_select_window
1489085 - update the MRG 2.5.z 3.10 kernel-rt sources
1491344 - CVE-2017-14340 kernel: xfs: unprivileged user kernel oops

6. Package List:

MRG Realtime for RHEL 6 Server v.2:

Source:
kernel-rt-3.10.0-693.5.2.rt56.592.el6rt.src.rpm

noarch:
kernel-rt-doc-3.10.0-693.5.2.rt56.592.el6rt.noarch.rpm
kernel-rt-firmware-3.10.0-693.5.2.rt56.592.el6rt.noarch.rpm

x86_64:
kernel-rt-3.10.0-693.5.2.rt56.592.el6rt.x86_64.rpm
kernel-rt-debug-3.10.0-693.5.2.rt56.592.el6rt.x86_64.rpm
kernel-rt-debug-debuginfo-3.10.0-693.5.2.rt56.592.el6rt.x86_64.rpm
kernel-rt-debug-devel-3.10.0-693.5.2.rt56.592.el6rt.x86_64.rpm
kernel-rt-debuginfo-3.10.0-693.5.2.rt56.592.el6rt.x86_64.rpm
kernel-rt-debuginfo-common-x86_64-3.10.0-693.5.2.rt56.592.el6rt.x86_64.rpm
kernel-rt-devel-3.10.0-693.5.2.rt56.592.el6rt.x86_64.rpm
kernel-rt-trace-3.10.0-693.5.2.rt56.592.el6rt.x86_64.rpm
kernel-rt-trace-debuginfo-3.10.0-693.5.2.rt56.592.el6rt.x86_64.rpm
kernel-rt-trace-devel-3.10.0-693.5.2.rt56.592.el6rt.x86_64.rpm
kernel-rt-vanilla-3.10.0-693.5.2.rt56.592.el6rt.x86_64.rpm
kernel-rt-vanilla-debuginfo-3.10.0-693.5.2.rt56.592.el6rt.x86_64.rpm
kernel-rt-vanilla-devel-3.10.0-693.5.2.rt56.592.el6rt.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-2017-1000111
https://access.redhat.com/security/cve/CVE-2017-1000112
https://access.redhat.com/security/cve/CVE-2017-11176
https://access.redhat.com/security/cve/CVE-2017-14106
https://access.redhat.com/security/cve/CVE-2017-14340
https://access.redhat.com/security/cve/CVE-2017-7184
https://access.redhat.com/security/cve/CVE-2017-7541
https://access.redhat.com/security/cve/CVE-2017-7542
https://access.redhat.com/security/cve/CVE-2017-7558
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

iD8DBQFZ6KeeXlSAg2UNWIIRAs+6AJ4vp6yS5vYmoNllGXBwplHVtfcgpwCgxLPY
BX0TvrYMD0+7rGO20PButvc=
=gOju
- -----END PGP SIGNATURE-----

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

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

Synopsis:          Important: kernel-rt security and bug fix update
Advisory ID:       RHSA-2017:2931-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2017:2931
Issue date:        2017-10-19
CVE Names:         CVE-2016-8399 CVE-2017-1000111 CVE-2017-1000112 
                   CVE-2017-11176 CVE-2017-14106 CVE-2017-7184 
                   CVE-2017-7541 CVE-2017-7542 CVE-2017-7558 
=====================================================================

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):

* Out-of-bounds kernel heap access vulnerability was found in xfrm,
kernel's IP framework for transforming packets. An error dealing with
netlink messages from an unprivileged user leads to arbitrary read/write
and privilege escalation. (CVE-2017-7184, Important)

* A race condition issue leading to a use-after-free flaw was found in the
way the raw packet sockets are implemented in the Linux kernel networking
subsystem handling synchronization. A local user able to open a raw packet
socket (requires the CAP_NET_RAW capability) could use this flaw to elevate
their privileges on the system. (CVE-2017-1000111, Important)

* An exploitable memory corruption flaw was found in the Linux kernel. The
append path can be erroneously switched from UFO to non-UFO in
ip_ufo_append_data() when building an UFO packet with MSG_MORE option. If
unprivileged user namespaces are available, this flaw can be exploited to
gain root privileges. (CVE-2017-1000112, Important)

* A flaw was found in the Linux networking subsystem where a local attacker
with CAP_NET_ADMIN capabilities could cause an out-of-bounds memory access
by creating a smaller-than-expected ICMP header and sending to its
destination via sendto(). (CVE-2016-8399, Moderate)

* Kernel memory corruption due to a buffer overflow was found in
brcmf_cfg80211_mgmt_tx() function in Linux kernels from v3.9-rc1 to
v4.13-rc1. The vulnerability can be triggered by sending a crafted
NL80211_CMD_FRAME packet via netlink. This flaw is unlikely to be triggered
remotely as certain userspace code is needed for this. An unprivileged
local user could use this flaw to induce kernel memory corruption on the
system, leading to a crash. Due to the nature of the flaw, privilege
escalation cannot be fully ruled out, although it is unlikely.
(CVE-2017-7541, Moderate)

* An integer overflow vulnerability in ip6_find_1stfragopt() function was
found. A local attacker that has privileges (of CAP_NET_RAW) to open raw
socket can cause an infinite loop inside the ip6_find_1stfragopt()
function. (CVE-2017-7542, Moderate)

* A kernel data leak due to an out-of-bound read was found in the Linux
kernel in inet_diag_msg_sctp{,l}addr_fill() and sctp_get_sctp_info()
functions present since version 4.7-rc1 through version 4.13. A data leak
happens when these functions fill in sockaddr data structures used to
export socket's diagnostic information. As a result, up to 100 bytes of the
slab data could be leaked to a userspace. (CVE-2017-7558, Moderate)

* The mq_notify function in the Linux kernel through 4.11.9 does not set
the sock pointer to NULL upon entry into the retry logic. During a
user-space close of a Netlink socket, it allows attackers to possibly cause
a situation where a value may be used after being freed (use-after-free)
which may lead to memory corruption or other unspecified other impact.
(CVE-2017-11176, Moderate)

* A divide-by-zero vulnerability was found in the __tcp_select_window
function in the Linux kernel. This can result in a kernel panic causing a
local denial of service. (CVE-2017-14106, Moderate)

Red Hat would like to thank Chaitin Security Research Lab for reporting
CVE-2017-7184; Willem de Bruijn for reporting CVE-2017-1000111; and Andrey
Konovalov for reporting CVE-2017-1000112. The CVE-2017-7558 issue was
discovered by Stefano Brivio (Red Hat).

Bug Fix(es):

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

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/):

1403833 - CVE-2016-8399 kernel: net: Out of bounds stack read in memcpy_fromiovec
1435153 - CVE-2017-7184 kernel: Out-of-bounds heap access in xfrm
1470659 - CVE-2017-11176 kernel: Use-after-free in sys_mq_notify()
1473198 - CVE-2017-7541 kernel: Possible heap buffer overflow in brcmf_cfg80211_mgmt_tx()
1473649 - CVE-2017-7542 kernel: Integer overflow in ip6_find_1stfragopt() causes infinite loop
1479304 - CVE-2017-1000111 kernel: Heap out-of-bounds in AF_PACKET sockets
1479307 - CVE-2017-1000112 kernel: Exploitable memory corruption due to UFO to non-UFO path switch
1480266 - CVE-2017-7558 kernel: Out of bounds read in inet_diag_msg_sctp{,l}addr_fill() and sctp_get_sctp_info() in SCTP stack
1487295 - CVE-2017-14106 kernel: Divide-by-zero in __tcp_select_window
1489084 - kernel-rt: update to the RHEL7.4.z batch#2 source tree

6. Package List:

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

Source:
kernel-rt-3.10.0-693.5.2.rt56.626.el7.src.rpm

noarch:
kernel-rt-doc-3.10.0-693.5.2.rt56.626.el7.noarch.rpm

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

Red Hat Enterprise Linux Realtime (v. 7):

Source:
kernel-rt-3.10.0-693.5.2.rt56.626.el7.src.rpm

noarch:
kernel-rt-doc-3.10.0-693.5.2.rt56.626.el7.noarch.rpm

x86_64:
kernel-rt-3.10.0-693.5.2.rt56.626.el7.x86_64.rpm
kernel-rt-debug-3.10.0-693.5.2.rt56.626.el7.x86_64.rpm
kernel-rt-debug-debuginfo-3.10.0-693.5.2.rt56.626.el7.x86_64.rpm
kernel-rt-debug-devel-3.10.0-693.5.2.rt56.626.el7.x86_64.rpm
kernel-rt-debuginfo-3.10.0-693.5.2.rt56.626.el7.x86_64.rpm
kernel-rt-debuginfo-common-x86_64-3.10.0-693.5.2.rt56.626.el7.x86_64.rpm
kernel-rt-devel-3.10.0-693.5.2.rt56.626.el7.x86_64.rpm
kernel-rt-trace-3.10.0-693.5.2.rt56.626.el7.x86_64.rpm
kernel-rt-trace-debuginfo-3.10.0-693.5.2.rt56.626.el7.x86_64.rpm
kernel-rt-trace-devel-3.10.0-693.5.2.rt56.626.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-8399
https://access.redhat.com/security/cve/CVE-2017-1000111
https://access.redhat.com/security/cve/CVE-2017-1000112
https://access.redhat.com/security/cve/CVE-2017-11176
https://access.redhat.com/security/cve/CVE-2017-14106
https://access.redhat.com/security/cve/CVE-2017-7184
https://access.redhat.com/security/cve/CVE-2017-7541
https://access.redhat.com/security/cve/CVE-2017-7542
https://access.redhat.com/security/cve/CVE-2017-7558
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

iD8DBQFZ6L/9XlSAg2UNWIIRAkMlAJwKCGh37T3E8biZFMe5xxDXVXqkgACgh4Mc
TxXOJntWTY3pMvA6xt2B7OA=
=i7WA
- -----END PGP SIGNATURE-----

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

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

Synopsis:          Important: kernel security and bug fix update
Advisory ID:       RHSA-2017:2930-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2017:2930
Issue date:        2017-10-19
CVE Names:         CVE-2016-8399 CVE-2017-1000111 CVE-2017-1000112 
                   CVE-2017-11176 CVE-2017-14106 CVE-2017-7184 
                   CVE-2017-7541 CVE-2017-7542 CVE-2017-7558 
=====================================================================

1. Summary:

An update for kernel 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 Client (v. 7) - noarch, x86_64
Red Hat Enterprise Linux Client Optional (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode (v. 7) - noarch, x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - noarch, ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - ppc64, ppc64le, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - noarch, x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64

3. Description:

The kernel packages contain the Linux kernel, the core of any Linux
operating system.

Security Fix(es):

* Out-of-bounds kernel heap access vulnerability was found in xfrm,
kernel's IP framework for transforming packets. An error dealing with
netlink messages from an unprivileged user leads to arbitrary read/write
and privilege escalation. (CVE-2017-7184, Important)

* A race condition issue leading to a use-after-free flaw was found in the
way the raw packet sockets are implemented in the Linux kernel networking
subsystem handling synchronization. A local user able to open a raw packet
socket (requires the CAP_NET_RAW capability) could use this flaw to elevate
their privileges on the system. (CVE-2017-1000111, Important)

* An exploitable memory corruption flaw was found in the Linux kernel. The
append path can be erroneously switched from UFO to non-UFO in
ip_ufo_append_data() when building an UFO packet with MSG_MORE option. If
unprivileged user namespaces are available, this flaw can be exploited to
gain root privileges. (CVE-2017-1000112, Important)

* A flaw was found in the Linux networking subsystem where a local attacker
with CAP_NET_ADMIN capabilities could cause an out-of-bounds memory access
by creating a smaller-than-expected ICMP header and sending to its
destination via sendto(). (CVE-2016-8399, Moderate)

* Kernel memory corruption due to a buffer overflow was found in
brcmf_cfg80211_mgmt_tx() function in Linux kernels from v3.9-rc1 to
v4.13-rc1. The vulnerability can be triggered by sending a crafted
NL80211_CMD_FRAME packet via netlink. This flaw is unlikely to be triggered
remotely as certain userspace code is needed for this. An unprivileged
local user could use this flaw to induce kernel memory corruption on the
system, leading to a crash. Due to the nature of the flaw, privilege
escalation cannot be fully ruled out, although it is unlikely.
(CVE-2017-7541, Moderate)

* An integer overflow vulnerability in ip6_find_1stfragopt() function was
found. A local attacker that has privileges (of CAP_NET_RAW) to open raw
socket can cause an infinite loop inside the ip6_find_1stfragopt()
function. (CVE-2017-7542, Moderate)

* A kernel data leak due to an out-of-bound read was found in the Linux
kernel in inet_diag_msg_sctp{,l}addr_fill() and sctp_get_sctp_info()
functions present since version 4.7-rc1 through version 4.13. A data leak
happens when these functions fill in sockaddr data structures used to
export socket's diagnostic information. As a result, up to 100 bytes of the
slab data could be leaked to a userspace. (CVE-2017-7558, Moderate)

* The mq_notify function in the Linux kernel through 4.11.9 does not set
the sock pointer to NULL upon entry into the retry logic. During a
user-space close of a Netlink socket, it allows attackers to possibly cause
a situation where a value may be used after being freed (use-after-free)
which may lead to memory corruption or other unspecified other impact.
(CVE-2017-11176, Moderate)

* A divide-by-zero vulnerability was found in the __tcp_select_window
function in the Linux kernel. This can result in a kernel panic causing a
local denial of service. (CVE-2017-14106, Moderate)

Red Hat would like to thank Chaitin Security Research Lab for reporting
CVE-2017-7184; Willem de Bruijn for reporting CVE-2017-1000111; and Andrey
Konovalov for reporting CVE-2017-1000112. The CVE-2017-7558 issue was
discovered by Stefano Brivio (Red Hat).

Space precludes documenting all of the bug fixes and enhancements included
in this advisory. To see the complete list of bug fixes and enhancements,
refer to the following KnowledgeBase article:
https://access.redhat.com/node/3212921.

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/):

1403833 - CVE-2016-8399 kernel: net: Out of bounds stack read in memcpy_fromiovec
1435153 - CVE-2017-7184 kernel: Out-of-bounds heap access in xfrm
1470659 - CVE-2017-11176 kernel: Use-after-free in sys_mq_notify()
1473198 - CVE-2017-7541 kernel: Possible heap buffer overflow in brcmf_cfg80211_mgmt_tx()
1473649 - CVE-2017-7542 kernel: Integer overflow in ip6_find_1stfragopt() causes infinite loop
1479304 - CVE-2017-1000111 kernel: Heap out-of-bounds in AF_PACKET sockets
1479307 - CVE-2017-1000112 kernel: Exploitable memory corruption due to UFO to non-UFO path switch
1480266 - CVE-2017-7558 kernel: Out of bounds read in inet_diag_msg_sctp{,l}addr_fill() and sctp_get_sctp_info() in SCTP stack
1487295 - CVE-2017-14106 kernel: Divide-by-zero in __tcp_select_window

6. Package List:

Red Hat Enterprise Linux Client (v. 7):

Source:
kernel-3.10.0-693.5.2.el7.src.rpm

noarch:
kernel-abi-whitelists-3.10.0-693.5.2.el7.noarch.rpm
kernel-doc-3.10.0-693.5.2.el7.noarch.rpm

x86_64:
kernel-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debug-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debug-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debug-devel-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-common-x86_64-3.10.0-693.5.2.el7.x86_64.rpm
kernel-devel-3.10.0-693.5.2.el7.x86_64.rpm
kernel-headers-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-libs-3.10.0-693.5.2.el7.x86_64.rpm
perf-3.10.0-693.5.2.el7.x86_64.rpm
perf-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
python-perf-3.10.0-693.5.2.el7.x86_64.rpm
python-perf-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm

Red Hat Enterprise Linux Client Optional (v. 7):

x86_64:
kernel-debug-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-common-x86_64-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-libs-devel-3.10.0-693.5.2.el7.x86_64.rpm
perf-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
python-perf-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm

Red Hat Enterprise Linux ComputeNode (v. 7):

Source:
kernel-3.10.0-693.5.2.el7.src.rpm

noarch:
kernel-abi-whitelists-3.10.0-693.5.2.el7.noarch.rpm
kernel-doc-3.10.0-693.5.2.el7.noarch.rpm

x86_64:
kernel-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debug-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debug-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debug-devel-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-common-x86_64-3.10.0-693.5.2.el7.x86_64.rpm
kernel-devel-3.10.0-693.5.2.el7.x86_64.rpm
kernel-headers-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-libs-3.10.0-693.5.2.el7.x86_64.rpm
perf-3.10.0-693.5.2.el7.x86_64.rpm
perf-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
python-perf-3.10.0-693.5.2.el7.x86_64.rpm
python-perf-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm

Red Hat Enterprise Linux ComputeNode Optional (v. 7):

x86_64:
kernel-debug-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-common-x86_64-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-libs-devel-3.10.0-693.5.2.el7.x86_64.rpm
perf-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
python-perf-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
kernel-3.10.0-693.5.2.el7.src.rpm

noarch:
kernel-abi-whitelists-3.10.0-693.5.2.el7.noarch.rpm
kernel-doc-3.10.0-693.5.2.el7.noarch.rpm

ppc64:
kernel-3.10.0-693.5.2.el7.ppc64.rpm
kernel-bootwrapper-3.10.0-693.5.2.el7.ppc64.rpm
kernel-debug-3.10.0-693.5.2.el7.ppc64.rpm
kernel-debug-debuginfo-3.10.0-693.5.2.el7.ppc64.rpm
kernel-debug-devel-3.10.0-693.5.2.el7.ppc64.rpm
kernel-debuginfo-3.10.0-693.5.2.el7.ppc64.rpm
kernel-debuginfo-common-ppc64-3.10.0-693.5.2.el7.ppc64.rpm
kernel-devel-3.10.0-693.5.2.el7.ppc64.rpm
kernel-headers-3.10.0-693.5.2.el7.ppc64.rpm
kernel-tools-3.10.0-693.5.2.el7.ppc64.rpm
kernel-tools-debuginfo-3.10.0-693.5.2.el7.ppc64.rpm
kernel-tools-libs-3.10.0-693.5.2.el7.ppc64.rpm
perf-3.10.0-693.5.2.el7.ppc64.rpm
perf-debuginfo-3.10.0-693.5.2.el7.ppc64.rpm
python-perf-3.10.0-693.5.2.el7.ppc64.rpm
python-perf-debuginfo-3.10.0-693.5.2.el7.ppc64.rpm

ppc64le:
kernel-3.10.0-693.5.2.el7.ppc64le.rpm
kernel-bootwrapper-3.10.0-693.5.2.el7.ppc64le.rpm
kernel-debug-3.10.0-693.5.2.el7.ppc64le.rpm
kernel-debug-debuginfo-3.10.0-693.5.2.el7.ppc64le.rpm
kernel-debuginfo-3.10.0-693.5.2.el7.ppc64le.rpm
kernel-debuginfo-common-ppc64le-3.10.0-693.5.2.el7.ppc64le.rpm
kernel-devel-3.10.0-693.5.2.el7.ppc64le.rpm
kernel-headers-3.10.0-693.5.2.el7.ppc64le.rpm
kernel-tools-3.10.0-693.5.2.el7.ppc64le.rpm
kernel-tools-debuginfo-3.10.0-693.5.2.el7.ppc64le.rpm
kernel-tools-libs-3.10.0-693.5.2.el7.ppc64le.rpm
perf-3.10.0-693.5.2.el7.ppc64le.rpm
perf-debuginfo-3.10.0-693.5.2.el7.ppc64le.rpm
python-perf-3.10.0-693.5.2.el7.ppc64le.rpm
python-perf-debuginfo-3.10.0-693.5.2.el7.ppc64le.rpm

s390x:
kernel-3.10.0-693.5.2.el7.s390x.rpm
kernel-debug-3.10.0-693.5.2.el7.s390x.rpm
kernel-debug-debuginfo-3.10.0-693.5.2.el7.s390x.rpm
kernel-debug-devel-3.10.0-693.5.2.el7.s390x.rpm
kernel-debuginfo-3.10.0-693.5.2.el7.s390x.rpm
kernel-debuginfo-common-s390x-3.10.0-693.5.2.el7.s390x.rpm
kernel-devel-3.10.0-693.5.2.el7.s390x.rpm
kernel-headers-3.10.0-693.5.2.el7.s390x.rpm
kernel-kdump-3.10.0-693.5.2.el7.s390x.rpm
kernel-kdump-debuginfo-3.10.0-693.5.2.el7.s390x.rpm
kernel-kdump-devel-3.10.0-693.5.2.el7.s390x.rpm
perf-3.10.0-693.5.2.el7.s390x.rpm
perf-debuginfo-3.10.0-693.5.2.el7.s390x.rpm
python-perf-3.10.0-693.5.2.el7.s390x.rpm
python-perf-debuginfo-3.10.0-693.5.2.el7.s390x.rpm

x86_64:
kernel-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debug-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debug-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debug-devel-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-common-x86_64-3.10.0-693.5.2.el7.x86_64.rpm
kernel-devel-3.10.0-693.5.2.el7.x86_64.rpm
kernel-headers-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-libs-3.10.0-693.5.2.el7.x86_64.rpm
perf-3.10.0-693.5.2.el7.x86_64.rpm
perf-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
python-perf-3.10.0-693.5.2.el7.x86_64.rpm
python-perf-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 7):

ppc64:
kernel-debug-debuginfo-3.10.0-693.5.2.el7.ppc64.rpm
kernel-debuginfo-3.10.0-693.5.2.el7.ppc64.rpm
kernel-debuginfo-common-ppc64-3.10.0-693.5.2.el7.ppc64.rpm
kernel-tools-debuginfo-3.10.0-693.5.2.el7.ppc64.rpm
kernel-tools-libs-devel-3.10.0-693.5.2.el7.ppc64.rpm
perf-debuginfo-3.10.0-693.5.2.el7.ppc64.rpm
python-perf-debuginfo-3.10.0-693.5.2.el7.ppc64.rpm

ppc64le:
kernel-debug-debuginfo-3.10.0-693.5.2.el7.ppc64le.rpm
kernel-debug-devel-3.10.0-693.5.2.el7.ppc64le.rpm
kernel-debuginfo-3.10.0-693.5.2.el7.ppc64le.rpm
kernel-debuginfo-common-ppc64le-3.10.0-693.5.2.el7.ppc64le.rpm
kernel-tools-debuginfo-3.10.0-693.5.2.el7.ppc64le.rpm
kernel-tools-libs-devel-3.10.0-693.5.2.el7.ppc64le.rpm
perf-debuginfo-3.10.0-693.5.2.el7.ppc64le.rpm
python-perf-debuginfo-3.10.0-693.5.2.el7.ppc64le.rpm

x86_64:
kernel-debug-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-common-x86_64-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-libs-devel-3.10.0-693.5.2.el7.x86_64.rpm
perf-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
python-perf-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
kernel-3.10.0-693.5.2.el7.src.rpm

noarch:
kernel-abi-whitelists-3.10.0-693.5.2.el7.noarch.rpm
kernel-doc-3.10.0-693.5.2.el7.noarch.rpm

x86_64:
kernel-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debug-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debug-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debug-devel-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-common-x86_64-3.10.0-693.5.2.el7.x86_64.rpm
kernel-devel-3.10.0-693.5.2.el7.x86_64.rpm
kernel-headers-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-libs-3.10.0-693.5.2.el7.x86_64.rpm
perf-3.10.0-693.5.2.el7.x86_64.rpm
perf-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
python-perf-3.10.0-693.5.2.el7.x86_64.rpm
python-perf-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 7):

x86_64:
kernel-debug-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-debuginfo-common-x86_64-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
kernel-tools-libs-devel-3.10.0-693.5.2.el7.x86_64.rpm
perf-debuginfo-3.10.0-693.5.2.el7.x86_64.rpm
python-perf-debuginfo-3.10.0-693.5.2.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-8399
https://access.redhat.com/security/cve/CVE-2017-1000111
https://access.redhat.com/security/cve/CVE-2017-1000112
https://access.redhat.com/security/cve/CVE-2017-11176
https://access.redhat.com/security/cve/CVE-2017-14106
https://access.redhat.com/security/cve/CVE-2017-7184
https://access.redhat.com/security/cve/CVE-2017-7541
https://access.redhat.com/security/cve/CVE-2017-7542
https://access.redhat.com/security/cve/CVE-2017-7558
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

iD8DBQFZ6L5dXlSAg2UNWIIRAsSNAJ94paBRLhEte84D5OI+/hlSJHJtRACfQUZd
BA09zIO97YYU8m4pBCfk7eY=
=Z45j
- -----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:

        https://www.auscert.org.au/bulletins/

===========================================================================
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

iQIVAwUBWelESox+lLeg9Ub1AQiaSg//TpF3zuh+4KmurcWkX6lQpgq69Z5co8Xc
R+bomosA5quB7D1ezmLmnogUUaAEOaDuybTrE7Vi/sz4+wosc3bH1ECAQoHQcIsr
Cmc63ARcaMuvLao6PUQX0dklMa8t6ZwMzNokjBGYK0zR6SuHzZkDIeTmFIi5ts59
RQ0lhzaSykgnZVV2WI7aGd13UyYxkyaSRQDCeQDJvZVU6TlURRzAU9Ar2eNWAXnI
1FFonTLDLNkeBeT+fLTdCDJC8EiX4SSHFKmiTPxnm8c4MMf47i/4xsEpoByOfpre
XFiBb5xXAtyn7coxbi7Epcgo1VIZRzxXjE55PQEO32000bLfITUPbFEGnpeY/qXS
7LQfcxcW/KE51RkIusCNAMP+D+d2mgXBD2Npacc7PyOcu6CejQLnHz8M0khyeZWC
qAdpqjYa6Q+Bdu1hsrAGtbOboF1L4fRMK78HPsZJJ5vobbGt3p217yGwrER4IPHz
qQbdv+0PHzYkydY60IW0fXlaUUHgH3zv0P9A9YLoYKEhjD5yE3hkhQURON+9lXts
XtZq61oStH55UaEakj04LMWfr4Vj7Na9xQrlWXhYrUbNm1uT3VlEssXY2Af/wPXg
FGjv23d2db681SAnqx/7woU9XctPIXScxO1n+fhgk9vE2dxJNjcLOnJuq9J55tPa
c2cEPb6ZzkE=
=q3wd
-----END PGP SIGNATURE-----

« Back to bulletins