Bug 1420276 - (CVE-2017-5986) CVE-2017-5986 kernel: Reachable BUG_ON from userspace in sctp_wait_for_sndbuf
CVE-2017-5986 kernel: Reachable BUG_ON from userspace in sctp_wait_for_sndbuf
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=20170206,repor...
: Reopened, Security
Depends On: 1421740 1421741 1429493 1429494 1429496 1429497 1459305
Blocks: 1420295
  Show dependency treegraph
 
Reported: 2017-02-08 05:38 EST by Adam Mariš
Modified: 2018-02-14 18:15 EST (History)
37 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
It was reported that with Linux kernel, earlier than version v4.10-rc8, an application may trigger a BUG_ON in sctp_wait_for_sndbuf if the socket tx buffer is full, a thread is waiting on it to queue more data, and meanwhile another thread peels off the association being used by the first thread.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-02-14 06:55:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2017-02-08 05:38:40 EST
It was reported that with Linux kernel, earlier than version v4.10-rc8, an application may trigger a BUG_ON in sctp_wait_for_sndbuf if the socket tx buffer is full, a thread is waiting on it to queue more data, and meanwhile another thread peels off the association being used by the first thread.

References:

https://lkml.org/lkml/2017/1/30/238

http://seclists.org/oss-sec/2017/q1/432

Upstream patch:

https://github.com/torvalds/linux/commit/2dcab598484185dea7ec22219c76dcdd59e3cb90
Comment 6 Vladis Dronov 2017-02-13 10:02:00 EST
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1421741]
Comment 7 Fedora Update System 2017-02-13 17:48:29 EST
kernel-4.9.9-100.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
Comment 8 Vladis Dronov 2017-02-14 06:48:23 EST
Statement:

This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, 6 and MRG-2. This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 7. This flaw may affect multiple containers running on this system. Future Linux kernel updates for the respective releases might address this issue.
Comment 9 Marcelo Ricardo Leitner 2017-02-20 14:27:11 EST
Please reconsider this at least for RHEL7. With containers, this can be pretty serious. One malicious container may bring thousands others down. Thanks
Comment 10 Marcelo Ricardo Leitner 2017-02-23 16:25:53 EST
Btw the fix needs a follow-up
http://patchwork.ozlabs.org/patch/731526/
Comment 16 errata-xmlrpc 2017-05-25 11:39:52 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

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

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