A flaw was found in the Linux kernels 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. This situation affects SO_SNDBUFF and SO_RCVBUFF similarly as shown in CVE-2012-6704. Upstream patch: https://github.com/torvalds/linux/commit/b98b0bc8c431e3ceb4b26b0dfc8db509518fb290 CVE assignment: http://seclists.org/oss-sec/2016/q4/574
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 1402014]
Statement: This issue does not affect the kernels as shipping with Red Hat Enterprise Linux 5 and 6. This issue does affect kernels 7, MRG-2 and realtime kernels and plans to be fixed in a future update.
This issue has been addressed in the following products: Red Hat Enterprise MRG 2 Via RHSA-2017:0932 https://access.redhat.com/errata/RHSA-2017:0932
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2017:0931 https://access.redhat.com/errata/RHSA-2017:0931
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2017:0933 https://access.redhat.com/errata/RHSA-2017:0933