CVE-2021-20194: linux linux_kernel Improper Input Validation
Vulnerability summary
CVE-2021-20194 is a high (CVSS 7.8) Improper Input Validation vulnerability in linux linux_kernel. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 34.2% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 5Timeline
- 23-02-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.40%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.40% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard83 products
- hyperv-daemons-6.18All versions (No fix recorded)
- hyperv-daemons-genericAll versions (No fix recorded)
- linux-aws-6.12< 6.12.65-r0 | All versions (No fix recorded)
- linux-aws-6.12-boot-installedAll versions (No fix recorded)
- linux-aws-6.12-fips-boot-installedAll versions (No fix recorded)
Ubuntu41 products
- linux< 5.4.0-71.79
- linux-aws< 5.4.0-1043.45
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.3All versions (No fix recorded)
- linux-aws-5.4< 5.4.0-1043.45~18.04.1
Redhat2 products
- enterprise_linux8.0
- openshift_container_platform4.4 | 4.5 | 4.6
Debian1 product
- linux< 5.10.19-1
Linux1 product
- linux_kernel> 5.2 (No fix recorded)
5 vendors · 128 products
References
11 links- bugzilla.redhat.com/show_bug.cgi?id=1912683X Refsource MISCREPORTFIXIssue TrackingPatchThird Party Advisory