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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | kernel | kernel 5.2 and higher. |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1912683Issue Tracking, Patch, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210326-0003/Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1912683Issue Tracking, Patch, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210326-0003/Third Party Advisory
Timeline
- Published
- Feb 23, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified