CVEvulnerability
CVE-2021-38166
7.8 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2021-08-07
- Last modified
- 2026-10-08
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 4.6 MEDIUM — AV:L/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-190, CWE-787
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.
Affected configurations
• linux linux kernel (>= 5.6 < 5.10.60)
• linux linux kernel (>= 5.11 < 5.13.12)
• fedoraproject fedora 33
• fedoraproject fedora 34
• debian debian linux 11.0
Related
References
- https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=c4eb1f403243fc7bbb7de644db8587c03de36da6 Patch, Vendor Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GUVLBJKZMWA3E3YXSH4SZ7BOYGJP4GXP/ Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UL6CH5M5PRLMA3KPBX4LPUO6Z73GRISO/ Third Party Advisory
- https://lore.kernel.org/bpf/20210806150419.109658-1-th.yasumatsu%40gmail.com/ Patch
- https://security.netapp.com/advisory/ntap-20210909-0001/ Third Party Advisory
- https://www.debian.org/security/2021/dsa-4978 Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=c4eb1f403243fc7bbb7de644db8587c03de36da6 Patch, Vendor Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GUVLBJKZMWA3E3YXSH4SZ7BOYGJP4GXP/ Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UL6CH5M5PRLMA3KPBX4LPUO6Z73GRISO/ Third Party Advisory
- https://lore.kernel.org/bpf/20210806150419.109658-1-th.yasumatsu%40gmail.com/ Patch
- https://security.netapp.com/advisory/ntap-20210909-0001/ Third Party Advisory
- https://www.debian.org/security/2021/dsa-4978 Third Party Advisory