CVE-2021-38166
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
02 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
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 0.31% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 24.4% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-10-08.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-08-07 17:50Z5 YR AGO
- Last updated
- 2026-10-08 21:03Z20 DAYS AGO
- Reserved
- 2021-08-07
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.2
- Document digest
- 4fc1dde83be9b2d62096ebf367f437f6c59dbf61cfb6cdc6eaa5c1999cc18579
05 Affected products
06 References
- lore.kernel.orghttps://lore.kernel.org/bpf/20210806150419.109658-1-th.yasumatsu%40gmail.com/
- git.kernel.orghttps://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=c4eb1f403243fc7bbb7de644db8587c03de36da6
- lists.fedoraproject.orgFEDORA-2021-b22606e88bhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GUVLBJKZMWA3E3YXSH4SZ7BOYGJP4GXP/
- lists.fedoraproject.orgFEDORA-2021-f35f45a76fhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UL6CH5M5PRLMA3KPBX4LPUO6Z73GRISO/
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20210909-0001/
- www.debian.orgDSA-4978https://www.debian.org/security/2021/dsa-4978
07 Fixed in
Arch Linux
- linux Fixed in 5.13.12.arch1-1
- linux-hardened Fixed in 5.13.13.hardened1-1
- linux-lts Fixed in 5.10.60-1
- linux-zen Fixed in 5.13.12.zen1-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- linux Fixed in 5.14.6-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- linux Fixed in 5.14.6-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- linux Fixed in 5.14.6-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- linux-hwe-edge No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- linux-aws-5.0 No fix yet
- linux-aws-5.3 No fix yet
- linux-azure No fix yet
- linux-azure-5.3 No fix yet
- linux-azure-edge No fix yet
- linux-gcp No fix yet
- linux-gcp-5.3 No fix yet
- linux-gcp-edge No fix yet
- linux-gke-4.15 No fix yet
- linux-hwe No fix yet
- linux-hwe-edge No fix yet
- linux-oem No fix yet
- linux-oracle-5.0 No fix yet
- linux-oracle-5.3 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- linux-aws-5.11 Fixed in 5.11.0-1020.21~20.04.2
- linux-aws-5.8 No fix yet
- linux-azure-5.11 Fixed in 5.11.0-1020.21~20.04.1
- linux-azure-5.8 No fix yet
- linux-gcp-5.11 Fixed in 5.11.0-1021.23~20.04.1
- linux-gcp-5.8 No fix yet
- linux-hwe-5.11 Fixed in 5.11.0-38.42~20.04.1
- linux-hwe-5.8 No fix yet
- linux-oem-5.10 Fixed in 5.10.0-1050.52
- linux-oem-5.13 Fixed in 5.13.0-1014.18
- linux-oem-5.6 No fix yet
- linux-oracle-5.11 Fixed in 5.11.0-1020.21~20.04.1
- linux-oracle-5.8 No fix yet
- linux-raspi2 No fix yet
- linux-riscv No fix yet
- linux-riscv-5.11 Fixed in 5.11.0-1021.22~20.04.1
- linux-riscv-5.8 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.