What’s Vulnerable › Vulnerabilities

CVE-2021-38300

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 products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.251, 4.19.211, 5.10.71, 5.14.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-38300 or the next vulnerability affects your stack