NULL Pointer Dereference Affecting bpftool package, versions <0:4.18.0-477.10.1.el8_8


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
0.15% (52nd 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-CENTOS8-BPFTOOL-2863219
  • published8 Jun 2022
  • disclosed25 May 2022

Introduced: 25 May 2022

CVE-2022-1789  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Centos:8 bpftool to version 0:4.18.0-477.10.1.el8_8 or higher.

NVD Description

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

With shadow paging enabled, the INVPCID instruction results in a call to kvm_mmu_invpcid_gva. If INVPCID is executed with CR0.PG=0, the invlpg callback is not set and the result is a NULL pointer dereference.

CVSS Scores

version 3.1