CVE-2021-38166
Summary
| CVE | CVE-2021-38166 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-08-07 18:15:07 UTC |
| Updated | 2026-08-05 18:26:47 UTC |
| Description | In kernel/bpf/hashtab.c in the Linux kernel through 5.13.8, there is an integer overflow and out-of-bounds write when many elements are placed in a single bucket. NOTE: exploitation might be impractical without the CAP_SYS_ADMIN capability. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-190 | CWE-787 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 2.0 | [email protected] | Primary | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:L/AC:L/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| CVE-2021-38166 Linux Kernel Vulnerability in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| Debian -- Security Information -- DSA-4978-1 linux | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | Third Party Advisory |
| kernel/git/bpf/bpf.git - BPF kernel tree | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch, Vendor Advisory |
| [SECURITY] Fedora 34 Update: kernel-5.13.10-200.fc34 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Third Party Advisory |
| [PATCH v2] bpf: Fix integer overflow involving bucket_size - Tatsuhiko Yasumatsu | af854a3a-2127-422b-91ae-364da2661108 | lore.kernel.org | Patch |
| [SECURITY] Fedora 33 Update: kernel-5.13.10-100.fc33 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Third Party Advisory |
| [SECURITY] Fedora 33 Update: kernel-5.13.10-100.fc33 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| FEDORA:FEDORA-2021-f35f45a76f | MITRE | lists.fedoraproject.org | |
| [PATCH v2] bpf: Fix integer overflow involving bucket_size - Tatsuhiko Yasumatsu | MITRE | lore.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 178809 Debian Security Update for linux (DSA 4978-1)
- 184775 Debian Security Update for linux (CVE-2021-38166)
- 198524 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-5096-1)
- 198540 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5113-1)
- 198542 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-5115-1)
- 281818 Fedora Security Update for kernel (FEDORA-2021-f35f45a76f)
- 281819 Fedora Security Update for kernel (FEDORA-2021-b22606e88b)
- 353155 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2022-005
- 610372 Google Pixel Android October 2021 Security Patch Missing
- 6140332 AWS Bottlerocket Security Update for kernel (GHSA-mjfv-5x2p-6cp6)
- 751160 OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2021:3179-1)
- 751170 OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2021:3205-1)
- 900294 CBL-Mariner Linux Security Update for kernel 5.10.52.1
- 900302 CBL-Mariner Linux Security Update for kernel 5.10.57.1
- 900319 CBL-Mariner Linux Security Update for kernel 5.10.60.1
- 900961 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (6581-1)
- 903042 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (5156)
- 906140 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (5156-1)