7.8
CWE
20 190
Advisory Published
CVE Published
Updated

CVE-2021-20268: Input Validation

First published: Tue Feb 02 2021(Updated: )

A flaw was found in the Linux kernel. Improper Input Validation in the handling of eBPF programs may lead to privilege escalation. References: <a href="https://www.zerodayinitiative.com/advisories/ZDI-21-101/">https://www.zerodayinitiative.com/advisories/ZDI-21-101/</a>

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/kernel<5.10.10
5.10.10
Linux Kernel<5.10.10
debian/linux
5.10.223-1
5.10.234-1
6.1.129-1
6.1.135-1
6.12.22-1
6.12.25-1

Remedy

If loading of BPF programs by unprivileged users is not needed, set the following sysctl, or disable it permanently in /etc/sysctl.d/: kernel.unprivileged_bpf_disabled = 1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-20268?

    CVE-2021-20268 has been classified with a high severity rating due to its potential for privilege escalation.

  • How do I fix CVE-2021-20268?

    To remediate CVE-2021-20268, update the Linux kernel to versions 5.10.10 or newer for Red Hat or the specified patched versions for Debian.

  • Which Linux distributions are affected by CVE-2021-20268?

    CVE-2021-20268 affects multiple Linux distributions including Red Hat and Debian versions prior to the specified patched releases.

  • What type of vulnerability is CVE-2021-20268?

    CVE-2021-20268 is an improper input validation vulnerability in the handling of eBPF programs within the Linux kernel.

  • Can CVE-2021-20268 be exploited remotely?

    Exploitation of CVE-2021-20268 typically requires local access to the system, suggesting it is not directly exploitable remotely.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203