CVE-2021-38166

HIGH CVSS 3.1: 7.8 EPSS 0.32%
Updated Oct 09, 2026
Fedoraproject
Parameter Value
CVSS 7.8 (HIGH)
Affected Versions 5.11 — 5.13.12
Fixed In 5.10.60
Type CWE-787 (Out-of-bounds Write), CWE-190 (Integer Overflow)
Vendor Fedoraproject
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 5

Configuration From (including) Up to (excluding)
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
5.6 5.10.60
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
5.11 5.13.12
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
— —
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
— —