CVE-2021-38300

kernel: crafting anomalous machine code may lead to arbitrary Kernel code execution

Published Sep 20, 2021 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2941-1 linux-4.19 security update
Debian DSA Debian DSA DSA-5096-1 linux security update
EUVD EUVD EUVD-2021-24755 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00033}

epss

{'score': 0.00045}