CVE-2021-38166Integer Overflow or Wraparound in Linux

Severity
7.8HIGHNVD
OSV6.5OSV5.5
EPSS
0.1%
top 73.75%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 7
Latest updateMay 24

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages5 packages

Also affects: Debian Linux 11.0, Fedora 33, 34

Patches

🔴Vulnerability Details

6
GHSA
GHSA-cg35-fr7p-33m9: In kernel/bpf/hashtab2022-05-24
OSV
linux-oem-5.10 vulnerabilities2021-10-20
OSV
linux, linux-aws, linux-aws-5.11, linux-azure, linux-azure-5.11, linux-gcp, linux-gcp-5.11, linux-hwe-5.11, linux-kvm, linux-oracle, linux-oracle-5.11, linux-raspi vulnerabilities2021-10-19
OSV
CVE-2021-38166: In __htab_map_lookup_and_delete_batch of hashtab2021-10-01
OSV
linux-oem-5.13 vulnerabilities2021-09-29

📋Vendor Advisories

6
Ubuntu
Linux kernel (OEM) vulnerabilities2021-10-20
Ubuntu
Linux kernel vulnerabilities2021-10-19
Ubuntu
Linux kernel (OEM) vulnerabilities2021-09-29
Microsoft
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 impractica2021-08-10
Red Hat
kernel: integer overflow and out-of-bounds write in kernel/bpf/hashtab.c when many elements are placed in a single bucket2021-08-07
CVE-2021-38166 — Integer Overflow or Wraparound | cvebase