Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2021-4204: Out-of-bounds memory access in Linux kernel eBPF

Published Aug 24, 2022 · Updated 7 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS7.1High · v3.1
EPSS1.2%69th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Debian ProjectNetAppLinuxRed Hat
IdentifiersCVE-2021-4204CWE-20 · Improper Input Validation

CVE-2021-4204 is an out-of-bounds memory-access vulnerability in the Linux kernel's eBPF subsystem caused by improper input validation involving helper register offset checks. A local attacker with the required special privileges can trigger the flaw to crash the system or disclose internal kernel information. Affected kernel security advisories also identify potential privilege escalation.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can compromise kernel information confidentiality or cause a system-wide denial of service through a kernel crash. Potential local privilege escalation is also identified in security advisories, although the specific escalation mechanism and resulting privilege level are not established.

Mitigation

If you can’t patch tonight, do this now.

Until a patched kernel can be installed, restrict local access and limit assignment of the privilege required to interact with the affected eBPF functionality. Reduce exposure to untrusted privileged workloads and enforce least privilege for container and host workloads.

Remediation

Patch, then assume compromise.

Install the distribution-supported kernel update addressing CVE-2021-4204 and reboot into the patched kernel. Applicable fixes include Google COS sys-kernel/lakitu-kernel-5_15 version 17523.0.0 or later; RHEL 8.6 EUS kernel 4.18.0-372.91.1.el8_6 under RHSA-2024:0724; RHEL 8.8 EUS kernel 4.18.0-477.81.1.el8_8 under RHSA-2024:10262; and RHEL 8 real-time kernel 4.18.0-553.rt7.342.el8_10 under RHSA-2024:2950. For TuxCare ELS Linux 5.10, install version 5.10.274-3+tuxcare.els1 and associated updates, accounting for the kernel ABI change when validating external modules.

Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Debian ProjectDebian Linuxoperating_system
LinuxLinux Kerneloperating_system
NetAppH300s Firmwareoperating_system
NetAppH410c Firmwareoperating_system
NetAppH410s Firmwareoperating_system
NetAppH500s Firmwareoperating_system
NetAppH700s Firmwareoperating_system
Red HatRed Hat Enterprise Linuxoperating_system
FAQ

Frequently asked questions

Is CVE-2021-4204 exploited in the wild?
As of Nov 21, 2026, Mallory has no reports of CVE-2021-4204 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2021-4204?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2021-4204, the earliest disclosed Feb 24, 2022.
Is there a patch for CVE-2021-4204?
Install the distribution-supported kernel update addressing CVE-2021-4204 and reboot into the patched kernel. Applicable fixes include Google COS sys-kernel/lakitu-kernel-5_15 version 17523.0.0 or later; RHEL 8.6 EUS kernel 4.18.0-372.91.1.el8_6 under RHSA-2024:0724; RHEL 8.8 EUS kernel 4.18.0-477.81.1.el8_8 under RHSA-2024:10262; and RHEL 8 real-time kernel 4.18.0-553.rt7.342.el8_10 under RHSA-2024:2950.
What products are affected by CVE-2021-4204?
Linux Kernel, Debian Project Debian Linux, NetApp H300s Firmware, NetApp H410c Firmware, NetApp H410s Firmware, and 3 more.
How severe is CVE-2021-4204?
CVE-2021-4204 has a CVSS v3.1 score of 7.1 (High) and an EPSS score of 1.2% (69th percentile) as of Nov 21, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.