Skip to main content
Mallory
MediumVulnerability

CVE-2021-46915: Linux kernel Netfilter nft_limit divide-by-zero

Published Feb 27, 2024 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.5Medium · v3.1
EPSS0.24%9th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2021-46915CWE-369 · Divide By Zero

CVE-2021-46915 is a denial-of-service vulnerability in the Linux kernel Netfilter nft_limit expression initialization routine. The routine used div_u64(), which performs 64-bit-by-32-bit division, for an operation requiring a 64-bit divisor. Truncation of a supplied 64-bit divisor can yield zero and trigger a CPU divide-error exception while nftables expressions are processed through Netlink. The correction replaces div_u64() with div64_u64().

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.

An attacker able to submit a crafted nftables limit-expression configuration can cause a kernel divide-error exception and crash the host, resulting in a local denial of service.

Mitigation

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

Until patched, prevent untrusted principals from obtaining the capability to administer nftables, and restrict unprivileged user and network namespace creation where it would permit such principals to create and configure nftables rules in a new network namespace.

Remediation

Patch, then assume compromise.

Install a Linux kernel update containing the nft_limit initialization fix, which replaces div_u64() with div64_u64(), then reboot to run the updated kernel. For affected Red Hat Enterprise Linux 8.2 channels, Red Hat supplied kernel build 4.18.0-193.133.1.el8_2 and corresponding Real Time build 4.18.0-193.133.1.rt13.184.el8_2. For specified RHEL 8.4 channels, Red Hat supplied kernel build 4.18.0-305.130.1.el8_4 and corresponding Real Time build 4.18.0-305.130.1.rt7.206.el8_4.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
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
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2021-46915 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2021-46915 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2021-46915?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-46915.
Is there a patch for CVE-2021-46915?
Install a Linux kernel update containing the nft_limit initialization fix, which replaces div_u64() with div64_u64(), then reboot to run the updated kernel. For affected Red Hat Enterprise Linux 8.2 channels, Red Hat supplied kernel build 4.18.0-193.133.1.el8_2 and corresponding Real Time build 4.18.0-193.133.1.rt13.184.el8_2.
What products are affected by CVE-2021-46915?
Linux Kernel.
How severe is CVE-2021-46915?
CVE-2021-46915 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.24% (9th percentile) as of Oct 16, 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.