CVE-2021-38300
publishedkernel: crafting anomalous machine code may lead to arbitrary Kernel code execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1719 | Fixed | Not stated | Amazon Linux assessment |
| Debian | buster | linux | Advisory build | 4.19.232-1 | DSA-5096-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2-2021-1719 |
| Debian | stretch | linux-4.19 | Advisory build | 4.19.232-1~deb9u1 | DLA-2941-1 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2-2021-1719 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2-2021-1719 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2-2021-1719 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- http://www.openwall.com/lists/oss-security/2021/09/15/5
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14.10
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=37cb28ec7d3a36a5bace7063a3dba633ab110f8b
- [debian-lts-announce] 20220309 [SECURITY] [DLA 2941-1] linux-4.19 security update https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html
- https://security.netapp.com/advisory/ntap-20211008-0003/
- DSA-5096 https://www.debian.org/security/2022/dsa-5096
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9c7a71aa3b31e0970af494f0a139ec336d84696718e983901a821b84eb785e56
- Ingested
- 23 Sep 2026, 07:55:29 UTC
- Source record
- Official CVE record