Bug 1480266 - (CVE-2017-7558) CVE-2017-7558 kernel: Out of bounds read in inet_diag_msg_sctp{,l}addr_fill() and sctp_get_sctp_info() in SCTP stack
CVE-2017-7558 kernel: Out of bounds read in inet_diag_msg_sctp{,l}addr_fill()...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20170823,repor...
: Security
Depends On: 1484357 1484351 1484354 1484355 1484356 1484358 1484810
Blocks: 1480268
  Show dependency treegraph
 
Reported: 2017-08-10 10:32 EDT by Pedro Sampaio
Modified: 2018-07-19 02:33 EDT (History)
50 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:3163 normal SHIPPED_LIVE new packages: kernel-alt 2017-11-09 09:59:25 EST
Red Hat Product Errata RHSA-2017:2918 normal SHIPPED_LIVE Important: kernel-rt security and bug fix update 2017-10-19 13:24:24 EDT
Red Hat Product Errata RHSA-2017:2930 normal SHIPPED_LIVE Important: kernel security and bug fix update 2017-10-19 14:47:35 EDT
Red Hat Product Errata RHSA-2017:2931 normal SHIPPED_LIVE Important: kernel-rt security and bug fix update 2017-10-19 14:48:35 EDT

  None (edit)
Description Pedro Sampaio 2017-08-10 10:32:43 EDT
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 including. A data leak happens when these functions fill in sockaddr data structures used to export socket's diagnostic information. As a result upto 100 bytes of the slab data could be leaked to a userspace.

References:

http://seclists.org/oss-sec/2017/q3/338

https://marc.info/?t=150348787500002&r=1&w=2

Proposed upstream patch:

https://marc.info/?l=linux-netdev&m=150348777122761&w=2
Comment 1 Pedro Sampaio 2017-08-10 10:32:55 EDT
Acknowledgments:

Name: Stefano Brivio (Red Hat)
Comment 6 Vladis Dronov 2017-08-23 08:54:40 EDT
Statement:

This issue does not affect Red Hat Enterprise Linux 5 and 6 as the code with the flaw is not present in the products listed.

This issue affects Red Hat Enterprise Linux 7 and Red Hat Enterprise MRG 2. Future updates for the respective releases may address this issue.
Comment 7 Vladis Dronov 2017-08-24 06:46:46 EDT
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1484810]
Comment 10 errata-xmlrpc 2017-10-19 09:27:33 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise MRG 2

Via RHSA-2017:2918 https://access.redhat.com/errata/RHSA-2017:2918
Comment 11 errata-xmlrpc 2017-10-19 11:07:13 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:2930 https://access.redhat.com/errata/RHSA-2017:2930
Comment 12 errata-xmlrpc 2017-10-19 11:10:53 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:2931 https://access.redhat.com/errata/RHSA-2017:2931

Note You need to log in before you can comment on or make changes to this bug.