Vulnerabilities · 2021 · Linux
CVE-2021-38166
Linux Kernel vulnerability
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.
Affected products
Linux Kernel, Fedora, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=c4eb1f403243fc7bbb7de644db8 · Patch
- security.netapp.com/advisory/ntap-20210909-0001/ · Third Party Advisory
- www.debian.org/security/2021/dsa-4978 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U
- lore.kernel.org/bpf/20210806150419.109658-1-th.yasumatsu%40gmail.com/
- nvd.nist.gov/vuln/detail/CVE-2021-38166
- cve.org/CVERecord?id=CVE-2021-38166
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.