Heap-based Buffer Overflow Affecting perf package, versions <0:2.6.32-642.el6


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.24% (63rd 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-RHEL6-PERF-1505747
  • published26 Jul 2021
  • disclosed6 Aug 2015

Introduced: 6 Aug 2015

CVE-2015-5156  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade RHEL:6 perf to version 0:2.6.32-642.el6 or higher.
This issue was patched in RHSA-2016:0855.

NVD Description

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

The virtnet_probe function in drivers/net/virtio_net.c in the Linux kernel before 4.2 attempts to support a FRAGLIST feature without proper memory allocation, which allows guest OS users to cause a denial of service (buffer overflow and memory corruption) via a crafted sequence of fragmented packets.

CVSS Scores

version 3.1