CVE-2021-29155: Medium severity linux kernel vulnerability
A vulnerability was discovered in retrieveptrlimit in kernel/bpf/verifier.c in the Linux kernel mechanism to mitigate speculatively out-of-bounds loads (Spectre mitigation). In this flaw a local, special user privileged (CAPSYSADMIN) BPF program running on affected systems may bypass the protection, and execute speculatively out-of-bounds loads from the kernel memory. This can be abused to extract contents of kernel memory via side-channel.
Other sources
A vulnerability was discovered in retrieveptrlimit in kernel/bpf/verifier.c in the Linux kernel mechanism to mitigate speculatively out-of-bounds loads (Spectre mitigation). In this flaw a local, special user privileged (CAPSYSADMIN) BPF programs running on affected systems can bypass the protection and execute speculatively out-of-bounds loads from the kernel memory. This can be abused to extract contents of kernel memory via side-channel.
Reference: https://www.openwall.com/lists/oss-security/2021/04/18/4
— Red Hat
An issue was discovered in the Linux kernel through 5.11.x. kernel/bpf/verifier.c performs undesirable out-of-bounds speculation on pointer arithmetic, leading to side-channel attacks that defeat Spectre mitigations and obtain sensitive information from kernel memory. Specifically, for sequences of pointer arithmetic operations, the pointer modification performed by the first operation is not correctly accounted for when restricting subsequent operations.
Affected Software
Remediation
Information
Patch Available
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2021-29155?
The severity of CVE-2021-29155 is categorized as critical due to its potential to allow local attackers to bypass security mechanisms.
How do I fix CVE-2021-29155?
To fix CVE-2021-29155, update your Linux kernel to the latest version as specified in the security advisories.
What systems are affected by CVE-2021-29155?
CVE-2021-29155 affects various versions of the Linux kernel, particularly those prior to version 5.12 and specific Red Hat kernel packages.
What is the exploitability of CVE-2021-29155?
CVE-2021-29155 is exploitable by local users with special privileges, which may lead to unauthorized access or manipulation of system memory.
Is CVE-2021-29155 related to Spectre vulnerabilities?
Yes, CVE-2021-29155 is a vulnerability that pertains to the Linux kernel's mechanism designed to mitigate Spectre-related issues.