CVE-2021-46915: Linux kernel Netfilter nft_limit divide-by-zero
- Vendor
- Linux
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().
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.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
References
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.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.