boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2021-47317LOW
Linux Linux — powerpc/bpf: Fix detecting BPF atomic instructions
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   L   L   L   N  U  N  N  L    3.3   .0019    8.5     —
AFFECTED
  Product  Versions                                    Fixed
  Linux    91c960b0056672e74627776655c926388350fa30 –  —
  Linux    5.12 –                                      5.12.19
TIMELINE
  May 21  Reserved by Linux
  May 21  Published (CNA: Linux)
  Aug 4   RESCORED — CVE-2021-47317 (Linux). CVSS 7.8 → 3.3 (NVD).
CWE-667 · CNA: Linux · CVSS v3.1 · 3 references · NVD status: Modified

Description

In the Linux kernel, the following vulnerability has been resolved: powerpc/bpf: Fix detecting BPF atomic instructions Commit 91c960b0056672 ("bpf: Rename BPF_XADD and prepare to encode other atomics in .imm") converted BPF_XADD to BPF_ATOMIC and added a way to distinguish instructions based on the immediate field. Existing JIT implementations were updated to check for the immediate field and to reject programs utilizing anything more than BPF_ADD (such as BPF_FETCH) in the immediate field. However, the check added to powerpc64 JIT did not look at the correct BPF instruction. Due to this, such programs would be accepted and incorrectly JIT'ed resulting in soft lockups, as seen with the atomic bounds test. Fix this by looking at the correct immediate value.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
May 21, 2024ReservedReserved by Linux
May 21, 2024PublishedPublished (CNA: Linux)
August 4, 2026RESCOREDRESCORED — CVE-2021-47317 (Linux). CVSS 7.8 → 3.3 (NVD).

Affected

Affected products and packages — 2 rows
VendorProduct / PackageEcosystemVersion introducedFixed
LinuxLinux91c960b0056672e74627776655c926388350fa30
LinuxLinux5.125.12.19

Weaknesses

CWE-667

References (3)

Related

Authoritative record: CVE-2021-47317 at cve.org

Vendors: linux

Weaknesses: CWE-667

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2021-47317 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.