Unprivileged cBPF Program Execution Vulnerability in Linux Kernel

Unprivileged cBPF Program Execution Vulnerability in Linux Kernel

CVE-2021-38300 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.