Divide By Zero Affecting perf package, versions <0:2.6.32-71.18.1.el6


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.04% (1st 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-CENTOS6-PERF-2042982
  • published26 Jul 2021
  • disclosed10 Nov 2010

Introduced: 10 Nov 2010

CVE-2010-4165  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade Centos:6 perf to version 0:2.6.32-71.18.1.el6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perf package and not the perf package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

The do_tcp_setsockopt function in net/ipv4/tcp.c in the Linux kernel before 2.6.37-rc2 does not properly restrict TCP_MAXSEG (aka MSS) values, which allows local users to cause a denial of service (OOPS) via a setsockopt call that specifies a small value, leading to a divide-by-zero error or incorrect use of a signed integer.

References

CVSS Scores

version 3.1