1. Accueil
  2. Vulnérabilités
  3. CVE-2025-37893

CVE-2025-37893

In the Linux kernel, the following vulnerability has been resolved: LoongArch: BPF: Fix off-by-one error in…

Publiée le 18 avr. 2025 · modifiée le 30 juil. 2026 · Sources : NVD, EPSS (FIRST)

Faible 28/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: LoongArch: BPF: Fix off-by-one error in build_prologue() Vincent reported that running BPF progs with tailcalls on LoongArch causes kernel hard lockup. Debugging the issues shows that the JITed image missing a jirl instruction at the end of the epilogue. There are two passes in JIT compiling, the first pass set the flags and the second pass generates JIT code based on those flags. With BPF progs mixing bpf2bpf and tailcalls, build_prologue() generates N insns in the first pass and then generates N+1 insns in the second pass. This makes epilogue_offset off by one and we will jump to some unexpected insn and cause lockup. Fix this by inserting a nop insn.

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

Produits et versions affectés

Linux (5 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux kernel de 6.1 (inclus) à 6.1.134 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.6.87 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.12.23 (exclu) — NVD
Linux kernel de 6.13 (inclus) à 6.13.11 (exclu) — NVD
Linux kernel de 6.14 (inclus) à 6.14.2 (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:H (CVSS 3.1, NVD)
Faiblesse
CWE-193 · Autre (CWE-193)

Comment sont obtenues et calculées ces données