Live threats

All CVEs / Linux

CVE-2021-20194Linux Kernel

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.4%
probability of exploitation in 30 days · percentile 38
Auth required
Yes
Published
Feb 23, 2021
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-20, CWE-787
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

There is a vulnerability in the linux kernel versions higher than 5.2 (if kernel compiled with config params CONFIG_BPF_SYSCALL=y , CONFIG_BPF=y , CONFIG_CGROUPS=y , CONFIG_CGROUP_BPF=y , CONFIG_HARDENED_USERCOPY not set, and BPF hook to getsockopt is registered). As result of BPF execution, the local user can trigger bug in __cgroup_bpf_run_filter_getsockopt() function that can lead to heap overflow (because of non-hardened usercopy). The impact of attack could be deny of service or possibly privileges escalation.

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux Kernel.

Affected products (CPE)

VendorProductVersions
linuxlinux_kernel> 5.2
redhatopenshift_container_platform4.4
redhatopenshift_container_platform4.5
redhatopenshift_container_platform4.6
redhatenterprise_linux8.0

Official sources

References

Links published by the sources. Open them with care.