CVE-2021-38300
JSON

7.8high

arch/mips/net/bpfjit.c in the Linux kernel before 5.4.10 can generate undesirable machine code when transforming unprivileged cBPF programs…

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.58% (higher than 49% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

arch/mips/net/bpf_jit.c in the Linux kernel before 5.4.10 can generate undesirable machine code when transforming unprivileged cBPF programs, allowing execution of arbitrary code within the kernel context. This occurs because conditional branches can exceed the 128 KB limit of the MIPS architecture.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
linux linux_kernelfrom 3.16 before 4.14.251, from 4.15 before 4.19.211, from 4.20 before 5.4.153, from 5.5 before 5.10.71, from 5.11 before 5.14.10NVD
netapp cloud_backupNot specifiedNVD
netapp h410c_firmwareNot specifiedNVD
netapp h300s_firmwareNot specifiedNVD
netapp h500s_firmwareNot specifiedNVD
netapp h700s_firmwareNot specifiedNVD
netapp h300e_firmwareNot specifiedNVD
netapp h500e_firmwareNot specifiedNVD
netapp h700e_firmwareNot specifiedNVD
netapp h410s_firmwareNot specifiedNVD
debian debian_linux9.0, 10.0NVD

All scores

NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.2high CVSS:2.0AV:L/AC:L/Au:N/C:C/I:C/A:C

What each source says

CVE List

arch/mips/net/bpf_jit.c in the Linux kernel before 5.4.10 can generate undesirable machine code when transforming unprivileged cBPF programs, allowing execution of arbitrary code within the kernel context. This occurs because conditional branches can exceed the 128 KB limit of the MIPS architecture.

NVD (es)

arch/mips/net/bpf_jit.c en el kernel de Linux anterior a la versión 5.4.10 puede generar código máquina no deseado al transformar programas cBPF sin privilegios, permitiendo la ejecución de código arbitrario dentro del contexto del kernel. Esto ocurre porque las ramas condicionales pueden superar el límite de 128 KB de la arquitectura MIPS

References

Sources

SourceRecordLicence
CVE ListCVE-2021-38300 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-38300 changed 2026-06-17Public domain