Vulnerability · Published May 6, 2021 · Assigned by mitre
CVE-2021-31829
Medium 5.5
In plain English
A medium-severity security flaw in the kernel-tools-libs-devel package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
kernel/bpf/verifier.c in the Linux kernel through 5.12.1 performs undesirable speculative loads, leading to disclosure of stack content via side-channel attacks, aka CID-801c6058d14a. The specific concern is not protecting the BPF stack area against speculative loads. Also, the BPF stack can contain uninitialized data that might represent sensitive information previously operated on by the kernel.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-348.el8 | ALSA-2021:4356 |
| Debian:12 | linux | 5.10.38-1 | DEBIAN-CVE-2021-31829 |
| Debian:13 | linux | 5.10.38-1 | DEBIAN-CVE-2021-31829 |
| Debian:14 | linux | 5.10.38-1 | DEBIAN-CVE-2021-31829 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-31829 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-31829 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-31829 |
Affected products (as reported)
References
- [oss-security] 20210504 [CVE-2021-31829] Linux kernel protection of stack pointer against speculative pointer arithmetic can be bypassed to leak content of kernel memory mailing-list, x_refsource_MLIST
- https://github.com/torvalds/linux/commit/801c6058d14a82179a7ee17a4b532cac6fad067f x_refsource_MISC
- FEDORA-2021-9c0276e935 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-5ad5249c43 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-7c085ca697 vendor-advisory, x_refsource_FEDORA
- [debian-lts-announce] 20210623 [SECURITY] [DLA 2690-1] linux-4.19 security update mailing-list, x_refsource_MLIST