cve.bz

CVE-2021-38300

7.8 highExploit referenceEPSS 0.6%Fix available

High (7.8). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-38300 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-38300?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-38300?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-38300 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 3.16 before 4.14.251
linux:linux_kernelfrom 4.15 before 4.19.211
linux:linux_kernelfrom 4.20 before 5.4.153
linux:linux_kernelfrom 5.5 before 5.10.71
linux:linux_kernelfrom 5.11 before 5.14.10
debian:debian_linux9.0
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux-4.194.19.232-1~deb9u1DLA-2941-1
Debian10linux4.19.232-1DSA-5096-1
Debian12, 13, 14linux5.14.6-1DEBIAN-CVE-2021-38300
Ubuntu20.04:LTSlinux-hwe-5.135.13.0-23.23~20.04.2UBUNTU-CVE-2021-38300
Ubuntu22.04:LTSlinux-realtime, linux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-38300
Ubuntu24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-38300
UbuntuPro:FIPS-updates:16.04:LTS, Pro:FIPS:16.04:LTSlinux-fipsno fix listedUBUNTU-CVE-2021-38300
UbuntuPro:FIPS-updates:18.04:LTSlinux-aws-fips4.15.0-2059.61UBUNTU-CVE-2021-38300
UbuntuPro:FIPS-updates:18.04:LTSlinux-azure-fips4.15.0-2041.45UBUNTU-CVE-2021-38300
UbuntuPro:FIPS-updates:18.04:LTSlinux-fips4.15.0-1075.84UBUNTU-CVE-2021-38300
UbuntuPro:FIPS-updates:18.04:LTSlinux-gcp-fips4.15.0-2024.26UBUNTU-CVE-2021-38300
UbuntuPro:FIPS-updates:20.04:LTSlinux-aws-fips5.4.0-1069.73+fips2UBUNTU-CVE-2021-38300
UbuntuPro:FIPS-updates:20.04:LTSlinux-azure-fips5.4.0-1073.76+fips1UBUNTU-CVE-2021-38300
UbuntuPro:FIPS-updates:20.04:LTSlinux-fips5.4.0-1038.44UBUNTU-CVE-2021-38300
UbuntuPro:FIPS-updates:20.04:LTSlinux-gcp-fips5.4.0-1067.71~20.04.1UBUNTU-CVE-2021-38300
1 more for Ubuntu in the JSON and on Ubuntu's page.
Azure Linux2kernel5.10.78.1-1AZL-6594

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-38300.

References

Check your stackJSON