Loop with Unreachable Exit Condition ('Infinite Loop') Affecting perf package, versions <0:3.10.0-957.el7


Severity

Recommended
high

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.04% (12th 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 ID SNYK-CENTOS7-PERF-2109357
  • published 26 Jul 2021
  • disclosed 30 Nov 2017

How to fix?

Upgrade Centos:7 perf to version 0:3.10.0-957.el7 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:7 relevant fixed versions and status.

The madvise_willneed function in mm/madvise.c in the Linux kernel before 4.14.4 allows local users to cause a denial of service (infinite loop) by triggering use of MADVISE_WILLNEED for a DAX mapping.