bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2021-20194

7.8high

linux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases

Reach linux · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

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.

Published 2021-02-23NVD

CVSS 3.1Local · low privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None

What it costs

Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References 2
Review Av26.10.0x86_64False positiveAccepted by a member, 2026-11-12. CVE-2021-20194 is the missing bounds check on the BPF-program-supplied optlen in __cgroup_bpf_run_filter_getsockopt() (introduced in 5.3, fixed upstream in 5.11 by Stanislav Fomichev's "bpf: Return -EFAULT when BPF program returns optlen > max_optlen" / related getsockopt fixes).This build follows it · open the review →

Members of Kernel Kit decide. Sign in if you are one.