Improper Input Validation Affecting kernel-devel package, versions <0:2.6.32-754.29.1.el6


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.06% (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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS6-KERNELDEVEL-2162864
  • published26 Jul 2021
  • disclosed19 Jun 2017

Introduced: 19 Jun 2017

CVE-2017-1000371  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Centos:6 kernel-devel to version 0:2.6.32-754.29.1.el6 or higher.

NVD Description

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

The offset2lib patch as used by the Linux Kernel contains a vulnerability, if RLIMIT_STACK is set to RLIM_INFINITY and 1 Gigabyte of memory is allocated (the maximum under the 1/4 restriction) then the stack will be grown down to 0x80000000, and as the PIE binary is mapped above 0x80000000 the minimum distance between the end of the PIE binary's read-write segment and the start of the stack becomes small enough that the stack guard page can be jumped over by an attacker. This affects Linux Kernel version 4.11.5. This is a different issue than CVE-2017-1000370 and CVE-2017-1000365. This issue appears to be limited to i386 based systems.

CVSS Scores

version 3.1