CVE Vulnerabilities

CVE-2021-38300

Published: Sep 20, 2021 | Modified: Mar 01, 2023
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.2 HIGH
AV:L/AC:L/Au:N/C:C/I:C/A:C
RedHat/V2
RedHat/V3
Ubuntu

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.

Affected Software

Name Vendor Start Version End Version
Linux_kernel Linux 3.16 (including) 4.14.251 (excluding)
Linux_kernel Linux 4.15 (including) 4.19.211 (excluding)
Linux_kernel Linux 4.20 (including) 5.4.153 (excluding)
Linux_kernel Linux 5.5 (including) 5.10.71 (excluding)
Linux_kernel Linux 5.11 (including) 5.14.10 (excluding)

References