CWE data temporarily unavailableCWE data is currently experiencing intermittent outages, which may cause incomplete section loading on CVE pages. We are actively working on a fix.

CVE-2021-47317

Description

A flaw was found in the Linux kernel's PowerPC Berkeley Packet Filter (BPF) Just-In-Time (JIT) compiler. When evaluating BPF programs, the verification check fails to examine the correct instruction field for certain atomic operations. A local user with permissions to load BPF programs could exploit this flaw by loading crafted programs, causing improper code compilation that results in a kernel hang and a Denial of Service (DoS).

Statement

This vulnerability is rated as Low severity because successful exploitation requires elevated local administrative privileges (CAP_BPF or CAP_SYS_ADMIN) on 64-bit PowerPC architectures to trigger a denial of service. By default, Red Hat Enterprise Linux disables unprivileged eBPF access, preventing standard users from loading BPF programs into the kernel. Consequently, the flaw cannot be triggered across other hardware platforms or by non-privileged accounts, limiting the blast radius to environments where authorized administrators execute non-standard atomic BPF instructions.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.43.37.8
Attack VectorLocalLocalLocal
Attack ComplexityLowLowLow
Privileges RequiredHighLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneNoneHigh
Integrity ImpactNoneNoneHigh
Availability ImpactHighLowHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

Want to get errata notifications? Sign up here.