Vulnerability · Published Feb 23, 2021 · Assigned by redhat
CVE-2021-20194
High 7.8
In plain English
A high-severity improper input validation in kernel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-348.el8 | ALSA-2021:4356 |
| Debian:12 | linux | 5.10.19-1 | DEBIAN-CVE-2021-20194 |
| Debian:13 | linux | 5.10.19-1 | DEBIAN-CVE-2021-20194 |
| Debian:14 | linux | 5.10.19-1 | DEBIAN-CVE-2021-20194 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-20194 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-20194 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-20194 |
Affected products (as reported)
Weakness: CWE-20
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1912683 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210326-0003/ x_refsource_CONFIRM