CVE-2021-47649 Affecting bpftool package, versions <0:5.14.0-162.6.1.el9_1


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (15th 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-RHEL9-BPFTOOL-10113272
  • published10 May 2025
  • disclosed26 Feb 2025

Introduced: 26 Feb 2025

CVE-2021-47649  (opens in a new tab)

How to fix?

Upgrade RHEL:9 bpftool to version 0:5.14.0-162.6.1.el9_1 or higher.
This issue was patched in RHSA-2022:8267.

NVD Description

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

In the Linux kernel, the following vulnerability has been resolved:

udmabuf: validate ubuf->pagecount

Syzbot has reported GPF in sg_alloc_append_table_from_pages(). The problem was in ubuf->pages == ZERO_PTR.

ubuf->pagecount is calculated from arguments passed from user-space. If user creates udmabuf with list.size == 0 then ubuf->pagecount will be also equal to zero; it causes kmalloc_array() to return ZERO_PTR.

Fix it by validating ubuf->pagecount before passing it to kmalloc_array().

CVSS Base Scores

version 3.1