NULL Pointer Dereference Affecting perf package, versions <0:3.10.0-1062.el7


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
0.19% (58th 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 NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-PERF-2138545
  • published26 Jul 2021
  • disclosed12 Apr 2018

Introduced: 12 Apr 2018

CVE-2018-13093  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Centos:7 perf to version 0:3.10.0-1062.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.

An issue was discovered in fs/xfs/xfs_icache.c in the Linux kernel through 4.17.3. There is a NULL pointer dereference and panic in lookup_slow() on a NULL inode->i_ops pointer when doing pathwalks on a corrupted xfs image. This occurs because of a lack of proper validation that cached inodes are free during allocation.