cve.bz

CVE-2021-46915 linux linux kernel: Divide By Zero

5.5 mediumEPSS 0.2%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_limit: avoid possible divide error in nft_limit_init div_u64() divides u64 by u32. nft_limit_init() wants to divide u64 by u64, use the appropriate math function (div64_u64) divide error: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8390 Comm: syz-executor188 Not tainted 5.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:div_u64_rem include/linux/math64.h:28 [inline] RIP: 0010:div_u64 include/linux/math64.h:127 [inline] RIP: 0010:nft_limit_init+0x2a2/0x5e0 net/netfilter/nft_limit.c:85 Code: ef 4c 01 eb 41 0f 92 c7 48 89 de e8 38 a5 22 fa 4d 85 ff 0f 85 97 02 00 00 e8 ea 9e 22 fa 4c 0f af f3 45 89 ed 31 d2 4c 89 f0 <49> f7 f5 49 89 c6 e8 d3 9e 22 fa 48 8d 7d 48 48 b8 00 00 00 00 00 RSP: 0018:ffffc90009447198 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000200000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff875152e6 RDI: 0000000000000003 RBP: ffff888020f80908 R08: 0000200000000000 R09: 0000000000000000 R10: ffffffff875152d8 R11: 0000000000000000 R12: ffffc90009447270 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 000000000097a300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200001c4 CR3: 0000000026a52000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_tables_newexpr net/netfilter/nf_tables_api.c:2675 [inline] nft_expr_init+0x145/0x2d0 net/netfilter/nf_tables_api.c:2713 nft_set_elem_expr_alloc+0x27/0x280 net/netfilter/nf_tables_api.c:5160 nf_tables_newset+0x1997/0x3150 net/netfilter/nf_tables_api.c:4321 nfnetlink_rcv_batch+0x85a/0x21b0 net/netfilter/nfnetlink.c:456 nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:580 [inline] nfnetlink_rcv+0x3af/0x420 net/netfilter/nfnetlink.c:598 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1927 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:674 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2350 ___sys_sendmsg+0xf3/0x170 net/socket.c:2404 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2433 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-02-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-369 Divide By Zero
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-46915 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-46915?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-46915?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-46915 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux4.13 and later

Fixed in

ProductRelease lineFixed in
Linux4.144.14.232
Linux4.194.19.189
Linux5.45.4.114
Linux5.105.10.32
Linux5.115.11.16
Linuxlater releases5.12

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.10.38-1DEBIAN-CVE-2021-46915
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-46915
Ubuntu18.04:LTSlinux4.15.0-147.151UBUNTU-CVE-2021-46915
Ubuntu18.04:LTSlinux-aws4.15.0-1106.113UBUNTU-CVE-2021-46915
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1049.51~18.04.1UBUNTU-CVE-2021-46915
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1118.131UBUNTU-CVE-2021-46915
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1048.50~18.04.1UBUNTU-CVE-2021-46915
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2021-46915
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1103.116UBUNTU-CVE-2021-46915
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1044.47~18.04.2UBUNTU-CVE-2021-46915
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-74.83~18.04.1UBUNTU-CVE-2021-46915
Ubuntu18.04:LTSlinux-kvm4.15.0-1094.96UBUNTU-CVE-2021-46915
Ubuntu18.04:LTSlinux-oracle4.15.0-1075.83UBUNTU-CVE-2021-46915
27 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatrhel_aus:8.2::baseos, rhel_tus:8.2::baseosperf, kernel, bpftool and 21 more0:4.18.0-193.133.1.el8_2RHSA-2024:2006
Red Hatrhel_aus:8.4::baseos, rhel_tus:8.4::baseosperf, kernel, bpftool and 21 more0:4.18.0-305.130.1.el8_4RHSA-2024:2582
Red Hatrhel_e4s:8.2::baseosperf, kernel, bpftool and 22 more0:4.18.0-193.133.1.el8_2RHSA-2024:2006
Red Hatrhel_e4s:8.4::baseosperf, kernel, bpftool and 22 more0:4.18.0-305.130.1.el8_4RHSA-2024:2582
Red Hatrhel_tus:8.2::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-193.133.1.rt13.184.el8_2RHSA-2024:2008
Red Hatrhel_tus:8.2::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-193.133.1.rt13.184.el8_2RHSA-2024:2008
Red Hatrhel_tus:8.4::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-305.130.1.rt7.206.el8_4RHSA-2024:2585
Red Hatrhel_tus:8.4::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-305.130.1.rt7.206.el8_4RHSA-2024:2585
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-source and 3 more5.3.18-150300.59.153.2SUSE-SU-2024:0857-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morekernel-default-base5.3.18-150300.59.153.2.150300.18.90.2SUSE-SU-2024:0857-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 morekernel-syms5.3.18-150300.59.153.1SUSE-SU-2024:0857-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.201.1SUSE-SU-2024:0925-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.183.1SUSE-SU-2024:0926-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.153.2SUSE-SU-2024:0857-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-default-base5.3.18-150200.24.183.1.150200.9.93.2SUSE-SU-2024:0926-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.183.1SUSE-SU-2024:0926-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_541-8.7.1SUSE-SU-2024:0925-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_461-150200.5.3.2SUSE-SU-2024:0926-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_421-150300.7.3.2SUSE-SU-2024:0857-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2kernel-rt, kernel-source-rt5.3.18-150300.161.1SUSE-SU-2024:0856-1
7 more for SUSE in the JSON and on SUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.133.1.el8_2Fixed 2024-04-23RHSA-2024:2006
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-rt-0:4.18.0-193.133.1.rt13.184.el8_2Fixed 2024-04-23RHSA-2024:2008
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-0:4.18.0-193.133.1.el8_2Fixed 2024-04-23RHSA-2024:2006
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskernel-0:4.18.0-193.133.1.el8_2Fixed 2024-04-23RHSA-2024:2006
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.130.1.el8_4Fixed 2024-04-30RHSA-2024:2582
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-rt-0:4.18.0-305.130.1.rt7.206.el8_4Fixed 2024-04-30RHSA-2024:2585
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-0:4.18.0-305.130.1.el8_4Fixed 2024-04-30RHSA-2024:2582
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskernel-0:4.18.0-305.130.1.el8_4Fixed 2024-04-30RHSA-2024:2582
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelFix deferred
Red Hat Enterprise Linux 8kernel-rtFix deferred
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-46915.

References

Check your stackJSON