VULNERABILITY INTELLIGENCE
CVE-2021-20194
CVSS score7.8 HIGH
EPSS probability0.40%
CISA KEVNot currently listed
Published2021-02-23
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
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.
Weakness classification
- secalert@redhat.com: CWE-20
- nvd@nist.gov: CWE-787
Primary references
- secalert@redhat.com — Issue Tracking, Patch, Third Party Advisory
- secalert@redhat.com — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Issue Tracking, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory