7.8high

CVE-2016-97931 exploit

The sock_setsockopt function in net/core/sock.c in the Linux kernel before 4.8.14 mishandles negative values of sk_sndbuf and sk_rcvbuf, wh…

Published 9 y ago · modified 4 mo ago · JSON

CVSS
7.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
1.6%
percentile 75%
Public exploits
1
Exploit-DB

Summary

The sock_setsockopt function in net/core/sock.c in the Linux kernel before 4.8.14 mishandles negative values of sk_sndbuf and sk_rcvbuf, which allows local users to cause a denial of service (memory corruption and system crash) or possibly have unspecified other impact by leveraging the CAP_NET_ADMIN capability for a crafted setsockopt system call with the (1) SO_SNDBUFFORCE or (2) SO_RCVBUFFORCE option.

Exploit prediction (EPSS)

1.57% probability of exploitation in the next 30 days, higher than 75% of all scored CVEs.

Exploits and detections

  • EDB-41995 Linux Kernel 3.11 < 4.8 0 - 'SO_SNDBUFFORCE' / 'SO_RCVBUFFORCE' Local Privilege Escalation · local · 2017-03-22

CVSS scores

Assigned byVersionScoreVector
NVD3.17.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD2.07.2AV:L/AC:L/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Technology feeds
Linux kernel (RSS, critical only)

References

  • github.com /torvalds/linux/commit/b98b0bc8c431e3ceb4b26b0dfc8db509518fb290 · x_refsource_CONFIRM, x_transferred
  • securitytracker.com /id/1037968 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • git.kernel.org /cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b98b0bc8c431e3ceb4b26b0dfc8db509518fb · x_refsource_CONFIRM, x_transferred
  • access.redhat.com /errata/RHSA-2017:0932 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • github.com /xairy/kernel-exploits/tree/master/CVE-2016-9793 · x_refsource_MISC, x_transferred
  • securityfocus.com /bid/94655 · vdb-entry, x_refsource_BID, x_transferred
  • openwall.com /lists/oss-security/2016/12/03/1 · mailing-list, x_refsource_MLIST, x_transferred
  • kernel.org /pub/linux/kernel/v4.x/ChangeLog-4.8.14 · x_refsource_CONFIRM, x_transferred
  • access.redhat.com /errata/RHSA-2017:0933 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • access.redhat.com /errata/RHSA-2017:0931 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • source.android.com /security/bulletin/2017-03-01.html · x_refsource_CONFIRM, x_transferred
  • bugzilla.redhat.com /show_bug.cgi?id=1402013 · x_refsource_CONFIRM, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.