Out-of-bounds Write Affecting torvalds/linux package, versions [,4.12.4)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.1% (29th 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-3005124
  • published26 Jan 2022
  • disclosed5 Oct 2017
  • creditUnknown

Introduced: 5 Oct 2017

CVE-2017-1000111  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 4.12.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. Linux kernel: heap out-of-bounds in AF_PACKET sockets. This new issue is analogous to previously disclosed CVE-2016-8655. In both cases, a socket option that changes socket state may race with safety checks in packet_set_ring. Previously with PACKET_VERSION. This time with PACKET_RESERVE. The solution is similar: lock the socket for the update. This issue may be exploitable, we did not investigate further. As this issue affects PF_PACKET sockets, it requires CAP_NET_RAW in the process namespace. But note that with user namespaces enabled, any process can create a namespace in which it has CAP_NET_RAW.

CVSS Base Scores

version 3.1