riscv, bpf: Fix potential NULL dereference (Linux Linux)

CVE-2021-47486
HIGH 7.5

En bref

Source
NVD
EPSS
EPSS 0.68 % · centile 52 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: riscv, bpf: Fix potential NULL dereference The bpf_jit_binary_free() function requires a non-NULL argument. When the RISC-V BPF JIT fails to converge in NR_JIT_ITERATIONS steps, jit_data->header will be NULL, which triggers a NULL dereference. Avoid this by checking the argument, prior calling the function.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa < cac6b043cea3e120f4fccec16f7381747cbfdc0d ; affected ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa < e1b80a5ebe5431caeb20f88c32d4a024777a2d41 ; affected ca6cb5447ceca6a87d6b62c9e5d41042c34f7ffa < 27de809a3d83a6199664479ebb19712533d6fd9b
Linux · Linuxaffected 5.7 ; unaffected 0 < 5.7 ; unaffected 5.10.77 ≤ 5.10.* ; unaffected 5.14.16 ≤ 5.14.* ; unaffected 5.15 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD