CVE-2021-4204: Input Validation

Published Jan 11, 2022
·
Updated

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

Reference: https://www.openwall.com/lists/oss-security/2022/01/11/4

Other sources

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.

Launchpad

Linux Kernel could allow a local authenticated attacker to gain elevated privileges on the system, caused by improper input validation in the handling of eBPF programs. By executing a specially-crafted eBPF program, an authenticated attacker could exploit this vulnerability to gain elevated privileges and execute code in the context of the kernel.

IBM

Affected Software

29 affected componentsFixes available
Linux Linux kernel<5.8.0
Linux Linux kernel=5.8.0
Debian Debian Linux=11.0
redhat Enterprise Linux=9.0
NetApp H300s Firmware
NetApp H300s
NetApp H500s Firmware
NetApp H500s
NetApp H700s Firmware
NetApp H700s
NetApp H410s Firmware
NetApp H410s
NetApp H410c Firmware
NetApp H410c
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H410s Firmware
NetApp H410s
All of the following
NetApp H410c Firmware
NetApp H410c
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
debian/linux<=5.10.223-1, <=5.10.249-1
6.1.159-16.1.162-16.12.63-16.12.73-16.18.12-1

Remediation

Mitigation

Disable unprivileged ebpf with: sudo sysctl kernel.unprivileged_bpf_disabled=1

Event History

Jan 11, 2022
Data Sourced
via Red Hat·07:13 AM
DescriptionSeverityAffected Software
Aug 24, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:01 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:35 AM
RemedyDescriptionSeverityAffected Software
Feb 24, 2026
Data Sourced
via Debian·10:51 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-4204?

CVE-2021-4204 has been classified as a medium severity vulnerability due to its potential to crash systems or leak kernel information.

2

How do I fix CVE-2021-4204?

To fix CVE-2021-4204, update your Linux kernel to version 5.10.223-1 or later.

3

What are the affected versions for CVE-2021-4204?

CVE-2021-4204 affects Linux Kernel versions up to 5.8.0, and also specific versions of Debian Debian Linux and Red Hat Enterprise Linux.

4

Who can exploit CVE-2021-4204?

CVE-2021-4204 can be exploited by a local attacker with special privileges on the affected system.

5

What type of vulnerability is CVE-2021-4204?

CVE-2021-4204 is an out of bounds memory access vulnerability caused by improper input validation in the Linux kernel's eBPF.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203