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

# 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 impractical without the CAP_SYS_ADMIN capability.

CVE-2021-38166 is rated HIGH (7.8), with 10 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (7.8)
- **Affected builds**: 10
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | linux-buildinfo-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-headers-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-image-unsigned-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-modules-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| 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-riscv-headers-5.4.0-24 | 5.4.0-24.28 | — |
| Ubuntu | focal | linux-tools-5.6.0-1007-oem | 5.6.0-1007.7 | — |
