Name | CVE-2021-38300 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
References | DLA-2941-1, DSA-5096-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
linux (PTS) | jessie, jessie (lts) | 3.16.84-1 | vulnerable |
stretch (security) | 4.9.320-2 | vulnerable | |
stretch (lts), stretch | 4.9.320-3 | vulnerable | |
buster | 4.19.249-2 | fixed | |
buster (security) | 4.19.269-1 | fixed | |
bullseye | 5.10.158-2 | fixed | |
bullseye (security) | 5.10.162-1 | fixed | |
sid, bookworm | 6.1.20-1 | fixed | |
linux-4.19 (PTS) | stretch (security) | 4.19.232-1~deb9u1 | fixed |
stretch (lts), stretch | 4.19.269-1~deb9u1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
linux | source | jessie | (unfixed) | end-of-life | ||
linux | source | buster | 4.19.232-1 | DSA-5096-1 | ||
linux | source | bullseye | 5.10.70-1 | |||
linux | source | (unstable) | 5.14.6-1 | |||
linux-4.19 | source | stretch | 4.19.232-1~deb9u1 | DLA-2941-1 |
[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/