Code Injection in Linux kernel - CVE-2021-38300

 

Code Injection in Linux kernel - CVE-2021-38300

Published: May 31, 2022


Vulnerability identifier: #VU63840
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-38300
CWE-ID: CWE-94
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation in the arch/mips/net/bpf_jit.c in the Linux kernel. A local user can send a specially crafted request and execute arbitrary code on the target system.


Affected software

Linux kernel
Debian Linux
openEuler
python2-perf
kernel-tools
kernel-tools-devel
perf
kernel-debugsource
python3-perf
python2-perf-debuginfo
kernel-debuginfo
kernel-source
perf-debuginfo
python3-perf-debuginfo
bpftool-debuginfo
bpftool
kernel-tools-debuginfo
kernel-devel
kernel
linux (Debian package)

How to mitigate CVE-2021-38300

Install updates from vendor's website.

Linux kernel - update to 5.4.10
python2-perf - update to 4.19.90-2110.3.0.0116
kernel-tools - update to 4.19.90-2110.3.0.0116
kernel-tools-devel - update to 4.19.90-2110.3.0.0116
perf - update to 4.19.90-2110.3.0.0116
kernel-debugsource - update to 4.19.90-2110.3.0.0116
python3-perf - update to 4.19.90-2110.3.0.0116
python2-perf-debuginfo - update to 4.19.90-2110.3.0.0116
kernel-debuginfo - update to 4.19.90-2110.3.0.0116
kernel-source - update to 4.19.90-2110.3.0.0116
perf-debuginfo - update to 4.19.90-2110.3.0.0116
python3-perf-debuginfo - update to 4.19.90-2110.3.0.0116
bpftool-debuginfo - update to 4.19.90-2110.3.0.0116
bpftool - update to 4.19.90-2110.3.0.0116
kernel-tools-debuginfo - update to 4.19.90-2110.3.0.0116
kernel-devel - update to 4.19.90-2110.3.0.0116
kernel - update to 4.19.90-2110.3.0.0116
linux (Debian package) - update to 4.19.232-1

External References

Related Security Bulletins