Race Condition Affecting bpftool package, versions <0:4.18.0-147.el8


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.09% (38th 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 Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-BPFTOOL-3541379
  • published26 Jul 2021
  • disclosed19 Apr 2019

Introduced: 19 Apr 2019

CVE-2019-11599  (opens in a new tab)
CWE-362  (opens in a new tab)
CWE-667  (opens in a new tab)

How to fix?

Upgrade RHEL:8 bpftool to version 0:4.18.0-147.el8 or higher.
This issue was patched in RHSA-2019:3517.

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:8 relevant fixed versions and status.

The coredump implementation in the Linux kernel before 5.0.10 does not use locking or other mechanisms to prevent vma layout or vma flags changes while it runs, which allows local users to obtain sensitive information, cause a denial of service, or possibly have unspecified other impact by triggering a race condition with mmget_not_zero or get_task_mm calls. This is related to fs/userfaultfd.c, mm/mmap.c, fs/proc/task_mmu.c, and drivers/infiniband/core/uverbs_main.c.

References

CVSS Scores

version 3.1