---
title: "CVE-2021-31440"
canonical_url: "https://pkgseek.com/security/CVE-2021-31440"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2021-31440

This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel 5.11.15. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of eBPF programs. The issue results from the lack of proper validation of user-supplied eBPF programs prior to executing them. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the kernel. Was ZDI-CAN-13661.

CVE-2021-31440 严重级别为 HIGH (7.0)，共索引 20 条受影响软件包构建记录，涉及 2 个发行版。

- **级别 / 评分**: HIGH (7.0)
- **受影响构建数**: 20
- **涉及发行版**: 2
- **已标明修复版本发行版**: Oracle Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 8 | bpftool | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel-abi-stablelists | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel-core | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel-cross-headers | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel-debug | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel-debug-core | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel-debug-devel | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel-debug-modules | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel-debug-modules-extra | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel-devel | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel-doc | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel-headers | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel-modules | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel-modules-extra | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel-tools | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | kernel-tools-libs | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | perf | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Oracle Linux | 8 | python3-perf | 4.18.0-305.25.1.el8_4 | 4.18.0-348.el8 |
| Ubuntu | focal | linux-riscv-headers-5.4.0-24 | 5.4.0-24.28 | — |
