# CVE-2021-38300

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-09-20 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2021-38300, DEBIAN-CVE-2021-38300
- Record: https://cvemate.com/vulnerability/CVE-2021-38300 · JSON: https://cvemate.com/vulnerability/CVE-2021-38300/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.583%, percentile 49.322%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected (first 20 of 21)

- debian linux (Debian): \< 5.14.6-1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2059.61 \| All versions (No fix recorded) \| \< 5.4.0-1069.73+fips2
- ubuntu linux-azure-fips (Ubuntu): \< 4.15.0-2041.45 \| All versions (No fix recorded) \| \< 5.4.0-1073.76+fips1
- ubuntu linux-fips (Ubuntu): All versions (No fix recorded) \| \< 4.15.0-1075.84 \| \< 5.4.0-1038.44
- ubuntu linux-gcp-fips (Ubuntu): \< 4.15.0-2024.26 \| All versions (No fix recorded) \| \< 5.4.0-1067.71~20.04.1
- ubuntu linux-hwe-5.13 (Ubuntu): \< 5.13.0-23.23~20.04.2
- ubuntu linux-intel-iot-realtime (Ubuntu): All versions (No fix recorded)
- ubuntu linux-raspi-realtime (Ubuntu): All versions (No fix recorded)
- ubuntu linux-realtime (Ubuntu): All versions (No fix recorded)
- ubuntu linux-vmware (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 9.0 \| 10.0
- linux linux\_kernel: ≥ 3.16, \< 4.14.251 \| ≥ 4.15, \< 4.19.211 \| ≥ 4.20, \< 5.4.153 \| ≥ 5.5, \< 5.10.71 \| ≥ 5.11, \< 5.14.10
- netapp cloud\_backup: na
- netapp h300e\_firmware: na
- netapp h300s\_firmware: na
- netapp h410c\_firmware: na
- netapp h410s\_firmware: na
- netapp h500e\_firmware: na
- netapp h500s\_firmware: na
- netapp h700e\_firmware: na

## References

- <http://www.openwall.com/lists/oss-security/2021/09/15/5>
- <https://security.netapp.com/advisory/ntap-20211008-0003/>
- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=37cb28ec7d3a36a5bace7063a3dba633ab110f8b>
- <https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14.10>
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html>
- <https://www.debian.org/security/2022/dsa-5096>
- <https://ubuntu.com/security/CVE-2021-38300>
- <https://www.openwall.com/lists/oss-security/2021/09/15/5>
- <https://lore.kernel.org/bpf/20210915160437.4080-1-piotras@gmail.com/>
- <https://www.cve.org/CVERecord?id=CVE-2021-38300>
- <https://security-tracker.debian.org/tracker/CVE-2021-38300>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-38300>

---

Data as of 2026-12-05T03:10:07.926Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
