CVE-2021-20194
publishedkernel: heap overflow in __cgroup_bpf_run_filter_getsockopt()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | kernelkernel 5.2 and higher. | Affected | Not stated | redhat |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-348.el8 | ALSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-348.el8 | ELSA-2021-4356 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-moduless390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extraaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrappc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extras390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrax86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfos390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfox86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-s390xs390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-devels390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develx86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-docnoarch | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesppc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-moduless390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesx86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extraaarch64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extrappc64le | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extras390x | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extrax86_64 | Advisory build | 4.18.0-348.el8 | RHSA-2021:4356 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rtsrc | Advisory build | 4.18.0-348.rt7.130.el8 | RHSA-2021:4140 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rtx86_64 | Advisory build | 4.18.0-348.rt7.130.el8 | RHSA-2021:4140 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rt-corex86_64 | Advisory build | 4.18.0-348.rt7.130.el8 | RHSA-2021:4140 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rt-debugx86_64 | Advisory build | 4.18.0-348.rt7.130.el8 | RHSA-2021:4140 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rt-debug-corex86_64 | Advisory build | 4.18.0-348.rt7.130.el8 | RHSA-2021:4140 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rt-debug-debuginfox86_64 | Advisory build | 4.18.0-348.rt7.130.el8 | RHSA-2021:4140 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rt-debug-develx86_64 | Advisory build | 4.18.0-348.rt7.130.el8 | RHSA-2021:4140 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rt-debug-kvmx86_64 | Advisory build | 4.18.0-348.rt7.130.el8 | RHSA-2021:4140 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | kernel | kernel 5.2 and higher. (affected) | redhat · cna |
Weaknesses
1- CWE-20
References
2Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 691965612832828ae1f796020e0d24c613911315fd4a8c37a9e4214f1398f176
- Ingested
- 23 Sep 2026, 07:52:16 UTC
- Source record
- Official CVE record