CVE-2021-38300

NameCVE-2021-38300
Descriptionarch/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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severityhigh

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)stretch4.9.228-1vulnerable
stretch (security)4.9.272-2vulnerable
buster4.19.208-1vulnerable
buster (security)4.19.194-3vulnerable
bullseye5.10.70-1fixed
bullseye (security)5.10.46-5vulnerable
bookworm5.14.9-2fixed
sid5.14.12-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcebullseye5.10.70-1
linuxsource(unstable)5.14.6-1

Notes

[stretch] - linux <ignored> (mips not supported in LTS)
https://www.openwall.com/lists/oss-security/2021/09/15/5
https://lore.kernel.org/bpf/20210915160437.4080-1-piotras@gmail.com/

Search for package or bug name: Reporting problems