---
title: "CVE-2021-46915"
canonical_url: "https://pkgseek.com/security/CVE-2021-46915"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-46915

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+…

CVE-2021-46915 is rated MEDIUM (5.5), with 81 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.5)
- **Affected builds**: 81
- **Affected distros**: 1
- **Distros with fixed_in**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | linux-aws-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1049.51 |
| Ubuntu | focal | linux-aws-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1049.51 |
| Ubuntu | focal | linux-azure-cloud-tools-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1048.50 |
| Ubuntu | focal | linux-azure-headers-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1048.50 |
| Ubuntu | focal | linux-azure-tools-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1048.50 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1049.51 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1044.47 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1040.41 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1046.50 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1048.50 |
| Ubuntu | focal | linux-buildinfo-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-buildinfo-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-buildinfo-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-cloud-tools-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1048.50 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26 | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-cloud-tools-common | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-doc | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-gcp-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1044.47 |
| Ubuntu | focal | linux-gcp-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1044.47 |
| Ubuntu | focal | linux-headers-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1049.51 |
| Ubuntu | focal | linux-headers-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1044.47 |
| Ubuntu | focal | linux-headers-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1040.41 |
| Ubuntu | focal | linux-headers-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1046.50 |
| Ubuntu | focal | linux-headers-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1048.50 |
| Ubuntu | focal | linux-headers-5.4.0-26 | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-headers-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-headers-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-headers-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-image-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1049.51 |
| Ubuntu | focal | linux-image-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1040.41 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1044.47 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1046.50 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1048.50 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-image-unsigned-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-kvm-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1040.41 |
| Ubuntu | focal | linux-kvm-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1040.41 |
| Ubuntu | focal | linux-libc-dev | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-modules-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1049.51 |
| Ubuntu | focal | linux-modules-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1044.47 |
| Ubuntu | focal | linux-modules-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1040.41 |
| Ubuntu | focal | linux-modules-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1046.50 |
| Ubuntu | focal | linux-modules-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1048.50 |
| Ubuntu | focal | linux-modules-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-modules-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-modules-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-modules-extra-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1049.51 |
| Ubuntu | focal | linux-modules-extra-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1044.47 |
| Ubuntu | focal | linux-modules-extra-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1046.50 |
| Ubuntu | focal | linux-modules-extra-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1048.50 |
| Ubuntu | focal | linux-modules-extra-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-oem-5.6-headers-5.6.0-1007 | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oem-5.6-tools-5.6.0-1007 | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oem-5.6-tools-common | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oem-5.6-tools-host | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oracle-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1046.50 |
| Ubuntu | focal | linux-oracle-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1046.50 |
| Ubuntu | focal | linux-source-5.4.0 | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-tools-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1049.51 |
| Ubuntu | focal | linux-tools-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1044.47 |
| Ubuntu | focal | linux-tools-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1040.41 |
| Ubuntu | focal | linux-tools-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1046.50 |
| Ubuntu | focal | linux-tools-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1048.50 |
| Ubuntu | focal | linux-tools-5.4.0-26 | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-tools-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-tools-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-tools-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-tools-common | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | focal | linux-tools-host | 5.4.0-26.30 | 5.4.0-74.83 |
| Ubuntu | jammy | linux-buildinfo-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-headers-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-image-unsigned-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-modules-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-oem-5.17-headers-5.17.0-1003 | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-oem-5.17-tools-5.17.0-1003 | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-oem-5.17-tools-host | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-riscv-headers-5.15.0-1007 | 5.15.0-1007.7 | — |
| Ubuntu | jammy | linux-tools-5.17.0-1003-oem | 5.17.0-1003.3 | — |
