Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   OS (Linux)  >   Linux Kernel Vendors:
Linux Kernel 'sctp_diag.c' Function Flaws Let Local Users Obtain Potentially Sensitive Information from System Memory
SecurityTracker Alert ID:  1039221
SecurityTracker URL:
CVE Reference:   CVE-2017-7558   (Links to External Site)
Date:  Aug 24 2017
Impact:   Disclosure of system information

Description:   A vulnerability was reported in the Linux kernel. A local user can obtain potentially sensitive information.

A local user can exploit a flaw in the inet_diag_msg_sctpaddrs_fill(), inet_diag_msg_sctpladdrs_fill(), and sctp_get_sctp_info() functions in 'net/sctp/sctp_diag.c' to obtain potentially sensitive information in portions of slab memory on the target system.

Stefano Brivio of Red Hat reported this vulnerability.

Impact:   A local user can obtain potentially sensitive information on the target system.
Solution:   A proposed source code patch is available at:

Vendor URL: (Links to External Site)
Cause:   Access control error

Message History:   None.

 Source Message Contents

Subject:  [oss-security] CVE-2017-7558: Linux kernel: sctp: out-of-bounds read in inet_diag_msg_sctp{,l}addr_fill() and sctp_get_sctp_info()


A kernel data leak due to an out-of-bound read was found in Linux kernel in
inet_diag_msg_sctp{,l}addr_fill() and sctp_get_sctp_info() functions present
since v4.7-rc1 upto v4.13-rc6 including. 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.

Details: it is leaking exactly 100 bytes of a kernel slab whenever we answer to
a netlink request of type INET_DIAG_LOCALS or INET_DIAG_PEERS for a SCTP socket
(e.g. sent by the 'ss' tool included in the 'iproute2' package with 'ss -Si' or
'ss -Sm').

A researcher of this flaw and a patch author is Stefano Brivio of the Red Hat.


Suggested patch:

Best regards,
Vladis Dronov | Red Hat, Inc. | Product Security Engineer

Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2022, LLC