Out-of-Bounds Affecting torvalds/linux package, versions [,3.4.100)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-3006243
  • published26 Jan 2022
  • disclosed28 Dec 2016
  • creditUnknown

Introduced: 28 Dec 2016

CVE-2012-6704  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 3.4.100 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The sock_setsockopt function in net/core/sock.c in the Linux kernel before 3.5 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_SNDBUF or (2) SO_RCVBUF option.

CVSS Base Scores

version 3.1