CVE-2021-38300 Code injection in n/a
Unprivileged cBPF programs can trigger arbitrary code execution in the Linux kernel on MIPS architectures due to branch limit violations.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-38300?
CVE-2021-38300 is a high-severity code injection vulnerability in Debian Debian Linux, published on 20 Sep 2021. It can only be exploited from the same machine or local network, with no action from the victim.
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.
Which versions are affected by CVE-2021-38300?
It affects 11 products.
Products include Debian Debian Linux, Linux kernel, Netapp Cloud Backup, Netapp H300e Firmware, Netapp H300s Firmware, Netapp H410c Firmware and 5 more.
How do I fix CVE-2021-38300?
Apply the vendor's patch.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-38300 being exploited?
There is no known exploitation of CVE-2021-38300 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-6594, DEBIAN-CVE-2021-38300, GHSA-7f3j-x5jc-j32w, UBUNTU-CVE-2021-38300.