Wind River Support Network

HomeDefectsLIN1021-2419
Fixed

LIN1021-2419 : Security Advisory - linux - CVE-2021-4204

Created: Jan 11, 2022    Updated: Oct 29, 2025
Resolved Date: Aug 6, 2025
Found In Version: 10.21.20.1
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Kernel

Description

An out-of-bounds (OOB) memory access flaw was found in the Linux kernel's eBPF due to an Improper Input Validation. This flaw allows a local attacker with a special privilege to crash the system or leak internal information.

https://nvd.nist.gov/vuln/detail/CVE-2021-4204

========Wind River Notice========
Mitigation:

Customers can use kernel.unprivileged_bpf_disabled sysctl to prevent unprivileged users from being able to use eBPF. This would require a privileged user with CAP_SYS_ADMIN or root to be able to abuse this flaw reducing its attack space.
 
Inspect kernel.unprivileged_bpf_disabled sysctl with the command:
    

cat /proc/sys/kernel/unprivileged_bpf_disabled


The setting of 1 would mean that unprivileged users can not use eBPF, mitigating the flaw.
    

echo 1 > /proc/sys/kernel/unprivileged_bpf_disabled


For more details, please refer to Linux kernel official document:
https://docs.kernel.org/admin-guide/sysctl/kernel.html#unprivileged-bpf-disabled
Live chat
Online