Vulnerability · Published Aug 24, 2022 · Assigned by redhat

CVE-2021-4204

High 7.1

In plain English

A high-severity improper input validation in kernel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.1High
Exploit odds (30 days)1.2%top 30.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

An out-of-bounds (OOB) memory access flaw was found in the Linux kernel's eBPF due to an Improper Input Validation. This flaw allows a local attacker with a special privilege to crash the system or leak internal information.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8bpftool4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-abi-stablelists4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-core4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-cross-headers4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-debug4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-debug-core4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-debug-devel4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-debug-modules4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-debug-modules-extra4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-devel4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-doc4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-headers4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-modules4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-modules-extra4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-rt4.18.0-553.rt7.342.el8_10ALSA-2024:2950
AlmaLinux:8kernel-rt-core4.18.0-553.rt7.342.el8_10ALSA-2024:2950
AlmaLinux:8kernel-rt-debug4.18.0-553.rt7.342.el8_10ALSA-2024:2950
AlmaLinux:8kernel-rt-debug-core4.18.0-553.rt7.342.el8_10ALSA-2024:2950
AlmaLinux:8kernel-rt-debug-devel4.18.0-553.rt7.342.el8_10ALSA-2024:2950
AlmaLinux:8kernel-rt-debug-kvm4.18.0-553.rt7.342.el8_10ALSA-2024:2950
AlmaLinux:8kernel-rt-debug-modules4.18.0-553.rt7.342.el8_10ALSA-2024:2950
AlmaLinux:8kernel-rt-debug-modules-extra4.18.0-553.rt7.342.el8_10ALSA-2024:2950
AlmaLinux:8kernel-rt-devel4.18.0-553.rt7.342.el8_10ALSA-2024:2950
AlmaLinux:8kernel-rt-kvm4.18.0-553.rt7.342.el8_10ALSA-2024:2950
AlmaLinux:8kernel-rt-modules4.18.0-553.rt7.342.el8_10ALSA-2024:2950
AlmaLinux:8kernel-rt-modules-extra4.18.0-553.rt7.342.el8_10ALSA-2024:2950
AlmaLinux:8kernel-tools4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-tools-libs4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-tools-libs-devel4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-zfcpdump4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-zfcpdump-core4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-zfcpdump-devel4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-zfcpdump-modules4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8kernel-zfcpdump-modules-extra4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8perf4.18.0-553.el8_10ALSA-2024:3138
AlmaLinux:8python3-perf4.18.0-553.el8_10ALSA-2024:3138
Debian:12linux5.17.3-1DEBIAN-CVE-2021-4204
Debian:13linux5.17.3-1DEBIAN-CVE-2021-4204
Debian:14linux5.17.3-1DEBIAN-CVE-2021-4204
Rocky Linux:8kernel0:4.18.0-553.el8_10RLSA-2024:3138
Rocky Linux:8kernel0:4.18.0-553.123.1.el8_10.cloud.0.1RXSA-2024:3138
Rocky Linux:8kernel-rt0:4.18.0-553.rt7.342.el8_10RLSA-2024:2950
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2021-4204

Affected products (as reported)

VendorProductVersions
n/a kernel Affects Linux kernel v5.8 or later

Weakness: CWE-20

References