1. Accueil
  2. Vulnérabilités
  3. CVE-2021-47317

CVE-2021-47317

In the Linux kernel, the following vulnerability has been resolved: powerpc/bpf: Fix detecting BPF atomic…

Publiée le 21 mai 2024 · modifiée le 4 août 2026 · Sources : NVD, EPSS (FIRST)

Faible 15/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (2 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux kernel de 5.12 (inclus) à 5.12.19 (exclu) — NVD
Linux kernel de 5.13 (inclus) à 5.13.4 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L (CVSS 3.1, NVD)
Faiblesse
CWE-667 · Autre (CWE-667)

Comment sont obtenues et calculées ces données