CVE-2021-38300
NVD-CWE-noinfoPublished: September 20, 2021· Updated: Jun 17, 2026
Official 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.
Technical Analysis
CVE-2021-38300 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 7.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (12)
Quick Facts
Related CVEs (NVD-CWE-noinfo)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2021-38300 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts