PT-2021-2653 · Linux+9 · Linux Kernel+9
Published
2021-04-08
·
Updated
2024-03-25
·
CVE-2021-29154
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions through 5.11.12
Description
The issue is related to incorrect computation of branch displacements in BPF JIT compilers, allowing them to execute arbitrary code within the kernel context. This affects files arch/x86/net/bpf jit comp.c and arch/x86/net/bpf jit comp32.c. The vulnerability can be exploited by a local user to achieve code execution at the kernel level.
Recommendations
For Linux kernel versions through 5.11.12, apply the available patch to fix the issue. As a temporary workaround, consider restricting access to the BPF JIT compiler to minimize the risk of exploitation.
Fix
Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Rocky Linux
Suse
Ubuntu