CVE-2021-38166

kernel: integer overflow and out-of-bounds write in kernel/bpf/hashtab.c when many elements are placed in a single bucket

Published Aug 7, 2021 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-4978-1 linux security update
EUVD EUVD EUVD-2021-24636 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.
Ubuntu USN Ubuntu USN USN-5096-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-5113-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-5115-1 Linux kernel (OEM) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics epss

{'score': 0.00016}

epss

{'score': 0.0008}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 8, 2026, 9:03 PM
Reserved
Aug 7, 2021, 12:00 AM
Status
Analyzed
Published
Aug 7, 2021, 6:15 PM
Modified
Oct 8, 2026, 9:17 PM
Severity
Moderate
Public date
Aug 7, 2021, 12:00 AM